summaryrefslogtreecommitdiffstats
path: root/src/declarative/extra/qmlsqlquery.h
diff options
context:
space:
mode:
authorIan Walters <ian.walters@nokia.com>2009-06-18 00:29:55 (GMT)
committerIan Walters <ian.walters@nokia.com>2009-06-18 00:29:55 (GMT)
commitaa0ef24ecdd2007d90ec4086a267a2ae930ae01e (patch)
treebb0720e9d08d151727e27674a5b6da97a549070f /src/declarative/extra/qmlsqlquery.h
parent3bb2e76cc9c14eb1733c0c9cf6fdc5a7f91fa1bf (diff)
downloadQt-aa0ef24ecdd2007d90ec4086a267a2ae930ae01e.zip
Qt-aa0ef24ecdd2007d90ec4086a267a2ae930ae01e.tar.gz
Qt-aa0ef24ecdd2007d90ec4086a267a2ae930ae01e.tar.bz2
Use QContiguousCache for cached queries
By using QContiguousCache, and upper limit on cache size is assured. Also caching is set to occur in the background when possible. This should reduce any impact on animation performance.
Diffstat (limited to 'src/declarative/extra/qmlsqlquery.h')
-rw-r--r--src/declarative/extra/qmlsqlquery.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/extra/qmlsqlquery.h b/src/declarative/extra/qmlsqlquery.h
index dca3596..7aa0709 100644
--- a/src/declarative/extra/qmlsqlquery.h
+++ b/src/declarative/extra/qmlsqlquery.h
@@ -123,6 +123,9 @@ public:
public slots:
void exec();
+protected:
+ void timerEvent(QTimerEvent *);
+
private slots:
void resetBinds();
void resetQuery();