summaryrefslogtreecommitdiffstats
path: root/src/qchartview.h
diff options
context:
space:
mode:
authorsauimone <samu.uimonen@digia.com>2012-03-26 16:27:18 +0300
committersauimone <samu.uimonen@digia.com>2012-03-26 16:27:18 +0300
commit3294d4ff177ce3f5f479b80d0bbefb6ee48d17c4 (patch)
tree40df760c3a83be7428e9fa29352f09486da42c22 /src/qchartview.h
parent7d3fdc2fff6399a4d270c8b91d1a60389d60d32a (diff)
build fix
Diffstat (limited to 'src/qchartview.h')
-rw-r--r--src/qchartview.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qchartview.h b/src/qchartview.h
index c7d286fa..fcc5b674 100644
--- a/src/qchartview.h
+++ b/src/qchartview.h
@@ -59,7 +59,9 @@ public:
QChartAxis* axisX() const;
QChartAxis* axisY() const;
- QLegend* legend() const;
+ QLegend &legend() const;
+ QLegend* takeLegend();
+ void giveLegend(QLegend* legend);
protected:
void mousePressEvent(QMouseEvent *event);