we need a separate private contentSize() for Applet because we need to be able to override what the subclass might be trying to accomplish. since the method is virtual, i had to put it in the dptr and call Applet::contentSize from there on successfully passing various tests such as "is this a script?" and "has this applet been marked as failed?". stupid polymorphism. end result is that now an applet can, as expected, call setFailedToLaunch(true) and the applet gets the right size, no matter when or where it was called from. huzzah. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692630 |
||
---|---|---|
effects | ||
includes | ||
servicetypes | ||
widgets | ||
abstractrunner.cpp | ||
abstractrunner.h | ||
animator.cpp | ||
animator.h | ||
applet.cpp | ||
applet.h | ||
CMakeLists.txt | ||
configxml.cpp | ||
configxml.h | ||
corona.cpp | ||
corona.h | ||
datacontainer.cpp | ||
datacontainer.h | ||
dataengine.cpp | ||
dataengine.h | ||
dataenginemanager.cpp | ||
dataenginemanager.h | ||
glapplet.cpp | ||
glapplet.h | ||
karambamanager.cpp | ||
karambamanager.h | ||
Mainpage.dox | ||
Messages.sh | ||
package.cpp | ||
package.h | ||
packagemetadata.cpp | ||
packagemetadata.h | ||
packages_p.h | ||
packages.cpp | ||
packagestructure.cpp | ||
packagestructure.h | ||
phase.cpp | ||
phase.h | ||
plasma_export.h | ||
plasma.cpp | ||
plasma.h | ||
README | ||
scriptengine.cpp | ||
scriptengine.h | ||
svg.cpp | ||
svg.h | ||
theme.cpp | ||
theme.h |
libplasma This directory contains the classes making up libplasma, which provides the core framework used by Plasma and its components. This includes applet and extension definitions and loading, common GUI elements, etc. Domain specific sets of functionality, e.g. for network awareness or sensors, are not found here but in one of the Plasma Engines. Please refer to the Plasma website (http://plasma.kde.org) for API documentation and design documents regarding this library.