Marco Martin
23cca9a318
source or key parameters in retrieve
...
expire action
svn path=/trunk/KDE/kdelibs/; revision=1188661
2010-10-22 21:22:15 +00:00
Aaron J. Seigo
ab99a3a048
moderately less ugly
...
svn path=/trunk/KDE/kdelibs/; revision=1188638
2010-10-22 19:52:05 +00:00
Aaron J. Seigo
681452d32d
shouldn't have been commented out
...
svn path=/trunk/KDE/kdelibs/; revision=1188637
2010-10-22 19:43:58 +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
David Faure
f241ee6ac7
themedwidgetinterface_p.h:86:43: error: incomplete type 'QApplication' used in nested name specifier
...
svn path=/trunk/KDE/kdelibs/; revision=1188421
2010-10-22 10:59:45 +00:00
Aaron J. Seigo
a793185b21
consolidate all the theming (palette, fonts) code for widgets into a private interface: ThemeWidgetInterface. have the relevant *Private classes inherit from it and all the tricky logic is now in one place and consistent.
...
svn path=/trunk/KDE/kdelibs/; revision=1188314
2010-10-22 00:25:17 +00:00
Marco Martin
22d9baccef
use KIO to access the remote imports
...
svn path=/trunk/KDE/kdelibs/; revision=1188124
2010-10-21 13:18:50 +00:00
Marco Martin
6ad3371e9a
scroll around while dragging items on the extender, to make possible drop the item on any point
...
svn path=/trunk/KDE/kdelibs/; revision=1186504
2010-10-16 17:41:59 +00:00
Marco Martin
32e10a77d2
resize to the proper size when an item is collapsed/restored
...
svn path=/trunk/KDE/kdelibs/; revision=1186431
2010-10-16 11:35:16 +00:00
Aaron J. Seigo
fc07638805
correct signature
...
svn path=/trunk/KDE/kdelibs/; revision=1185879
2010-10-14 13:04:53 +00:00
Kevin Ottens
c0f66faad7
Allow to build libplasma without KIO. Only issue is that the
...
copying/moving/removal of folders is defunct (so is the package
install/uninstall).
svn path=/trunk/KDE/kdelibs/; revision=1185865
2010-10-14 12:27:15 +00:00
Stephen Kelly
f57dd2eb1c
Fix build.
...
svn path=/trunk/KDE/kdelibs/; revision=1185860
2010-10-14 12:16:56 +00:00
Aaron J. Seigo
6be91bbbd4
the slashes are superfluous
...
svn path=/trunk/KDE/kdelibs/; revision=1185857
2010-10-14 12:10:02 +00:00
Aaron J. Seigo
2f491094c0
* move SvgPrivate into a separate header
...
* introduce a hack around setImagePath not being virtual but reimplemented in FrameSvg. (oi vey!)
svn path=/trunk/KDE/kdelibs/; revision=1185843
2010-10-14 11:43:01 +00:00
Marco Martin
bdcf7578ee
use a weak pointer
...
svn path=/trunk/KDE/kdelibs/; revision=1185272
2010-10-12 19:33:15 +00:00
Marco Martin
b3b18e5d7e
make sure to not call the delayed itemaddedevent twice: the queue becomes an hash.
...
the counterindication is that the order now is kinda indeterministinc but *shouldn't* give problems
svn path=/trunk/KDE/kdelibs/; revision=1185200
2010-10-12 14:36:46 +00:00
Marco Martin
7306716038
IMPROVEMENT: the whole extender scrolls when there is not enough room anymore.
...
the extendergroup doen't have a scrollwidget anymore
still needs perfecting but is already less buggy and prettier
svn path=/trunk/KDE/kdelibs/; revision=1184907
2010-10-11 19:17:19 +00:00
David Faure
eb9af2fdf3
prefix the last unittests (that use a macro, at least)
...
svn path=/trunk/KDE/kdelibs/; revision=1182756
2010-10-05 14:47:38 +00:00
Aaron J. Seigo
4eafdd6b27
constify
...
svn path=/trunk/KDE/kdelibs/; revision=1182545
2010-10-04 21:48:06 +00:00
Marco Martin
876b399640
remove eventual existing row wit the key before inserting a new row
...
svn path=/trunk/KDE/kdelibs/; revision=1181670
2010-10-01 18:02:13 +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
4369d1df2b
Make it compile
...
svn path=/trunk/KDE/kdelibs/; revision=1180337
2010-09-27 18:16:27 +00:00
Aaron J. Seigo
4160e73393
IMPROVEMENT: share FrameData between FrameSvg objects wherever possible; limits pixmap usage
...
svn path=/trunk/KDE/kdelibs/; revision=1180317
2010-09-27 17:19:06 +00:00
Aaron J. Seigo
b5b4ea581a
allow setting a bogus desktop value on startup; prevents containments kept around due to desktops disappearing on us from becoming activity spawners
...
BUG:252264
svn path=/trunk/KDE/kdelibs/; revision=1179185
2010-09-24 19:03:45 +00:00
Aaron J. Seigo
9ecae806dd
when hidden, don't bother to keep animating the move. the tooltip will be repositioned on show anyways.
...
svn path=/trunk/KDE/kdelibs/; revision=1179173
2010-09-24 18:19:58 +00:00
Aaron J. Seigo
4946385727
avoid some unecesary calls, write an if as a switch
...
svn path=/trunk/KDE/kdelibs/; revision=1178749
2010-09-23 20:24:17 +00:00
Aaron J. Seigo
f4bfd900a3
the header part of that commit
...
svn path=/trunk/KDE/kdelibs/; revision=1178169
2010-09-22 09:01:31 +00:00
Aaron J. Seigo
86794f694f
* make custom prefixes work again
...
* make non-frame based indicators work (sliders now show focus again)
* shave ~8ms off of creation time (bringing it down to ~1ms)
* allow sharing of the FrameSvg object
* constify and sanitize the previously existing constructor
* use QStringBuilder
svn path=/trunk/KDE/kdelibs/; revision=1178168
2010-09-22 09:01:01 +00:00
Andreas Hartmetz
18a7527784
Compile again, remove the duplicates.
...
svn path=/trunk/KDE/kdelibs/; revision=1177261
2010-09-19 22:18:45 +00:00
Marco Martin
ec9a6ad1ba
FEATURE: allow to add actions with only text in the extender titlebar, they will appear as push buttons
...
svn path=/trunk/KDE/kdelibs/; revision=1177247
2010-09-19 21:28:39 +00:00
Andreas Hartmetz
83a9fc7f21
compile
...
svn path=/trunk/KDE/kdelibs/; revision=1177240
2010-09-19 20:48:01 +00:00
Aaron J. Seigo
fd6d284ab7
install to the right location
...
svn path=/trunk/KDE/kdelibs/; revision=1175933
2010-09-16 07:35:35 +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
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
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
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
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
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
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
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
Marco Martin
2735f78f51
block events in AppletOverlayWidget::mousePressEvent
...
svn path=/trunk/KDE/kdelibs/; revision=1160687
2010-08-08 19:57:11 +00:00
Aaron J. Seigo
9fff3dfc06
turn another protected slot into a private slot
...
Brian: please be sure not to introduce any methods into the public API of libplasma that are only used for internals. :)
CCMAIL:batenkaitos@gmail.com
svn path=/trunk/KDE/kdelibs/; revision=1159725
2010-08-06 02:28:50 +00:00
Aaron J. Seigo
11c5c88c68
make this a private slot
...
svn path=/trunk/KDE/kdelibs/; revision=1159724
2010-08-06 02:22:44 +00:00
Aaron J. Seigo
7e606b075a
--compilerWarnings;
...
svn path=/trunk/KDE/kdelibs/; revision=1159722
2010-08-06 02:20:06 +00:00
Aaron J. Seigo
35e376b0b8
give datanegines their own package description; gets rid of various bits of cruft inherited unduly from PlasmoidPackage as well as adds a services/ dir for .operation files.
...
svn path=/trunk/KDE/kdelibs/; revision=1159709
2010-08-06 01:28:09 +00:00
Aaron J. Seigo
36c90e7137
prep DataEngine::Private for direct loading of packages, ala plasmoids
...
svn path=/trunk/KDE/kdelibs/; revision=1159707
2010-08-06 01:26:11 +00:00
Jacopo De Simoi
1cef7c2a8d
Implement mask caching for a number of different sizes.
...
The number of cached masks is now capped in a rather brutal way, in practice it should work
well for most cases.
svn path=/trunk/KDE/kdelibs/; revision=1159649
2010-08-05 21:15:18 +00:00
Aaron J. Seigo
d8078999a4
if someone jerked us around behind our back, then remove record of the cached version and try again
...
CCBUG:233051
svn path=/trunk/KDE/kdelibs/; revision=1158867
2010-08-04 01:00:26 +00:00
Aaron J. Seigo
f007828382
allow one to supply the KPluginInfo directly to the applet
...
svn path=/trunk/KDE/kdelibs/; revision=1158540
2010-08-02 23:56:02 +00:00
Brian David Pritchett
df52b374e9
Fixed an issue with an object being deleted too early.
...
svn path=/trunk/KDE/kdelibs/; revision=1158360
2010-08-02 16:00:47 +00:00
Marco Martin
72a06cdd14
The Desktop ToolBox and the Panel ToolBox becomes plugins, shipped with
...
Plasma-Desktop (so shells have to implement their own plugins or pick
one already installed)
Unfortunately, 3 virtuals were needed in AbstractToolBox
void restore(const KConfigGroup &group);
void save(const KConfigGroup &group);
void reposition();
since this is not possible for obvious BC reasons, they are "faked" with
slots, not really nice butthe most painless way.
There shouldn't be significant regressions, but wise to keep an eye on
it in the immediate future
CCMAIL:plasma-devel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=1157537
2010-07-31 13:02:07 +00:00
Andreas Holzammer
94a87ab2a3
- made kdelibs for wince static
...
svn path=/trunk/KDE/kdelibs/; revision=1157186
2010-07-30 12:31:39 +00:00
Brian David Pritchett
1259ea24cd
Redid much of the storage capability and implemented many suggestions.
...
svn path=/trunk/KDE/kdelibs/; revision=1156347
2010-07-28 23:28:31 +00:00
Aaron J. Seigo
7e23828338
build
...
svn path=/trunk/KDE/kdelibs/; revision=1153772
2010-07-24 00:52:46 +00:00
Aaron J. Seigo
fc92307f06
ssssh
...
svn path=/trunk/KDE/kdelibs/; revision=1153771
2010-07-24 00:52:37 +00:00
Aaron J. Seigo
451049664e
* various FIXME notes in dataengine.cpp; Brian, if you could look through them and ask if you have any questions regarding them
...
* only check for stored data if the DataContainer is thusly marked; removes a huge bottleneck for non-storage-backed engines; currently this probably breaks storage support (since marking the source as storage related probably happens after it is created and so this doesn't get calle?) but there is a FIXME note there that states what the fix should be
* some code clean ups
CCMAIL:batenkaitos@gmail.com
svn path=/trunk/KDE/kdelibs/; revision=1150416
2010-07-15 21:58:58 +00:00
Aaron J. Seigo
4a9bf348fe
init the vals
...
svn path=/trunk/KDE/kdelibs/; revision=1150411
2010-07-15 21:41:29 +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
2d98d307f2
I accidently deleted a file that was needed! Readding.
...
svn path=/trunk/KDE/kdelibs/; revision=1149245
2010-07-13 01:07:30 +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
Marco Martin
396972c468
be sure to not insert the same action two times
...
svn path=/trunk/KDE/kdelibs/; revision=1147196
2010-07-07 15:59:02 +00:00
Thiago Macieira
b94b7b1d54
Don't call setPriority on a non-started thread.
...
QThread documentation says this doesn't do anything, so it's just
pointless. More than that, though, it's printing a warning.
svn path=/trunk/KDE/kdelibs/; revision=1146963
2010-07-07 07:22:19 +00:00
Marco Martin
59211cfea4
remove old unused variable
...
svn path=/trunk/KDE/kdelibs/; revision=1143742
2010-06-28 16:29:37 +00:00
Marco Martin
60b151b23e
discard the stored active tab rectangle if the animation is not running
...
BUG:225355
svn path=/trunk/KDE/kdelibs/; revision=1143717
2010-06-28 16:08:30 +00:00
Marco Martin
791fa67a23
recalculate the active tab rectangle when a tab gets added or removed
...
BUG:243002
svn path=/trunk/KDE/kdelibs/; revision=1143660
2010-06-28 13:00:54 +00:00
Alexis Ménard
052b87d74e
Better fix and also make the normal build works.
...
svn path=/trunk/KDE/kdelibs/; revision=1141400
2010-06-22 18:16:13 +00:00
Alexis Ménard
628c9fbf2f
Compile fix with Mobile profile enabled.
...
svn path=/trunk/KDE/kdelibs/; revision=1141384
2010-06-22 17:29:18 +00:00
Alexis Ménard
c6a70060ed
Usual ARM compilation fixes.
...
svn path=/trunk/KDE/kdelibs/; revision=1140767
2010-06-21 13:17:45 +00:00
Marco Martin
c2d8eee98a
save the last size for formfactor, helps when the applet changes containment and back again
...
BUG:241857
svn path=/trunk/KDE/kdelibs/; revision=1138648
2010-06-16 12:26:23 +00:00
Marco Martin
3e3fd09aab
clean up from the sources if somebody deletes a DataContainer
...
BUG:235881
svn path=/trunk/KDE/kdelibs/; revision=1136398
2010-06-09 18:04:28 +00:00
Aaron J. Seigo
7ef4c10667
SVN_SILENT: ws
...
svn path=/trunk/KDE/kdelibs/; revision=1136117
2010-06-09 01:16:45 +00:00
Aaron J. Seigo
1f0ecedca3
put all the applet restore/init code in one place so that the order of ops is more obvious when debugging
...
svn path=/trunk/KDE/kdelibs/; revision=1134668
2010-06-04 21:36:28 +00:00
Aaron J. Seigo
1d23580ea7
a binary slipped into kdelibs/plasma; move it to kdebase/runtime/
...
svn path=/trunk/KDE/kdelibs/; revision=1134613
2010-06-04 17:58:38 +00:00
Aaron J. Seigo
d6e1845d3e
use the previously undocument (and not working) in-memory-only KConfig mode
...
svn path=/trunk/KDE/kdelibs/; revision=1134604
2010-06-04 17:28:07 +00:00
Aaron J. Seigo
637555e477
a bit redundant, really
...
svn path=/trunk/KDE/kdelibs/; revision=1134325
2010-06-03 22:08:18 +00:00
Marco Martin
d386d44a1b
commit this piece too
...
svn path=/trunk/KDE/kdelibs/; revision=1131710
2010-05-28 19:02:15 +00:00
Marco Martin
f99d57fdc1
support drag in vertical tabbars
...
BUG:239020
svn path=/trunk/KDE/kdelibs/; revision=1131253
2010-05-27 20:30:05 +00:00
Marco Martin
b8893a8044
too much classes clobbers with the Extender's private, protect d->applet behind a QWeakPointer
...
BUG:195369
BUG:232408
CCBUG:233563
BUG:239022
svn path=/trunk/KDE/kdelibs/; revision=1131248
2010-05-27 19:59:15 +00:00
Aaron J. Seigo
b152bae01f
don't crash if we're handed a null action
...
BUG:238847
svn path=/trunk/KDE/kdelibs/; revision=1130679
2010-05-26 00:50:55 +00:00
Aaron J. Seigo
6a286f380e
move the IconWidget version of the tools into the desktop tool box; it is what uses them and this prevents having to keep fixing the "tools are showing in the panel" bug every time something in the toolboxes and/or panel containments and/or panel views changes ;)
...
svn path=/trunk/KDE/kdelibs/; revision=1130635
2010-05-25 21:07:09 +00:00
Aaron J. Seigo
376b6cbb88
PopupApplet now respects the configured size
...
svn path=/trunk/KDE/kdelibs/; revision=1130581
2010-05-25 18:21:04 +00:00
Aaron J. Seigo
aa5e85e3fa
provide a (rather hidden, unfortunately) slot for applets and containments to attach custom widgets to to enable/disable a Apply button with. welcome the settingsModified() slot
...
svn path=/trunk/KDE/kdelibs/; revision=1129003
2010-05-21 00:26:23 +00:00
Marco Martin
fef01419ba
use KGlobalSettings::dndEventDelay()
...
svn path=/trunk/KDE/kdelibs/; revision=1128948
2010-05-20 18:47:07 +00:00
Chani Armitage
3a10a5c507
added lastScreen and lastDesktop, to remember where things belong
...
svn path=/trunk/KDE/kdelibs/; revision=1128358
2010-05-19 02:43:07 +00:00
Aaron J. Seigo
58ae4b444f
don't show private classes
...
svn path=/trunk/KDE/kdelibs/; revision=1128260
2010-05-18 20:13:26 +00:00
Marco Martin
6eade776e2
correctly disable glow on focus out
...
svn path=/trunk/KDE/kdelibs/; revision=1128229
2010-05-18 18:32:18 +00:00
Marco Martin
610b3c85df
store the under mouse value, avoids a sync cursor position call
...
svn path=/trunk/KDE/kdelibs/; revision=1127792
2010-05-17 16:35:27 +00:00
Marco Martin
bf5beef483
try to avoid managing eventfilter on delete objects
...
svn path=/trunk/KDE/kdelibs/; revision=1127690
2010-05-17 10:44:34 +00:00
Marco Martin
f8adc81da3
don't initialize to hover
...
svn path=/trunk/KDE/kdelibs/; revision=1126735
2010-05-14 18:34:33 +00:00
Shaun Reich
a5da2705a9
introduce setDefaultService(serviceName) and createDefaultService(QObject*). allows the dataengine (inheritor) to specify which service should probably be used. so applet users don't have to know those things if it's just 1
...
svn path=/trunk/KDE/kdelibs/; revision=1126712
2010-05-14 17:41:40 +00:00
Marco Martin
1bbbe5f173
use focusindicator to do button shadows too (perfectly retrocompatible by the way).
...
this makes buttons be correctly aligned in layouts
svn path=/trunk/KDE/kdelibs/; revision=1126591
2010-05-14 12:45:54 +00:00
Aaron J. Seigo
ae9656bb59
add animations to the package
...
svn path=/trunk/KDE/kdelibs/; revision=1126033
2010-05-13 00:51:43 +00:00
Marco Martin
515249e7f4
suicide when the containment changes
...
BUG:237355
svn path=/trunk/KDE/kdelibs/; revision=1125948
2010-05-12 19:03:28 +00:00
Fredrik Höglund
309ae1dc84
Move these classes into the Plasma namespace.
...
svn path=/trunk/KDE/kdelibs/; revision=1125931
2010-05-12 17:47:52 +00:00
Chani Armitage
ffc6ae289e
API change: instead of Containment having activityId functions, it just
...
exposes the whole Context*.
The activity functions have to be left in for BC, and they still work as
they did before.
svn path=/trunk/KDE/kdelibs/; revision=1125570
2010-05-11 19:02:24 +00:00
Aaron J. Seigo
64238f5f7e
remove this old and now not only uneeded but bug-causing hack
...
BUG:234825
svn path=/trunk/KDE/kdelibs/; revision=1124340
2010-05-08 22:16:21 +00:00
Aaron J. Seigo
3cd7bb718d
listen to shortcut change signals
...
BUG:236650
svn path=/trunk/KDE/kdelibs/; revision=1124129
2010-05-07 20:57:03 +00:00