Commit Graph

6096 Commits

Author SHA1 Message Date
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
Luboš Luňák
5de8d333bf QWidget::setMinimumSize: (/Plasma::Dialog) Negative sizes (-1,-1) are not possible
svn path=/trunk/KDE/kdelibs/; revision=1166625
2010-08-22 09:06:37 +00:00
Marco Martin
d05a127b4a connect to the signal not to a slot
svn path=/trunk/KDE/kdelibs/; revision=1166078
2010-08-20 19:01:59 +00:00
Marco Martin
44d2c0b531 forward urlchaged signal
back forward reload slots
to make it more usable from javascript and to have the api simiar to qgraphicswebview

svn path=/trunk/KDE/kdelibs/; revision=1166067
2010-08-20 18:19:11 +00:00
Carlo Segato
4b8bffc1f8 use forwardslashes instead of QDir::separator() even on windows, otherwise we get a path with mixed slashes
svn path=/trunk/KDE/kdelibs/; revision=1165684
2010-08-19 22:55:15 +00:00
Vitor Boschi da Silva
f2a2d34a48 fixes the reorderPlots apidox
svn path=/trunk/KDE/kdelibs/; revision=1165477
2010-08-19 13:08:49 +00:00
Marco Martin
ef873a97a6 FEATURE: add a new optional component in tooltip data: a qgraphicswidget that will be used to position the tooltip instead of the registered widget, if present, it's useful when you want a different position, like the taskbar group tooltips
svn path=/trunk/KDE/kdelibs/; revision=1165246
2010-08-18 16:33:32 +00:00
Marco Martin
c53542ca7d add accelerators to keys, also bind esc with the message overlay destruction
svn path=/trunk/KDE/kdelibs/; revision=1164893
2010-08-17 21:46:00 +00:00
Marco Martin
0d6a38b954 add Qt::TextShowMnemonic when painting text
svn path=/trunk/KDE/kdelibs/; revision=1164885
2010-08-17 21:04:52 +00:00
Brian David Pritchett
9dffd9dd77 Revert a commit that did not work.
svn path=/trunk/KDE/kdelibs/; revision=1164609
2010-08-17 09:28:46 +00:00
Marco Martin
bc6d40852b animate hide of the focus indicator when a button is pressed
svn path=/trunk/KDE/kdelibs/; revision=1164481
2010-08-16 21:16:53 +00:00
Brian David Pritchett
4fdf87b54f Added akonadi storage plugin loading.
svn path=/trunk/KDE/kdelibs/; revision=1164453
2010-08-16 19:02:03 +00:00
Script Kiddy
a2d0e31e23 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdelibs/; revision=1163506
2010-08-14 07:31:18 +00:00
Marco Martin
cee5caa79b more documentation
svn path=/trunk/KDE/kdelibs/; revision=1163229
2010-08-13 15:08:50 +00:00
Marco Martin
0d2681a23d the monitor preview becomes optional, with Wallpaper::setPreviewDuringConfiguration() (default off)
image uses it just for slideshows

together with the previous related commits,
FEATURE: new appearance to the background config dialog

svn path=/trunk/KDE/kdelibs/; revision=1162831
2010-08-12 19:51:39 +00:00