diff options
author | Tero Ahola <tero.ahola@digia.com> | 2012-06-20 13:23:28 +0300 |
---|---|---|
committer | Tero Ahola <tero.ahola@digia.com> | 2012-06-20 15:18:21 +0300 |
commit | ed36c132b8e679eb87fc8f9db8673b12abecfce6 (patch) | |
tree | 02e9e74a5acf776ca64cf480395f2d170b87c496 /plugins/declarative/declarativepieseries.h | |
parent | 1d95213abff9df2f476b7016f420b9cdc4bd450c (diff) |
Implemented BarSeries::append, insert, remove and clear to QML API
Diffstat (limited to 'plugins/declarative/declarativepieseries.h')
-rw-r--r-- | plugins/declarative/declarativepieseries.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/declarative/declarativepieseries.h b/plugins/declarative/declarativepieseries.h index eae14a5c..fb9fdf5b 100644 --- a/plugins/declarative/declarativepieseries.h +++ b/plugins/declarative/declarativepieseries.h @@ -45,7 +45,7 @@ public: Q_INVOKABLE QPieSlice *at(int index); Q_INVOKABLE QPieSlice *find(QString label); Q_INVOKABLE QPieSlice *append(QString label, qreal value); - Q_INVOKABLE bool remove(int index); + Q_INVOKABLE bool remove(QPieSlice *slice); Q_INVOKABLE void clear(); public: |