Commit Graph

6460 Commits

Author SHA1 Message Date
Aaron J. Seigo
9300be394e setting it directly works as well, and doesn't require dipping into QCoreApplication's API
svn path=/trunk/KDE/kdelibs/; revision=1175312
2010-09-14 17:41:10 +00:00
Aaron J. Seigo
1fc68e3ef9 IMPROVEMENT: add a clicked() slot (which just backends on to animateClick()), and make setChecked a slot like it is in the native widget
svn path=/trunk/KDE/kdelibs/; revision=1175311
2010-09-14 17:34:31 +00:00
Aaron J. Seigo
e4c6d2e92b work around a bug in QGraphicsProxyWidget where, for whatever reason, the line edit isn't getting a focusInEvent when the QGraphicsProxyWidget does. normally i don't like working around bugs like this, but QGraphicsView seems to be bitrotting.
CCMAIL:menard@kde.org

svn path=/trunk/KDE/kdelibs/; revision=1175309
2010-09-14 17:33:26 +00:00
Script Kiddy
48b1b36fa0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1175121
2010-09-14 09:28:31 +00:00
Martin Blumenstingl
ce1b4c7876 Add an unit test for Plasma::ConfigLoader.
REVIEWBOARD: http://reviewboard.kde.org/r/5329/

svn path=/trunk/KDE/kdelibs/; revision=1174971
2010-09-13 18:41:26 +00:00
Aaron J. Seigo
b90221e866 match the type in KCoreConfigSkeleton::ItemIntList
svn path=/trunk/KDE/kdelibs/; revision=1174968
2010-09-13 18:19:39 +00:00
Aaron J. Seigo
2f9828b966 allow popup applets to define the alignment of their popup
svn path=/trunk/KDE/kdelibs/; revision=1174612
2010-09-12 23:54:30 +00:00
Martin Blumenstingl
43b5b80b47 Fixed infinite loops in the config loader if the type of the config element was "point", "rect" or "size".
svn path=/trunk/KDE/kdelibs/; revision=1174512
2010-09-12 18:12:57 +00:00
Aaron J. Seigo
5c72c867eb values less than zero are completely valid
svn path=/trunk/KDE/kdelibs/; revision=1173983
2010-09-11 01:20:40 +00:00
Aaron J. Seigo
f90ee4e28d add the separator in a slightly more appropriate moment
svn path=/trunk/KDE/kdelibs/; revision=1173978
2010-09-11 00:48:15 +00:00
Aaron J. Seigo
8a74b21168 no longer relevant
svn path=/trunk/KDE/kdelibs/; revision=1173977
2010-09-11 00:47:56 +00:00
Manuel Mommertz
404c4b310d improved discardCache function
- if the theme changed recreate the cache
- if the theme is the same just clear it
- on colorscheme change keep svgElementsCache as element names and sizes are unchanged

svn path=/trunk/KDE/kdelibs/; revision=1173948
2010-09-10 23:03:24 +00:00
Aaron J. Seigo
a74c0a9706 syncToAction declaration
svn path=/trunk/KDE/kdelibs/; revision=1173939
2010-09-10 22:31:58 +00:00
Script Kiddy
b14cfb9fa9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1173720
2010-09-10 09:07:22 +00:00
Aaron J. Seigo
6f0631d700 taking an item also requires re-setting the parent
BUG:250420

svn path=/trunk/KDE/kdelibs/; revision=1173601
2010-09-09 20:12:03 +00:00
Aaron J. Seigo
1b826931d3 SVN_SILENT: being picky
svn path=/trunk/KDE/kdelibs/; revision=1173600
2010-09-09 20:10:33 +00:00
Aaron J. Seigo
23ebeb3bf6 * appletActions -> addAppletActions
* containmentActions -> addContainmentActions
* make both take an event for positioning purposes
* make prepareContainmentActions a more generic so that one code path for handling setting up a ContainmentActions plugin is used everywhere; this also shrinks addContainmentActions down to just being a permissions checker
* make PopupApplet use ContainmentPrive::addAppletActions directly; fewer code paths to track, as it allows removal of ContainmentPrivate::showApplContextMenu

svn path=/trunk/KDE/kdelibs/; revision=1173567
2010-09-09 18:37:28 +00:00
Aaron J. Seigo
5bddabe5d8 convenience method for accurately determining where to pop something up
svn path=/trunk/KDE/kdelibs/; revision=1173191
2010-09-08 22:30:21 +00:00
Aaron J. Seigo
d436911241 simplify/clarify the handling of context menu events; ensure it _always_ goes via the context menu event, and clean up the helper methods in the private class
svn path=/trunk/KDE/kdelibs/; revision=1173182
2010-09-08 21:51:22 +00:00
Aaron J. Seigo
e92ac18329 * dynamic_cast -> static_cast; results aren't checked, but are guaranteed
* return a value for context menu events

svn path=/trunk/KDE/kdelibs/; revision=1173181
2010-09-08 21:50:04 +00:00
Aaron J. Seigo
0c07c7dfdd a little more definite
svn path=/trunk/KDE/kdelibs/; revision=1173180
2010-09-08 21:48:46 +00:00
Script Kiddy
2c0b22574d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1172939
2010-09-08 09:13:19 +00:00
Aaron J. Seigo
5ef4d99a6b always call the (virtual) contextMenuEvent
svn path=/trunk/KDE/kdelibs/; revision=1172750
2010-09-08 00:00:19 +00:00
Script Kiddy
103eb8460c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1172375
2010-09-07 06:22:47 +00:00
Chani Armitage
900f8c6318 don't test isEnabled, it can be changed for >1 reason
svn path=/trunk/KDE/kdelibs/; revision=1171799
2010-09-05 08:03:27 +00:00
Aaron J. Seigo
54e3837b10 now that handles are children of the applet, this shouldn't even be necessary
BUG:250137

