diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-08-20 02:26:06 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-08-24 00:27:34 (GMT) |
commit | 0d2e88f417275a85b4e22a274fa04bc80742382e (patch) | |
tree | 2ab7bdcfe923d50ad2d16b7cab10df778778d9af /src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h | |
parent | d405aa6510514ce02b312994db55c305bde60285 (diff) | |
download | Qt-0d2e88f417275a85b4e22a274fa04bc80742382e.zip Qt-0d2e88f417275a85b4e22a274fa04bc80742382e.tar.gz Qt-0d2e88f417275a85b4e22a274fa04bc80742382e.tar.bz2 |
QDeclarativeVisualItemModel code cleanup.
Remove unused function. Set abstract item model to 0 after disconnecting,
in line with the other model types.
Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h b/src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h index d5c0de2..50d2c53 100644 --- a/src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h +++ b/src/declarative/graphicsitems/qdeclarativevisualitemmodel_p.h @@ -79,7 +79,6 @@ public: virtual ReleaseFlags release(QDeclarativeItem *item) = 0; virtual bool completePending() const = 0; virtual void completeItem() = 0; - virtual QVariant evaluate(int index, const QString &expression, QObject *objectContext) = 0; virtual QString stringValue(int, const QString &) { return QString(); } virtual int indexOf(QDeclarativeItem *item, QObject *objectContext) const = 0; @@ -122,7 +121,6 @@ public: virtual bool completePending() const; virtual void completeItem(); virtual QString stringValue(int index, const QString &role); - virtual QVariant evaluate(int index, const QString &expression, QObject *objectContext); virtual int indexOf(QDeclarativeItem *item, QObject *objectContext) const; @@ -177,7 +175,6 @@ public: bool completePending() const; void completeItem(); virtual QString stringValue(int index, const QString &role); - QVariant evaluate(int index, const QString &expression, QObject *objectContext); int indexOf(QDeclarativeItem *item, QObject *objectContext) const; |