now I can remove some of the ten desktop containments I accumulated :)
oh, and the code is cleaner too, yay!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=810129
the defaults are kinda lame right now, but I'm planning to do a lot more with this.
applet focus and the shorcut hooks work properly, however.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808610
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
* 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
*removed Containment::Private::destroyApplet in favour of just calling Applet::destroy() directly.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805666
* 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
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
checkImmutability()->Q_PRIVATE_SLOT
added a q-pointer into Applet needed for this and themeChanged the other
Q_PRIVATE_SLOT that will be added
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802124
killed drawStandardBackground() and shadowShown()
now the two properties are merged in backgroundHints() and
setBackgroundHints() using the combination of BackgroundHints flags
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801282
isImmutable(), setIsImmutable() and isKioskImmutable() of applet and
corona are merged in one property so they becamed
immutability() and setImmutability() using the new type
ImmutabilityType defined in plasma.h as:
NotImmutable: normal behaviour
UserImmutable: the user locked the desktop, can unlock it
SystemImmutable: the system locked the desktop and the user can't unlock
it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800724
isKioskImmutable is protected now.
also added a TODO an why it can't be removed for now
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800630
init() and setFailedToLaunch are now protected
containment and corona are friends of applet
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=798585