Rob Scheepmaker
9f6d033578
Couple of improvements to applet drag & drop:
...
* when dropping on another containment, the center of the applet is used to determine where
to drop the applet, instead of the position of the mousepointer.
* movement now works correctly if multiple drag&drops are performed while not removing the
mouse away from the applet handle.
* now works correctly on rotated applets.
* various code style fixes.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808379
2008-05-16 13:28:33 +00:00
Aaron J. Seigo
9fda5b685d
apidox fixes
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807777
2008-05-14 17:44:36 +00:00
Aaron J. Seigo
102cd5b748
no longer used
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807767
2008-05-14 17:16:36 +00:00
Script Kiddy
454cdf7022
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807573
2008-05-14 00:45:41 +00:00
Aaron J. Seigo
caa2fdc688
isValid
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807410
2008-05-13 19:42:17 +00:00
Richard Dale
691262431c
* Add PLASMA_EXPORT macros to the five methods in the Plasma:: namespace so that they
...
can be used outside the plasma lib.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807212
2008-05-13 09:39:19 +00:00
Jordi Polo
a709955f14
Load runners when asked to match directly, not only when launching matches
...
Optimally we should load only that runner...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807162
2008-05-13 05:18:51 +00:00
Pino Toscano
b70d1d4bc6
use the QtModule/QClass for Qt includes in public headers
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807091
2008-05-12 21:55:32 +00:00
Alexis Ménard
ff9832433d
fix restaure of applet geometry
...
aaron can you check?
CCMAIL:aseigo@kde.org
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807088
2008-05-12 21:49:55 +00:00
Script Kiddy
b8dfaea21c
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806903
2008-05-12 14:40:15 +00:00
Marco Martin
33b1a28be9
border of the semicircle looks cleaner, that anyways usually it's not
...
rendered anymore, only fades in on mouse over
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806805
2008-05-12 13:32:31 +00:00
Urs Wolfer
37d49b5283
header cleanness
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806732
2008-05-12 09:18:47 +00:00
Aaron J. Seigo
40cb0b8dea
whoops, wrong location. *gah*
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806700
2008-05-12 05:17:45 +00:00
Aaron J. Seigo
7750ba9273
make the applet ctor public again.
...
why? because older g++s are teh suck, and mac os is stuck with it. it doesn't get that inner classes also get the friend status of the outer class. blargl
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806698
2008-05-12 04:57:38 +00:00
Aaron J. Seigo
2ec2a2b346
allow finding and running matches by id
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806697
2008-05-12 04:53:42 +00:00
Aaron J. Seigo
d14534ba12
allow using the global theme
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806696
2008-05-12 04:53:13 +00:00
Rob Scheepmaker
8d75ba14c2
Improved drag&drop: the top level window now gets masked :)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806660
2008-05-11 23:56:32 +00:00
Rob Scheepmaker
143b126bca
Improved drag&drop: when an applet gets dragged, it now only moves to a toplevel
...
window when necesarry (when the applet moves over another view or window).
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806641
2008-05-11 22:02:35 +00:00
Laurent Montel
c4ff00eb0f
Fix mem leak
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806631
2008-05-11 21:30:28 +00:00
Marco Martin
d03f49e72f
show the panel toolbox on the left when plasma starts with an RTL layout
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806621
2008-05-11 20:58:49 +00:00
Aaron J. Seigo
7c2bd78598
always set the engine name
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806583
2008-05-11 19:19:54 +00:00
Rob Scheepmaker
df22556806
Improved drag&drop: now the toplevel window appears correctly when zoomed out.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806544
2008-05-11 17:21:55 +00:00
Rob Scheepmaker
1172ef79e9
Start of improved applet drag & drop. What works now is:
...
* dragging an applet creates a top level window so the applet won't appear behind the panel
when dragging, as is the case now.
* dragging leaves a semi transparent version of the applet at the original location, so it's
clear to the user where the applet came from and where it will go when the drag is cancelled.
There are still some open issues, I'm working on those...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806484
2008-05-11 13:56:35 +00:00
Script Kiddy
bb55e8eb78
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806426
2008-05-11 11:52:04 +00:00
Aaron J. Seigo
3aa75e775b
delay loading of runners until they are actually used
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806088
2008-05-09 23:46:46 +00:00
Aaron J. Seigo
98c7ed7097
more signalf friendly
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806084
2008-05-09 23:14:00 +00:00
Aaron J. Seigo
819971ac3e
camel case include for RunnerManager
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806083
2008-05-09 23:13:41 +00:00
Script Kiddy
b2bb91097e
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806050
2008-05-09 21:38:29 +00:00
Kevin Ottens
d712c2d2c9
Qt implementation of SODEP.
...
svn path=/branches/work/~ervin/sodep/; revision=806026
2008-05-09 21:11:35 +00:00
Aaron J. Seigo
c0279bc3e2
* factor having a runner into QueryMatch::isEnabled
...
* only run a match when the job is actually done, in case people write runners that don't like to have both match and run entered simultaneously (high likliehood of that happening); lets them write runners with fewer threading concerns
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805919
2008-05-09 17:19:27 +00:00
Laurent Montel
09fb90b051
Fix mem leak
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805683
2008-05-09 07:04:36 +00:00
Aaron J. Seigo
30b6b8d188
SVN_SILENT: not needed
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805681
2008-05-09 06:51:09 +00:00
Dan Meltzer
f57cc1c623
Lotsa little ebn fixes.
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805672
2008-05-09 05:32:15 +00:00
Aaron J. Seigo
b97d911e56
don't really need our own copy ctor here, as that was just so i could see when it was getting called; also be more careful in operator=. still getting an odd crash in there though from krunner
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805669
2008-05-09 05:06:54 +00:00
Chani Armitage
61ae3df3fc
*Applet::destroy() now handles everything needed for removing an applet prettily and safely.
...
*removed Containment::Private::destroyApplet in favour of just calling Applet::destroy() directly.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805666
2008-05-09 04:43:21 +00:00
Aaron J. Seigo
57ce2ba858
be careful with d->runner
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805665
2008-05-09 04:32:54 +00:00
Aaron J. Seigo
6019dc7b27
huge patch, but it's needed to avoid crashes and i can't wait on other people's pending work forever. so...
...
QueryMatch by value! shared dptr == no copy of data either! so (nearly) all the speed love of pointers with none of the crash hate. woo!
RunnerContext also by value! die pointers die!
also get rid of tons of locking that just doesn't make sense anymore; get rid of data priority enum as well since it's completely meaningless.
speed, glory, stability! ftw!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805661
2008-05-09 03:49:11 +00:00
Aaron J. Seigo
5de8aff8ce
don't need this timer to keep running indefinitely
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805650
2008-05-09 02:35:29 +00:00
Aaron J. Seigo
450c826c69
timerId usage
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805632
2008-05-08 23:30:56 +00:00
Aaron J. Seigo
1b437f7954
* make the layout removal general to all layout types, not just linear layouts
...
* call the ScriptEngine's config method if we fail on the automatic generation
* use an internal timer id to trigger flush updated constraints calls so that if it gets called manually we prevent a future unecessary signal from happening
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805631
2008-05-08 23:30:29 +00:00
Alexis Ménard
987ca211c7
put the remove of the layout if the applet is removed in destroy function, then if we call
...
it from other place we will be sure the applet will be remove from the layout
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805590
2008-05-08 20:26:56 +00:00
Script Kiddy
66413b26ab
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805551
2008-05-08 18:07:26 +00:00
Richard Dale
61d69ba939
* Oops, the scripting method 'showConfigurationInterface()' was correctly named after all, so
...
revert the commit to change it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805532
2008-05-08 17:46:28 +00:00
Richard Dale
580df25f72
* Rename the applet scripting method showConfigurationInterface() as createConfigurationInterface()
...
to match the name of the equivalent C++ api method
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805387
2008-05-08 12:12:31 +00:00
Andre Duffeck
4e793192de
port Plasma::Flash
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805377
2008-05-08 11:45:49 +00:00
Alexis Ménard
71f1d6f5cb
fix our "not really remove applet" when remove applet in the panel/containment
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805373
2008-05-08 11:13:48 +00:00
Marco Martin
48f9257fb1
not hasElementPrefix(prefix) works also when prefix is empty
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805339
2008-05-08 09:12:04 +00:00
Chani Armitage
2a6a5fa6db
:%s/NotImmutable/Mutable/g
...
because double negatives hurt my brain.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805296
2008-05-08 04:26:52 +00:00
Aaron J. Seigo
57cf4099c8
we will need a setId after all
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805235
2008-05-07 22:27:51 +00:00
Aaron J. Seigo
c85cac84df
needed to resolve conflicts before committing =)
...
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805123
2008-05-07 16:33:10 +00:00