Commit Graph

907 Commits

Author SHA1 Message Date
Marco Martin
14c3235a17 fix resolution of paths w/ only a packageRoot+name 2011-07-14 14:53:57 +02:00
Montel Laurent
ecc8692c33 Pedantic 2011-07-13 21:46:19 +02:00
Aaron Seigo
b29c73f2e1 paint in parent coords, do events in local coords
this makes clicking on the window previews accurate (e.g. clicking at the top of them works)
also some code consistency when iterating over the collections and some cleanups
2011-07-11 21:48:56 +02:00
Aaron Seigo
6150c12907 prevent triggering a crash in Qt's text layouting
also simplifies code as a fun side effect.
2011-07-11 21:48:56 +02:00
Aaron Seigo
f056d71baa simplify 2011-07-11 21:48:56 +02:00
Aaron Seigo
656d6df486 --deprecatedUsage; 2011-07-11 21:48:56 +02:00
Dawit Alemayehu
c25f3e4cab Fixed -Wunused-parameter compiler warning.
REVIEW: 101881
2011-07-11 12:45:50 -04:00
Aaron Seigo
66142028c0 move these around nicely 2011-06-03 13:13:19 +02:00
Aaron Seigo
dd122bc011 move applet handle handling (*cough*) to applet instead of contaiment
much cleaner and eliminates the possibility of odd crashes

BUG:253421
2011-05-28 00:23:37 +02:00
Aaron Seigo
13adc2ddd2 remove some dead code 2011-05-26 23:13:44 +02:00
Frank Reininghaus
a85aa04ffd Fix storing binary data in StorageThread::save()
This makes the unit test plasma/tests/storagetest pass again :-)
2011-05-21 14:38:08 +02:00
Jeremy Whiting
4911e4b75c Add QByteArray and QString wrappers around + as needed.
Fixes kdelibs building with Qt 4.8
2011-05-11 21:46:35 -06:00
Montel Laurent
640fb68785 Fix mem leak 2011-05-06 21:51:55 +02:00
Aaron Seigo
dffb61989e set the images/ dir to be required depending on being a "full" package or a single file 2011-05-06 11:41:37 +02:00
Aaron Seigo
faa9bd1eb2 remove close support, clean up code a bit while in there 2011-05-04 14:12:33 +02:00
Aaron Seigo
4a1ed3e6aa don't paint the icon highlight if there is no icon 2011-05-04 14:10:34 +02:00
Matthias Fuchs
d9568fb2c5 Adds a setTabHighlighted and a isTabHighligted method to Plasma::TabBar.
When a tab is highlighted the text is drawn with a different color.
The icon will then have an active effect and a pressed button will be drawn at its background.

REVIEW:101264
2011-05-04 13:01:30 +02:00
Kevin Ottens
f56a273bac Include config-plasma.h to get PLASMA_NO_SOLID defined 2011-05-03 11:54:19 +02:00
Aaron Seigo
b0ef0e7991 wallpaper thrading simplifications 2011-04-30 17:17:44 +02:00
Marco Martin
a6fa660809 bindings for dataengine in DeclarativeWidget 2011-04-30 12:43:29 +02:00
Marco Martin
6ebff42e6d if (!QCoreApplication::closingDown()) 2011-04-29 11:17:31 +02:00
Aaron Seigo
32e3e6cf9c don't touch the db if qapp is closing down 2011-04-29 11:17:31 +02:00
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