svn path=/trunk/KDE/kdelibs/; revision=1171752
2010-09-05 00:33:35 +00:00
Allen Winter
91f76a12f3 turn floating point constants into qreal's when passing them to qMin or qMax.
found when testing the new Krazy plugin for checking this condition.


svn path=/trunk/KDE/kdelibs/; revision=1171729
2010-09-04 23:07:23 +00:00
Aaron J. Seigo
3383a999c8 a little less noise
svn path=/trunk/KDE/kdelibs/; revision=1171719
2010-09-04 22:50:50 +00:00
Aaron J. Seigo
c769e104bd declare the metatype
svn path=/trunk/KDE/kdelibs/; revision=1171714
2010-09-04 22:37:29 +00:00
Albert Astals Cid
a3344d8f51 const &
svn path=/trunk/KDE/kdelibs/; revision=1171434
2010-09-03 21:14:32 +00:00
Aaron J. Seigo
4d81dce65e make package copyable and assignable
svn path=/trunk/KDE/kdelibs/; revision=1171413
2010-09-03 19:44:28 +00:00
Aaron J. Seigo
931ce93e03 whoops; his patch and mine colided and this include header got committed by accident
svn path=/trunk/KDE/kdelibs/; revision=1171409
2010-09-03 19:26:47 +00:00
Aaron J. Seigo
f02786e31a SVN_SILENT: ease giulio's pain in generate diffs
svn path=/trunk/KDE/kdelibs/; revision=1171395
2010-09-03 18:09:18 +00:00
Andreas Hartmetz
baa2c64f61 Only call into the larger framework when we're fully initialized; the framework called back into ItemBackground when member variables were not initialized, causing valgrind warnings.
svn path=/trunk/KDE/kdelibs/; revision=1171385
2010-09-03 16:39:37 +00:00
Aaron J. Seigo
99b57b9c65 allow runners to signal that matching should be suspended for them
svn path=/trunk/KDE/kdelibs/; revision=1171157
2010-09-02 22:18:03 +00:00
Script Kiddy
6307f8248f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1170947
2010-09-02 10:45:35 +00:00
Artur Duque de Souza
4633294b1c Fix typo on docs
SVN_SILENT

svn path=/trunk/KDE/kdelibs/; revision=1169264
2010-08-28 21:46:44 +00:00
Marco Martin
ac2976dbac store the size for form factor only if not empty
svn path=/trunk/KDE/kdelibs/; revision=1168893
2010-08-27 19:27:19 +00:00
Script Kiddy
eef56f04ae SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1168237
2010-08-26 08:31:05 +00:00
Aaron J. Seigo
6aa1aab52b make the checks consistent with the rest of the methods: check the count of d->pages, not the tabwidget proxy; use value() instead of [] as it is protected against OOB indexes
BUG:248976

svn path=/trunk/KDE/kdelibs/; revision=1168059
2010-08-26 01:22:45 +00:00
Marco Martin
db7227e7f4 setStorageEnabled() is a way more sensible function name
svn path=/trunk/KDE/kdelibs/; revision=1168023
2010-08-25 21:35:40 +00:00
Aaron J. Seigo
d3a9a2fc52 with DataContainer::store() now protected against bogus calls by checking to see if storage is enabled, we can unconditionally mark items as needed to be stored; this way if an item is later marked for storage, it will still work. this was a flaw in my last commit.
svn path=/trunk/KDE/kdelibs/; revision=1168014
2010-08-25 21:21:04 +00:00
Aaron J. Seigo
3af1f71492 really don't store things that shouldn't be stored.
svn path=/trunk/KDE/kdelibs/; revision=1168012
2010-08-25 21:17:54 +00:00
Aaron J. Seigo
d071b6e301 remove any stale config data to avoid accidentally merging old and existing containment configs
svn path=/trunk/KDE/kdelibs/; revision=1167946
2010-08-25 18:54:22 +00:00
Jaime Torres Amate
57bbfe755c delete some uneeded if (pointer not null)
http://reviewboard.kde.org/r/5021/

svn path=/trunk/KDE/kdelibs/; revision=1167869
2010-08-25 14:48:41 +00:00
Aaron J. Seigo
cc942a894c IMPROVEMENT: automatically repaint when the svg changes beneath it
svn path=/trunk/KDE/kdelibs/; revision=1167531
2010-08-24 20:40:43 +00:00
Aaron J. Seigo
70fd5a6ae4 give init() a nicer default implmementation by calling reloadConfiguration
svn path=/trunk/KDE/kdelibs/; revision=1167529
2010-08-24 20:38:35 +00:00
Marco Martin
91e0556fed calculte intermediate values that actually make sense
svn path=/trunk/KDE/kdelibs/; revision=1167476
2010-08-24 18:21:19 +00:00
Script Kiddy
fe45dc5595 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1167287
2010-08-24 08:59:22 +00:00
Script Kiddy
ed165f8110 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1166957
2010-08-23 07:34:11 +00:00