Commit Graph

885 Commits

Author SHA1 Message Date
Aaron Seigo
858a19991e don't de-queue on force immdiate update 2011-04-29 11:17:31 +02:00
Marco Martin
6d6826e603 fix delete; test for it 2011-04-29 11:17:31 +02:00
Aaron Seigo
6971ddaa38 more style issues 2011-04-29 11:17:31 +02:00
Aaron Seigo
e08799bab1 less access to client->, set results back correctly 2011-04-29 11:17:31 +02:00
Aaron Seigo
da4833a49f retrieval works 2011-04-29 11:17:30 +02:00
Aaron Seigo
33ed49a303 use weak pointers 2011-04-29 11:17:30 +02:00
Aaron Seigo
ba985fcda5 take care to set a result 2011-04-29 11:17:30 +02:00
Aaron Seigo
fbfc9e91e9 prevent autostarting 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
a1bd4a3dc6 be sure to set a result 2011-04-29 11:17:30 +02:00
Aaron Seigo
4ea98632da paranoia 2011-04-29 11:17:30 +02:00
Aaron Seigo
1d550b15ea global transaction 2011-04-29 11:17:29 +02:00
Aaron Seigo
9d337a0c01 nicer name 2011-04-29 11:17:29 +02:00
Aaron Seigo
dfeb2c62ec insertions 2011-04-29 11:17:29 +02:00
Aaron Seigo
7cd768fd6f storing with new table 2011-04-29 11:17:29 +02:00
Marco Martin
32dbc7335e template qthread that will do the actual storage 2011-04-29 11:17:29 +02:00
Aaron Seigo
15529aefcf getter for data 2011-04-29 11:17:29 +02:00
Aaron Seigo
2bca3c88d9 calling next() is good 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
0fff74cec0 more careful with the client name 2011-04-29 11:17:28 +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
67dbcb59b8 create a single timer for storage event compression 2011-04-29 11:17:28 +02:00
Aaron Seigo
fbb50df067 ensure that the containment configChanged() routine always happens 2011-04-25 16:43:48 +02:00
Aaron Seigo
3e3bfe89b0 protect with a weak pointer
BUG:268752
2011-03-17 16:48:14 +01:00
Aaron Seigo
5a3c398e5a delay url setting until initialized 2011-03-03 07:52:13 +01:00
Aaron Seigo
3924d218a4 cache the values for size and resize method
the main advantage to this is that only when the object signals a change
will the values be re-checked, which means that the wallpaper pointer
can be deleted behind our backs and we won't care
2011-02-16 11:42:38 -08:00
Marco Martin
beb1f9b6cf use pointers instead of string comparison
use pointers instead of string comparison to figure out what button was pressed
2011-02-09 20:35:15 +01:00
Marco Martin
11d3b789a4 emit cancel signal
both when clicking cancel and pressing esc
CCBUG:265738
2011-02-09 00:11:25 +01:00
Aaron Seigo
2b2f482ecd save/track/restore ItemStatus properly 2011-02-04 17:52:03 -08:00
Aaron J. Seigo
2a916cb089 avoid (non-critical) warnings
BUG:264069

svn path=/trunk/KDE/kdelibs/; revision=1217570
2011-01-27 22:18:32 +00:00
Marco Martin
dcd645696b immediately hide the focusindicator if the theme follows native style
svn path=/trunk/KDE/kdelibs/; revision=1216376
2011-01-22 22:02:23 +00:00
Marco Martin
0ac2c5b81f if the theme wants to use the system style, disable completely any focusindicator
svn path=/trunk/KDE/kdelibs/; revision=1216322
2011-01-22 17:49:46 +00:00
Marco Martin
7a1835cf01 check if the efect is active in the effectwatcher ctor, this avoids an useless themechanged signal, that among other things clears framesvg cache, forgetting the size of the other prefixes, that's why the pager was looking corrupted
This problem asn't in branch since effectwatcher is only in trunk

svn path=/trunk/KDE/kdelibs/; revision=1215920
2011-01-20 09:41:10 +00:00
Marco Martin
fc8f66f498 with a new singleshot don't adjust the extender size due to a sub widget resize until the next turn of the eventloop: avoids container that resizes the ontent that resizes the container loops
svn path=/trunk/KDE/kdelibs/; revision=1215443
2011-01-18 19:03:33 +00:00
Marco Martin
091d781dc5 * don't reset the watched properties: it breks kwin
* check for the blur property only on PropertyNotify and if is on the property we actually want

svn path=/trunk/KDE/kdelibs/; revision=1214853
2011-01-16 17:25:28 +00:00
Christian Ehrlicher
543168555b Compile on non-X11 systems...
svn path=/trunk/KDE/kdelibs/; revision=1214795
2011-01-16 12:20:20 +00:00
Marco Martin
7df2e103c5 a new private class EffectWatcher, used to be signaled when a particular KWin effect is enabled/disabled.
in future could become public but only after has been proved is really correct

svn path=/trunk/KDE/kdelibs/; revision=1214633
2011-01-15 17:51:55 +00:00
Patrick Spendrin
c16bfacb7b forward port r1214358
svn path=/trunk/KDE/kdelibs/; revision=1214362
2011-01-14 11:23:22 +00:00
Aaron J. Seigo
e3ab2c5924 * test the prefix equiv at the right place
* prevent unecessary calls on setCustomGeometry by comparing the new and existing geom

svn path=/trunk/KDE/kdelibs/; revision=1214252
2011-01-13 19:49:27 +00:00
Aaron J. Seigo
fd0ad0eda2 don't do a bunch of updates if the prefix remains the same
BUG:263049

svn path=/trunk/KDE/kdelibs/; revision=1214249
2011-01-13 19:35:01 +00:00
Aaron J. Seigo
cd4e26f59f FEATURE: configurable default containment plugin name
svn path=/trunk/KDE/kdelibs/; revision=1213879
2011-01-12 00:05:13 +00:00
Aaron J. Seigo
3af6a91dd7 * give Corona a proper private header in private/
* don't create the shortcuts dialog until it is actually needed
* unify the handling of the action collections with a list of smart pointers

svn path=/trunk/KDE/kdelibs/; revision=1213847
2011-01-11 20:45:24 +00:00
Aaron J. Seigo
425b474390 the dptr will be deleted before ~QObject is run, so first disconnect
the QAction (if any) in the dptr dtor so that when the QAction is deleted,
we don't end up calling into a deleted object
BUG:262813

svn path=/trunk/KDE/kdelibs/; revision=1213630
2011-01-11 02:55:55 +00:00
Marco Martin
393d207aca use an ulong to cast this, should be at the same size as pointer on both 32 and 64 bit systems
svn path=/trunk/KDE/kdelibs/; revision=1212577
2011-01-07 13:53:43 +00: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
6d042ac25a close the strage db when the job is over.
there were dangling file pointers before that could crash plasma when they go beyond the maximum allowed limit
BUG:259833
CCBUG:247798
BUG:235051


svn path=/trunk/KDE/kdelibs/; revision=1212407
2011-01-06 21:43:51 +00:00
Marco Martin
79bbb39468 initialize
svn path=/trunk/KDE/kdelibs/; revision=1212108
2011-01-05 18:54:37 +00:00