Aaron Seigo
33ed49a303
use weak pointers
2011-04-29 11:17:30 +02:00
Marco Martin
88956b1539
get rid of the refcounted db connection
2011-04-29 11:17:30 +02:00
Marco Martin
f358f3de6d
move all the sql query in an own thread
2011-04-29 11:17:30 +02:00
Marco Martin
084b7a1226
make the thread working
2011-04-29 11:17:30 +02:00
Aaron Seigo
15529aefcf
getter for data
2011-04-29 11:17:29 +02:00
Aaron Seigo
636f351d3c
typical zero parent support
2011-04-29 11:17:29 +02:00
Aaron Seigo
549f988fee
use a QVariantHash as well as a transaction for saving
2011-04-29 11:17:28 +02:00
Marco Martin
b43fc29221
use a single database connection per thread, anchieve that with a static QThreadStorage
...
each thread data will have a refcounted database instance
svn path=/trunk/KDE/kdelibs/; revision=1212521
2011-01-07 10:51:29 +00:00
Marco Martin
0c09d4b058
use a pointer since to remove a connection is necesary that the qsqldatabase is deleted, ouch
...
svn path=/trunk/KDE/kdelibs/; revision=1212424
2011-01-06 23:26:14 +00:00
Marco Martin
72110136bc
the table name depends from the plugin name of who is using storage
...
svn path=/trunk/KDE/kdelibs/; revision=1188938
2010-10-23 12:04:24 +00:00
Marco Martin
4dd1c28b6d
fix the wreckage caused by last commit
...
bad Aaron, no cookie :)
can you check if those changes make sense upon what your patch ws supposed to be?
CCMAIL:aseigo@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1188445
2010-10-22 12:29:35 +00:00
Marco Martin
b0472dc212
port the kconfig based storage service to Sqlite
...
make save and restore methods of datasource private for now
pu this early so performance/disk usage etc can be tested
svn path=/trunk/KDE/kdelibs/; revision=1181650
2010-10-01 16:58:15 +00:00
Laurent Montel
d443bee9f4
Fix compile
...
svn path=/trunk/KDE/kdelibs/; revision=1149276
2010-07-13 05:55:31 +00:00
Brian David Pritchett
53a227a43f
This adds the first iteration of data caching for dataengines.
...
svn path=/trunk/KDE/kdelibs/; revision=1149185
2010-07-12 20:51:12 +00:00