Aaron J. Seigo
916938efae
fix unlock mismatch due to detach happening
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803147
2008-05-02 05:31:24 +00:00
Fredrik Höglund
4b05a1b05f
Subtract the margins from the contents rect passed to paintInterface().
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803098
2008-05-01 22:39:18 +00:00
Marco Martin
0f1809e9f4
new function bool hasElementPrefix(prefix) that checks if the given
...
element prefix exists for the loaded svg
and build fix woops
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803066
2008-05-01 20:09:24 +00:00
Marco Martin
5939dfc87c
scale the svg elements at the right size in case of stretched borders
...
and/or
not tiled center element.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803061
2008-05-01 19:51:41 +00:00
Aaron J. Seigo
f3e1fd618f
* actually delete the matches on removeAllMatches
...
* use macros for the locking exercises
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803058
2008-05-01 19:43:22 +00:00
Aaron J. Seigo
f55bbb73f9
SearchContext -> RunnerContext
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803041
2008-05-01 18:40:10 +00:00
Aaron J. Seigo
bbddbccd1b
* reset on setSearchTerm
...
* explicitly init QSharedData in the ctor init list (g++ was warning about it)
* add some docu as to why we still need removeAllMatches
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803039
2008-05-01 18:26:38 +00:00
Aaron J. Seigo
03a452dda1
convenience flag for "all filesystem results"
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803036
2008-05-01 17:56:28 +00:00
Aaron J. Seigo
da4f6c6e72
ws, style fixes, use booleans rather than ints when returning a boolean
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803034
2008-05-01 17:42:34 +00:00
Marco Martin
4c1e5b8e9d
New class called PanelController:
...
is a new QWidget shown when the user clicks on the panel toolbox, it's a
thing that will eventually replace the panel configuration dialog.
at the moment it has an add aplet and remove panel buttons.
it is possible to resize the panel by dragging the upper edge of the
panel controller and in the future will be provided a way to resize the
panel width and changing the position.
at the moment there is the known problem that the resize handle doesn't
work for vertical panel for now.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802932
2008-05-01 09:58:36 +00:00
Marco Martin
6c04d0c3e4
removed getBorderSize(), replaced by PanelSvg::getMargins()
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802931
2008-05-01 09:53:09 +00:00
Marco Martin
703b6c2ffa
* adds a new convenience method getMargins(&qreal,&qreal,&qreal,&qreal)
...
to fetch all the four margins at a time
* now applet uses it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802928
2008-05-01 09:49:30 +00:00
Jordi Polo
fa598a779a
oops, wrong include file.
...
Deleted unused variable
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802919
2008-05-01 09:01:49 +00:00
Jordi Polo
95157e20c4
Big patch with several internal changes to krunner:
...
-New RunnerManager class, it manages runners at high level
and gives a simple API for interfaces to use.
- AbstractRunners gains description, setIgnoredTypes, ignoredTypes methods.
Now runners can specify what SearchContext::Types they are not going to process.
- SearchContext tries shared data between the original context and any local context.
It doesn't have its own completer no more.
- SearchMatch has a new type of match, CompleterMatch. Instead of using a hard coded
completer in SearchContext
- Interface class on krunner has its own completer and other changes
done to accomodate the above changes in libplasma.
-A new configuration option blacklist for runnermanager and krunner
instead of the whitelist of krunner.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802903
2008-05-01 07:51:59 +00:00
Aaron J. Seigo
207968b217
resetConfigurationObject()->pimpl
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802892
2008-05-01 03:24:20 +00:00
Aaron J. Seigo
43e6bac986
Plasma::AspectRatioMode, just like Qt::AspectRatioMode. the setter/getter in Applet even used Mode.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802866
2008-04-30 22:13:27 +00:00
Aaron J. Seigo
ef45e56b8c
SVN_SILENT: build fix
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802865
2008-04-30 22:10:22 +00:00
Aaron J. Seigo
b81b6ad8de
split out the private applet classes into a _p.h
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802860
2008-04-30 21:50:43 +00:00
Aaron J. Seigo
212821f611
put ShadowItem in the Plasma namespace
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802858
2008-04-30 21:47:47 +00:00
Davide Bettio
0916889c58
API REVIEW:
...
* watchForMouseMove() -> registerAsDragHandle() / unregisterDragHandle()
* Added isRegisteredAsDragHandle() (I'm not really sure If it's a good idea to add this method).
ping me if you find better names for registerAsDragHandle() / unregisterDragHandle().
CCMAIL: panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802774
2008-04-30 15:04:49 +00:00
Laurent Montel
2621c6c07f
Language->API
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802727
2008-04-30 11:41:07 +00:00
Laurent Montel
59d235e3f4
X-Plasma-Language->X-Plasma-API
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802726
2008-04-30 11:39:35 +00:00
Andreas Hartmetz
9117de06cf
dashbot is such a sissy
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802621
2008-04-30 01:30:11 +00:00
Aaron J. Seigo
5482bad2ce
protected slots -> Q_PRIVATE_SLOT
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802610
2008-04-29 23:27:17 +00:00
Aaron J. Seigo
67f44e6f0a
* constructor + destructor private
...
* init -> pimpl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802607
2008-04-29 23:24:09 +00:00
Aaron J. Seigo
0c2b74e11d
* animateItem, moveItem return int
...
* add stopItemAnimation and stopItemMovement
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802605
2008-04-29 23:16:33 +00:00
Alexis Ménard
1eee210264
fix default layout and label when a label fail to load
...
FIXME : get the correct color for the label with the theme
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802598
2008-04-29 22:57:08 +00:00
André Wöbbeking
15bf9c6ce7
-pedantic
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802583
2008-04-29 21:59:51 +00:00
Marco Martin
43066e49ce
API review:
...
remainSquare(), aspectRatioMode() and their setters are merged in
aspectRatioMode() + setAspectRatioMode(Plasma::AspectRatio)
Plasma::AspectRatio has IgnoreAspectRatio, KeepAspectRatio and Square
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802561
2008-04-29 20:31:18 +00:00
Aaron J. Seigo
f4d9309b86
api cleanup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802539
2008-04-29 20:01:23 +00:00
Aaron J. Seigo
9165b11235
at tokamak i said i regretted using the term "Language" to describe what is really "API". i meant it.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802486
2008-04-29 16:24:14 +00:00
Script Kiddy
b717f9bdbb
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802307
2008-04-29 05:57:03 +00:00
Aaron J. Seigo
a75e4604c0
allow applet script to dig around with Applet
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802291
2008-04-29 03:05:31 +00:00
Aaron J. Seigo
9234ac63e9
this method should also be protected
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802289
2008-04-29 02:35:56 +00:00
Aaron J. Seigo
daf3d7a4a2
API REVIEW: needsConfiguring() => configurationRequired
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802288
2008-04-29 02:34:21 +00:00
Aaron J. Seigo
0402391d17
we don't need our own shape() here anymore; it really hardly worked at the best of times and was we move to window decos it'll become irrelevant anyhow
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802287
2008-04-29 02:30:23 +00:00
Aaron J. Seigo
1847d60a1d
API REVIEW: launchActivated -> releaseVisualFocus; more generic and a bit more obvious as to its purpose
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802286
2008-04-29 02:28:35 +00:00
Aaron J. Seigo
53a6938a87
schedule a configuration sync upon loading the default setup
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802285
2008-04-29 02:19:12 +00:00
Aaron J. Seigo
5d287cfcbb
one more slot pimpl'd
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802282
2008-04-29 01:41:24 +00:00
Aaron J. Seigo
c6f866378d
not a slot
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802280
2008-04-29 01:24:00 +00:00
Aaron J. Seigo
13fcca652e
move dataengine private details into the pimpl
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802279
2008-04-29 01:17:12 +00:00
Joseph Burns
4b0bc4fb5a
API Review: uninstallPackage -> packageName instead of param package
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802278
2008-04-29 00:56:33 +00:00
Aaron J. Seigo
2dd5891029
with some intriguing grotesqueness internal to the library, we can simplify the API and remove location/formFactor from Containment and just use the ones in Applet; externally this is probably rather safer
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802277
2008-04-29 00:49:10 +00:00
Aaron J. Seigo
b94c6913ff
small optimization: prevent reconnecting (and likely a delete and new of a SignalObject) when the requested polling interval and the current one are the same
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802273
2008-04-29 00:26:33 +00:00
Aaron J. Seigo
9a156375a3
SVN_SILENT: a bit more useful debug in places
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802271
2008-04-29 00:15:26 +00:00
Aaron J. Seigo
93882feae4
* more debug for when these issues arise
...
* nicer logic handling (no negation ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802270
2008-04-29 00:10:43 +00:00
Aaron J. Seigo
69524609a3
remove createLayout from Containment. now each containment will need to implement its own layouting. this is not so big a deal since FreeLayout is no longer needed to make applets behave properly. now panels can do whatever the heck they want.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802255
2008-04-28 23:00:08 +00:00
Aaron J. Seigo
fa166c72ef
SVN_SILENT: small ws fix that was laying around on disk here
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802253
2008-04-28 22:56:02 +00:00
Davide Bettio
b37d43eafd
API REVIEW: showConfigurationInterface() -> nonvirtual
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802232
2008-04-28 21:23:27 +00:00
Rob Scheepmaker
571e8a0db6
...oops?... Let's also add an implementation...
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802211
2008-04-28 20:37:10 +00:00