Projects/Plasma/Tokamak1: Difference between revisions
< Projects
No edit summary |
|||
(205 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
== API Reviews == | == API Reviews == | ||
=== Plasma::Theme === | === <s>Plasma::Theme</s> === | ||
* self() -> default() | * <s>self() -> default() :'''NOTE: default is a C++ keyword, defaultTheme() perhaps?'''</s> | ||
* set application dies, use KGlobal instead | * <s>set application dies, use KGlobal instead</s> | ||
* implementation note: Theme::Private::config() shouldn't open config everytime | * <s>implementation note: Theme::Private::config() shouldn't open config everytime</s> | ||
* image() -> imagePath() | * <s>image() -> imagePath()</s> | ||
* colors() -> KColorScheme colorScheme() | * <s>colors() -> KColorScheme colorScheme()</s> | ||
* color methods -> color(ColorRole) (enum) | * <s>color methods -> color(ColorRole) (enum)</s> | ||
* font methods -> font(RontRole) (enum) | * <s>font methods -> font(RontRole) (enum)</s> | ||
* compositingActive -> windowTranslucencyEnabled (out of place?) | * <s>compositingActive -> windowTranslucencyEnabled (out of place?)</s> | ||
* changed() -> themeChanged() | * <s>changed() -> themeChanged()</s> | ||
* slots -> Q_PRIVATE_SLOT | * <s>slots -> Q_PRIVATE_SLOT</s> | ||
=== Plasma::Corona === | === <s>Plasma::Corona</s> === | ||
* Remove constructor with size parameters | * <s>Remove constructor with size parameters</s> | ||
* | * <s>Remove isKioskImmutable() -> protected</s> isImmutable() setIsImmutable() and isKioskImmutable() became immutability() and setImmutability() | ||
* remove maxSizeHint | * <s>remove maxSizeHint</s> | ||
* loadDefaultSetup protected and loadDefaultLayout | * <s>loadDefaultSetup protected and loadDefaultLayout</s> | ||
* clearApplets -> clearContainments | * <s>clearApplets -> clearContainments</s> | ||
* config -> private Note : config protected in containments and applets | * <s>config -> private Note : config protected in containments and applets</s> | ||
* load/save applets -> load/save Layouts | Note: remaining public for now applet needs it for Applet::globalConfig() | ||
* scheduleConfigSync -> private | * <s>load/save applets -> load/save Layouts</s> | ||
* addContainment not a slot split | * <s>scheduleConfigSync -> private</s> | ||
* containmentFor screen -> Not slot | * <s>addContainment not a slot ->split</s> | ||
* containments() not a slot | ** <s>addContainment(id, delayedFlag) [private]</s> | ||
* | ** <s>addContainment() [public]</s> | ||
* screenOwnerChanged -> to plasmaapp | * <s>containmentFor screen -> Not slot</s> | ||
* protected slots -> private | * <s>containments() not a slot</s> | ||
* <s>launchActivated -> to plasmaapp</s> | |||
* <s>screenOwnerChanged -> to plasmaapp</s> | |||
Note: it's not really desktop specific, so will stay here | |||
* <s>protected slots -> private </s> | |||
Terminology : layouts = Applets + containments organization | Terminology : layouts = Applets + containments organization | ||
=== Plasma::Widget === | === Plasma::Widget === | ||
* deletion | * <s>deletion</s> | ||
* Create a tooltip manager | * Create a tooltip manager | ||
=== Plasma::Svg === | === <s>Plasma::Svg</s> === | ||
* ContentType -> kill change methods using it to take bool and change their names to containsMultiplesImages | * <strike>ContentType -> kill change methods using it to take bool and change their names to containsMultiplesImages (hmm actually not understood what this means :D)</strike> | ||
* elementRect -> return a QRectF | * <strike>elementRect -> return a QRectF</strike> | ||
* elementExists -> hasElement | * <strike>elementExists -> hasElement</strike> | ||
* matrixForElement -> private | * <strike>matrixForElement -> private</strike> | ||
* size -> group with resize | * <strike>size -> group with resize</strike> | ||
* move private slots to a | * <strike>move private slots to a pimpl</strike> | ||
=== Plasma::PanelSvg === | === <strike>Plasma::PanelSvg</strike> === | ||
* should inherits of Plasma::Svg | * <strike>should inherits of Plasma::Svg</strike> | ||
* drawXborder -> Xborder | * <strike>drawXborder -> Xborder</strike> | ||
* contentAtOrigin -> separate bool property | * <strike>contentAtOrigin -> separate bool property</strike> | ||
* SvgPanel(path,parent) -> SvgPanel(parent) | * <strike>SvgPanel(path,parent) -> SvgPanel(parent)</strike> | ||
* setFile + file() -> setImagePath + imagePath() NOTE : same modification in svg and theme classes | * <strike>setFile + file() -> setImagePath + imagePath() NOTE : same modification in svg and theme classes</strike> | ||
* setBorderFlags + borderFlags() -> setEnabledBorders + enabledBorders | * <strike>setBorderFlags + borderFlags() -> setEnabledBorders + enabledBorders</strike> | ||
* add resize(x,y) | * <strike>add resize(x,y)</strike> | ||
* setPrefix ->setElementsPrefix | * <strike>setPrefix ->setElementsPrefix</strike> | ||
* updateSizes() -> Q_PRIVATE_SLOT | * <strike>updateSizes() -> Q_PRIVATE_SLOT</strike> | ||
* pos + setPos died -> pos added to paint | * <strike>pos + setPos died -> pos added to paint</strike> | ||
* setLocation() -> setElementPrefix(enum) | * <strike>setLocation() -> setElementPrefix(enum)</strike> | ||
* location() -> died | * <strike>location() -> died</strike> | ||
=== Plasma::Applet === | === Plasma::Applet === | ||
* <s>remainSquare()+setAspectRatioMode()->merge using our own aspect ratio mode enun</s> | |||
* inherits QGraphicsWidget | * category()+name()+pluginName() dies->replaced by pluginInfo() | ||
* init()->protecgted+Corona::loadLayout() is friend | <!> pluginInfo() should return a hand-made KPluginInfo if id->appletDescription isValid() | ||
* config() methods->protected | * <s>resetConfigurationObject()->pimpl</s> | ||
* globalConfig()->protected | * <s>watchForMouseMove()-> ??? (the suggested registerDragHandles is a very bad name)</s> | ||
* | * <s>protected setBackgroundHints() + public backgroundHings() const</s>; <s>as a result (set)DrawStandardBackground() dies</s> | ||
<s>Note: being protected AppletScript can't change it anymore: AppletScript friend of Applet?</s> | |||
* <s>(set)configNeeded()->(is|set)ConfigurationRequired()+set protected</s> | |||
* <s>shape() dies</s> | |||
* <s>*Opacity() dies</s> | |||
* <s>launchActivated()-> releaseVisualFocus()</s> | |||
* <s>configXml() -> configScheme()</s> | |||
* <s>contextActions()->const+contextualActions()</s> | |||
* <s>inherits QGraphicsWidget</s> | |||
* <s>init()->protecgted+Corona::loadLayout() is friend</s> | |||
* <s>config() methods->protected.</s> | |||
* <s>globalConfig()->protected</s> | |||
Note: It has been decided the above two functions will remain public because if an applet uses an external QWidget it will have to access the configuration of the applet | |||
* <s>constraintUpdated()->constraintEvent()+protected</s> | |||
Note: check again corona for events like methods | Note: check again corona for events like methods | ||
* formFactors()->non virtual + get the containment impl there | * <s>formFactors()->non virtual + get the containment impl there | ||
==>Plasma::Containment::Private inherits Plasma::Applet::Private | ==>Plasma::Containment::Private inherits Plasma::Applet::Private</s> | ||
* location-> Plasma::Containment::Private | * <s>location-> Plasma::Containment::Private</s> | ||
* | * <s>knownApplets()->listAppletInfo()</s> | ||
* <s>knownAppletsForMimetype()->listAppletInfoForMimeType()</s> | |||
* <s>knownCategories()->listCategories()</s> | |||
* knownCategories()->listCategories() | <s>Note: known*()->list*()</s> | ||
Note: known*()->list*() | |||
* because of load(), ctors->protected | * <s>because of load(), ctors->protected</s> | ||
Note: containment wants to construct an Applet directly when | |||
creates the one with the failed to launch error message, | |||
* color() die! die! die! | but even if it's friend of applet it does that in the dptr, | ||
* isKioskmmutable()->pimpl | and this somewhere compiles somewhere not, generally not good. | ||
* <s>color() die! die! die!</s> | |||
* failedtoLaunch()->hasfailedToLaunch() | * <s>isKioskmmutable()->pimpl</s> isImmutable() setIsImmutable() and isKioskImmutable() became immutability() and setImmutability() | ||
* setFailedToLaunch()->protected | * <s>failedtoLaunch()->hasfailedToLaunch()</s> | ||
* | * <s>setFailedToLaunch()->protected</s> | ||
* <s>hasCofigurationInterface()-> const</s> | |||
* setHasConfigurationInterface()->protected | * <s>setHasConfigurationInterface()->protected</s> | ||
* | * <s>kill *StandardBackground()+*ShadowShown()</s> | ||
->enum BackgroundHint {NoBackground=0, StandardBackground, ShadowedBackground} | ->enum BackgroundHint {NoBackground=0, StandardBackground, ShadowedBackground} | ||
+QFlag | +QFlag | ||
* <s>set(is)containment()->set(ActsAs)Containment()+setter is protected</s> | |||
* set(is)containment()->set(ActsAs)Containment()+setter is protected | * <s>raise()->slot+addlower()</s> | ||
* raise()->slot+addlower() | * <s>requestFocus() dies</s> | ||
* | * <s>showConfigurationInterface()->nonvirtual</s> | ||
* | * <s>createconfigurationInterface()->virtual protected, not slot</s> | ||
* * | * <s>Flush UpdatedConstraints()->Flush PendingCostraintEvents()</s> | ||
* | * <s>ThemeChanged()->Q_PRIVATE_SLOT</s> | ||
* | * <s>globalName(), instanceName()->pimpl</s> | ||
* | * <s>watchForFocus()->dies</s> | ||
* | * <s>needFocus()->dies</s> | ||
* <s>topLeft()->dies</s> | |||
* <s>checkImmutability()->Q_PRIVATE_SLOT</s> | |||
* | === Plasma::Containments(aseigo) === | ||
* | * addToolBoxTool() -> addToolBoxAction(action) | ||
* | * add removeToolBoxAction(action) | ||
* | * <s>formfactor() & location() in Applet</s> | ||
* | * <s>setFormFactor() & setLocation() in Containment</s> | ||
* | * <s>StyleOption::desktop dies</s> | ||
* | * <s>List, Dict dies</s> | ||
* | * <s>CustomContainment = 127</s> | ||
* <s>setContainmentType() -> protected</s> | |||
* <s>setIsContainment() -> dies (meat in applet)</s> | |||
* <s>known...() -> list...()</s> | |||
* <s>addApplet() -> split</s> | |||
** <s>addApplet(name, args, point, size) [public]</s> | |||
** <s>addApplet(name, args, point, size, id, delayedinit) [private]</s> | |||
* <s>indexAt() dies, add QPointF to appletAdded()</s> | |||
* <s>setScreen() & screen() & effectiveScreenPos() -> die</s> will remain due to PUI relevance - aseigo | |||
* <s>(save|load)Constraints() -> pimpl</s> | |||
* <s>emitLaunchActivated() -> see Applet, maybe not public</s> | |||
* <s>containmentConstraingUpdated() -> pimpl</s> | |||
* <s>add setToolBoxExpanded(bool) slot</s> | |||
* <s>(show|hide)ToolBox() -> (expand|unexpand)ToolBox()</s> | |||
* <s>launchActivated() -> see Applet</s> | |||
* <s>zoomIn() & zoomOut() signals -> zoomRequested(containment, direction enum)</s> | |||
* <s>showAddWidgets() -> showAddWidgetsInterface(QPointF)</s> | |||
* <s>screenChanged() -> dies (move to plasma app ScreenManager)</s> | |||
* <s>toggleDesktopImmutability() -> Q_PRIVATE_SLOT</s> | |||
* <s>zoomIn() -> Q_PRIVATE_SLOT</s> | |||
* <s>createLayout() -> dies</s> | |||
* <s>protected slots (except dropEvent()) & private slots & methods ->pimpl & Q_PRIVATE_SLOT</s> | |||
=== Plasma:: | === <s>Plasma::DataEngine</s> === | ||
* <s>sourceDict() -> containerDict()</s> | |||
* <s>engineName() -> name() + add protected setName()</s> | |||
* <s>connectSource() -> updateInterval -> pollingInterval</s> | |||
* <s>connectAllSources() -> updateInterval -> pollingInterval</s> | |||
* <s>ref() & deref() & isUsed() -> private</s> | |||
* <s>setIcon() -> protected</s> | |||
* <s>newSource -> sourceAdded()</s> | |||
* <s>sourceRequested -> sourceRequestEvent()</s> | |||
* <s>updateSource() -> updateSourceEvent()</s> | |||
* <s>setData() -> SHALL NOT remove source (fix APIDOX)</s> | |||
* <s>clearData() -> removeAllData()</s> | |||
* <s>setSourceLimit() -> DIE! DIE! DIE!</s> | |||
* <s>clearSources() -> removeAllSources()</s> | |||
* <s>checkForUpdates() -> scheduleSourcesUpdated()</s> | |||
* <s>internalUpdateSource() -> Q_PRIVATE_SLOT</s> | |||
=== Plasma:: | === <s>Plasma::DataEngineManager</s> === | ||
* <s>ctor+dtor private</s> | |||
* <s>knownEngines()->listAllEngines()</s> | |||
* <s>get()->engine()</s> | |||
* <s>(un)load()->(un)loadEngine()</s> | |||
=== Plasma:: | === <s>Plasma::DataContainer</s> === | ||
* <s>clearData()->removeAllData()</s> | |||
* <s>checkForUpdate()->protected</s> | |||
* <s>int timeSinceLastUpdate()->protected+return uint</s> | |||
* <s>hasUpdates()->pimpl</s> | |||
* <s>setNeedsUpdate()->pimpl</s> | |||
* <s>checkUsage()->pimpl</s> | |||
* <s>connectVisualization()->not slot</s> | |||
* <s>unused()->becameUnused()</s> | |||
* <s>requestUpdate()->updateRequested()</s> | |||
=== Plasma:: | === <s>Plasma::View</s> === | ||
* <s>(set)DrawWallpaper() -> (set|is)WallpaperEnabled()</s> | |||
* <s>(set)Screen() -> plasma app</s> going to leave this here, as the screen management is not manditory, but useful for any PUI - aseigo | |||
* <s>(set)Desktop() -> plasma app</s> going to leave this here, as the screen management is not manditory, but useful for any PUI - aseigo | |||
* <s>effectiveDesktop -> plasma app</s> going to leave this here, as the screen management is not manditory, but useful for any PUI - aseigo | |||
* <s>config() -> protected</s> | |||
* <s>updateSceneRect() -> Q_PRIVATE_SLOT</s> | |||
* <s>initGraphicsView() -> pimpl</s> | |||
=== Plasma::AbstractRunner === | === Plasma::AbstractRunner === | ||
* <s>SlowSpeed before NormalSpeed</s> | |||
* <s>load() -> loadAll()</s> + load() no = QString() for whitelist | |||
* <s>ctors -> protected</s> | |||
* <s>confg() -> protected</s> | |||
* match() -> protected | |||
* <s>(set)hasMatchOptions() -> (set)hasRunOptions()</s> -> (set)hasExecOptions()? (proposed by bettio) | |||
* <s>createMatchOptions() -> createRunOptions()</s> -> createExecOptions()? (proposed by bettio) | |||
* <s>runnerName() -> name()</s> | |||
* init() -> Q_PRIVATE_SLOT | |||
=== Plasma::SearchContext === | === Plasma::SearchContext === | ||
* switch to value based for matches too | |||
* matchesChanged() emitted from performMatch() | |||
* <s>resetSearchTerm(QString) -> reset()</s> | |||
* <s>mimetype() -> mimeType()</s> | |||
* <s>addMatchesTo() -> copyMatchesTo() (copy -> move)</s> | |||
* determineType() -> pimpl | |||
* <s>clearMatches() -> removeAllMatches()</s> | |||
=== Plasma:: | === Plasma runner terminology === | ||
* | * <s>Plasma::SearchContext => Plasma::RunnerContext</s> | ||
* <s>Plasma::SearchMatch => Plasma::QueryMatch</s> | |||
* <s>In the RunnerContext, RunnerResult and AbstractRunner APIs:</s> | |||
* search term => query | |||
=== Plasma:: | === <s>Plasma::Phase -> Plasma::Animator</s> === | ||
* | * <s>Animation merges with ElementAnimation -> AppearAnimation,DisappearAnimation,ActivateAnimation</s> | ||
* <s>SlideInMovement,SlideOutMovement,FastSlideInMovement, FastSlideOutMovement</s> | |||
* <s>AnimId dies -> use int</s> | |||
* <s>constructor + destructor private</s> | |||
* <s>animateItem, moveItem return int</s> | |||
* <s>add stopItemAnimation(int)</s> | |||
* <s>animationCompleted() -> animationFinished()</s> | |||
* <s>same for others signal</s> | |||
* <s>protected slots -> Q_PRIVATE_SLOT</s> | |||
* <s>init -> pimpl</s> | |||
* <s>setAnimationPixmap -> setInitialPixmap</s> | |||
* <s>animationResult() -> currentPixmap</s> | |||
=== <s>Plasma::AnimationDriver</s> === | |||
* <s>FramesPerSeconds -> animationFramesPerSeconds, elementAnimationFramesPerSeconds,movementAnimationFramesPerSeconds</s> | |||
* <s>same for duration and curve</s> | |||
* <s>appear -> itemAppear</s> | |||
* <s>disappear -> itemDisappear</s> | |||
* <s>activate -> itemActivated</s> | |||
* <s>slide -> itemSlide</s> | |||
* <s>elementX -> should use progress, not frame</s> | |||
=== <s>Plasma::GlApplet</s> === | |||
* <s>makeCurrent -> pimpl</s>: actually, this is required to be public - aseigo | |||
=== Plasma::Delegate === | === Plasma::Delegate === | ||
* * | (Marco Martin) | ||
* | * <nowiki>*</nowiki>columnType* -> device notifier | ||
* constants | Needed for the delegate to know he must draw an icon smaller than the main one | ||
* setRole -> setRoleMapping(QMap) | * <s>ctor should have parent param</s> | ||
* | * <s>constants ->pimpl</s> | ||
* <s>protected non virtual</s> -> pimpl | |||
The protected methods are needed only by subclasses to know where to paint so they are still needed | |||
* <s>setRole()->setRoleMapping(QMap) + add roleMapping() getter</s> | |||
* fixme: copy rhs of whiteboard (missing) | |||
=== <s>Plasma::Dialog</s> === | |||
(Ménard Alexis) | |||
* <s>themeUpdated -> Q_PRIVATE_SLOT</s> | |||
=== <s>Plasma::AppletBrowserWidget</s> === | |||
* <s>remove containment from constructor</s> | |||
* <s>protected slots -> Q_PRIVATE_SLOTS</s> | |||
* <s>private methods -> pimpl</s> | |||
=== Plasma:: | === <s>Plasma::AppletBrowser</s> === | ||
* <s>remove containment from constructor</s> | |||
NOTE : AppletBrowser and AppletBrowserWidget should be in different .h | |||
=== Plasma::PackageMetadata === | === <s>Plasma::PackageMetadata</s> === | ||
* isComplete -> isValid | * <s>isComplete -> isValid</s> | ||
* write() -> remove icon parameter | * <s>write() -> remove icon parameter</s> | ||
=== Plasma::PackageStructure === | === Plasma::PackageStructure(josebur) === | ||
* must not inherits of QObject | * must not inherits of QObject | ||
* QList<char *> -> QStringList | * QList<char *> -> QStringList | ||
* const char * -> QString | * const char * -> QString | ||
* required -> isRequired() | * <s>required -> isRequired()</s> | ||
* (set)(Default)Mimetypes -> (set)(Default)Mimetypes ?? | * (set)(Default)Mimetypes -> (set)(Default)Mimetypes ?? | ||
* uninstallPackage -> packageName instead of param package | * <s>uninstallPackage -> packageName instead of param package</s> | ||
* pathChanged -> died | * <s>pathChanged -> died</s> | ||
* Xtypes() -> XFormat() | * Xtypes() -> XFormat() | ||
=== Plasma::Package === | === Plasma::Package(josebur) === | ||
* const char * -> QString | * const char * -> QString | ||
* knownPackages -> listInstalled | * <s>knownPackages -> listInstalled</s> | ||
* installPackage -> install | * <s>installPackage -> install</s> leave it | ||
* registerPackage -> register | * <s>registerPackage -> register</s> '''Keyword!''' leave it | ||
* createPackage -> create | * <s>createPackage -> create</s> leave it | ||
* Missing uninstall | * Missing uninstall | ||
=== Plasma::ScriptEngine === | === Plasma::ScriptEngine === | ||
* contructor -> protected | * <s>contructor -> protected</s> | ||
* protected slots -> not slots | * <s>protected slots -> not slots</s> | ||
* knowLanguages -> getScriptApis() ?? | * knowLanguages -> getScriptApis() ?? | ||
* loadScriptEngine() -> language param become a scriptAPI | * loadScriptEngine() -> language param become a scriptAPI | ||
Line 174: | Line 300: | ||
=== Plasma::AppletScript === | === Plasma::AppletScript === | ||
* contentSizeHint -> died | * <s>contentSizeHint -> died</s> | ||
* constraintsUpdated -> constraintsEvent | * <s>constraintsUpdated -> constraintsEvent</s> | ||
* contextActions -> contextualActions | * <s>contextActions -> contextualActions</s> | ||
* change the K_EXPORT stuff to support several plugins by lib | * change the K_EXPORT stuff to support several plugins by lib | ||
=== Plasma::RunnerScript === | === Plasma::RunnerScript === | ||
* change to new runner API | * change to new runner API | ||
* protected slots -> not slots | * <s>protected slots -> not slots</s> | ||
=== Plasma::DataEngineScript === | === <s>Plasma::DataEngineScript</s> === | ||
* Change to new API | * <s>Change to new API</s> | ||
== | == Personal Hotpoints Shared During Introductory Session == | ||
* Get QScript script bindings loading | * Get QScript script bindings loading |
Latest revision as of 18:56, 2 May 2008
API Reviews
Plasma::Theme
self() -> default() :NOTE: default is a C++ keyword, defaultTheme() perhaps?set application dies, use KGlobal insteadimplementation note: Theme::Private::config() shouldn't open config everytimeimage() -> imagePath()colors() -> KColorScheme colorScheme()color methods -> color(ColorRole) (enum)font methods -> font(RontRole) (enum)compositingActive -> windowTranslucencyEnabled (out of place?)changed() -> themeChanged()slots -> Q_PRIVATE_SLOT
Plasma::Corona
Remove constructor with size parametersRemove isKioskImmutable() -> protectedisImmutable() setIsImmutable() and isKioskImmutable() became immutability() and setImmutability()remove maxSizeHintloadDefaultSetup protected and loadDefaultLayoutclearApplets -> clearContainmentsconfig -> private Note : config protected in containments and applets
Note: remaining public for now applet needs it for Applet::globalConfig()
load/save applets -> load/save LayoutsscheduleConfigSync -> privateaddContainment not a slot ->splitaddContainment(id, delayedFlag) [private]addContainment() [public]
containmentFor screen -> Not slotcontainments() not a slotlaunchActivated -> to plasmaappscreenOwnerChanged -> to plasmaapp
Note: it's not really desktop specific, so will stay here
protected slots -> private
Terminology : layouts = Applets + containments organization
Plasma::Widget
deletion- Create a tooltip manager
Plasma::Svg
ContentType -> kill change methods using it to take bool and change their names to containsMultiplesImages (hmm actually not understood what this means :D)elementRect -> return a QRectFelementExists -> hasElementmatrixForElement -> privatesize -> group with resizemove private slots to a pimpl
Plasma::PanelSvg
should inherits of Plasma::SvgdrawXborder -> XbordercontentAtOrigin -> separate bool propertySvgPanel(path,parent) -> SvgPanel(parent)setFile + file() -> setImagePath + imagePath() NOTE : same modification in svg and theme classessetBorderFlags + borderFlags() -> setEnabledBorders + enabledBordersadd resize(x,y)setPrefix ->setElementsPrefixupdateSizes() -> Q_PRIVATE_SLOTpos + setPos died -> pos added to paintsetLocation() -> setElementPrefix(enum)location() -> died
Plasma::Applet
remainSquare()+setAspectRatioMode()->merge using our own aspect ratio mode enun- category()+name()+pluginName() dies->replaced by pluginInfo()
<!> pluginInfo() should return a hand-made KPluginInfo if id->appletDescription isValid()
resetConfigurationObject()->pimplwatchForMouseMove()-> ??? (the suggested registerDragHandles is a very bad name)protected setBackgroundHints() + public backgroundHings() const;as a result (set)DrawStandardBackground() dies
Note: being protected AppletScript can't change it anymore: AppletScript friend of Applet?
(set)configNeeded()->(is|set)ConfigurationRequired()+set protectedshape() dies*Opacity() dieslaunchActivated()-> releaseVisualFocus()configXml() -> configScheme()contextActions()->const+contextualActions()inherits QGraphicsWidgetinit()->protecgted+Corona::loadLayout() is friendconfig() methods->protected.globalConfig()->protected
Note: It has been decided the above two functions will remain public because if an applet uses an external QWidget it will have to access the configuration of the applet
constraintUpdated()->constraintEvent()+protected
Note: check again corona for events like methods
formFactors()->non virtual + get the containment impl there
==>Plasma::Containment::Private inherits Plasma::Applet::Private
location-> Plasma::Containment::PrivateknownApplets()->listAppletInfo()knownAppletsForMimetype()->listAppletInfoForMimeType()knownCategories()->listCategories()
Note: known*()->list*()
because of load(), ctors->protected
Note: containment wants to construct an Applet directly when creates the one with the failed to launch error message, but even if it's friend of applet it does that in the dptr, and this somewhere compiles somewhere not, generally not good.
color() die! die! die!isKioskmmutable()->pimplisImmutable() setIsImmutable() and isKioskImmutable() became immutability() and setImmutability()failedtoLaunch()->hasfailedToLaunch()setFailedToLaunch()->protectedhasCofigurationInterface()-> constsetHasConfigurationInterface()->protectedkill *StandardBackground()+*ShadowShown()
->enum BackgroundHint {NoBackground=0, StandardBackground, ShadowedBackground} +QFlag
set(is)containment()->set(ActsAs)Containment()+setter is protectedraise()->slot+addlower()requestFocus() diesshowConfigurationInterface()->nonvirtualcreateconfigurationInterface()->virtual protected, not slotFlush UpdatedConstraints()->Flush PendingCostraintEvents()ThemeChanged()->Q_PRIVATE_SLOTglobalName(), instanceName()->pimplwatchForFocus()->diesneedFocus()->diestopLeft()->diescheckImmutability()->Q_PRIVATE_SLOT
Plasma::Containments(aseigo)
- addToolBoxTool() -> addToolBoxAction(action)
- add removeToolBoxAction(action)
formfactor() & location() in AppletsetFormFactor() & setLocation() in ContainmentStyleOption::desktop diesList, Dict diesCustomContainment = 127setContainmentType() -> protectedsetIsContainment() -> dies (meat in applet)known...() -> list...()addApplet() -> splitaddApplet(name, args, point, size) [public]addApplet(name, args, point, size, id, delayedinit) [private]
indexAt() dies, add QPointF to appletAdded()setScreen() & screen() & effectiveScreenPos() -> diewill remain due to PUI relevance - aseigo(save|load)Constraints() -> pimplemitLaunchActivated() -> see Applet, maybe not publiccontainmentConstraingUpdated() -> pimpladd setToolBoxExpanded(bool) slot(show|hide)ToolBox() -> (expand|unexpand)ToolBox()launchActivated() -> see AppletzoomIn() & zoomOut() signals -> zoomRequested(containment, direction enum)showAddWidgets() -> showAddWidgetsInterface(QPointF)screenChanged() -> dies (move to plasma app ScreenManager)toggleDesktopImmutability() -> Q_PRIVATE_SLOTzoomIn() -> Q_PRIVATE_SLOTcreateLayout() -> diesprotected slots (except dropEvent()) & private slots & methods ->pimpl & Q_PRIVATE_SLOT
Plasma::DataEngine
sourceDict() -> containerDict()engineName() -> name() + add protected setName()connectSource() -> updateInterval -> pollingIntervalconnectAllSources() -> updateInterval -> pollingIntervalref() & deref() & isUsed() -> privatesetIcon() -> protectednewSource -> sourceAdded()sourceRequested -> sourceRequestEvent()updateSource() -> updateSourceEvent()setData() -> SHALL NOT remove source (fix APIDOX)clearData() -> removeAllData()setSourceLimit() -> DIE! DIE! DIE!clearSources() -> removeAllSources()checkForUpdates() -> scheduleSourcesUpdated()internalUpdateSource() -> Q_PRIVATE_SLOT
Plasma::DataEngineManager
ctor+dtor privateknownEngines()->listAllEngines()get()->engine()(un)load()->(un)loadEngine()
Plasma::DataContainer
clearData()->removeAllData()checkForUpdate()->protectedint timeSinceLastUpdate()->protected+return uinthasUpdates()->pimplsetNeedsUpdate()->pimplcheckUsage()->pimplconnectVisualization()->not slotunused()->becameUnused()requestUpdate()->updateRequested()
Plasma::View
(set)DrawWallpaper() -> (set|is)WallpaperEnabled()(set)Screen() -> plasma appgoing to leave this here, as the screen management is not manditory, but useful for any PUI - aseigo(set)Desktop() -> plasma appgoing to leave this here, as the screen management is not manditory, but useful for any PUI - aseigoeffectiveDesktop -> plasma appgoing to leave this here, as the screen management is not manditory, but useful for any PUI - aseigoconfig() -> protectedupdateSceneRect() -> Q_PRIVATE_SLOTinitGraphicsView() -> pimpl
Plasma::AbstractRunner
SlowSpeed before NormalSpeedload() -> loadAll()+ load() no = QString() for whitelistctors -> protectedconfg() -> protected- match() -> protected
(set)hasMatchOptions() -> (set)hasRunOptions()-> (set)hasExecOptions()? (proposed by bettio)createMatchOptions() -> createRunOptions()-> createExecOptions()? (proposed by bettio)runnerName() -> name()- init() -> Q_PRIVATE_SLOT
Plasma::SearchContext
- switch to value based for matches too
- matchesChanged() emitted from performMatch()
resetSearchTerm(QString) -> reset()mimetype() -> mimeType()addMatchesTo() -> copyMatchesTo() (copy -> move)- determineType() -> pimpl
clearMatches() -> removeAllMatches()
Plasma runner terminology
Plasma::SearchContext => Plasma::RunnerContextPlasma::SearchMatch => Plasma::QueryMatchIn the RunnerContext, RunnerResult and AbstractRunner APIs:
* search term => query
Plasma::Phase -> Plasma::Animator
Animation merges with ElementAnimation -> AppearAnimation,DisappearAnimation,ActivateAnimationSlideInMovement,SlideOutMovement,FastSlideInMovement, FastSlideOutMovementAnimId dies -> use intconstructor + destructor privateanimateItem, moveItem return intadd stopItemAnimation(int)animationCompleted() -> animationFinished()same for others signalprotected slots -> Q_PRIVATE_SLOTinit -> pimplsetAnimationPixmap -> setInitialPixmapanimationResult() -> currentPixmap
Plasma::AnimationDriver
FramesPerSeconds -> animationFramesPerSeconds, elementAnimationFramesPerSeconds,movementAnimationFramesPerSecondssame for duration and curveappear -> itemAppeardisappear -> itemDisappearactivate -> itemActivatedslide -> itemSlideelementX -> should use progress, not frame
Plasma::GlApplet
makeCurrent -> pimpl: actually, this is required to be public - aseigo
Plasma::Delegate
(Marco Martin)
- *columnType* -> device notifier
Needed for the delegate to know he must draw an icon smaller than the main one
ctor should have parent paramconstants ->pimplprotected non virtual-> pimpl
The protected methods are needed only by subclasses to know where to paint so they are still needed
setRole()->setRoleMapping(QMap) + add roleMapping() getter- fixme: copy rhs of whiteboard (missing)
Plasma::Dialog
(Ménard Alexis)
themeUpdated -> Q_PRIVATE_SLOT
Plasma::AppletBrowserWidget
remove containment from constructorprotected slots -> Q_PRIVATE_SLOTSprivate methods -> pimpl
Plasma::AppletBrowser
remove containment from constructor
NOTE : AppletBrowser and AppletBrowserWidget should be in different .h
Plasma::PackageMetadata
isComplete -> isValidwrite() -> remove icon parameter
Plasma::PackageStructure(josebur)
- must not inherits of QObject
- QList<char *> -> QStringList
- const char * -> QString
required -> isRequired()- (set)(Default)Mimetypes -> (set)(Default)Mimetypes ??
uninstallPackage -> packageName instead of param packagepathChanged -> died- Xtypes() -> XFormat()
Plasma::Package(josebur)
- const char * -> QString
knownPackages -> listInstalledinstallPackage -> installleave itregisterPackage -> registerKeyword! leave itcreatePackage -> createleave it- Missing uninstall
Plasma::ScriptEngine
contructor -> protectedprotected slots -> not slots- knowLanguages -> getScriptApis() ??
- loadScriptEngine() -> language param become a scriptAPI
- add version number to loading
Plasma::AppletScript
contentSizeHint -> diedconstraintsUpdated -> constraintsEventcontextActions -> contextualActions- change the K_EXPORT stuff to support several plugins by lib
Plasma::RunnerScript
- change to new runner API
protected slots -> not slots
Plasma::DataEngineScript
Change to new API
- Get QScript script bindings loading
- QScript Runners
- Cool scripting demo
- Webkit
- Default set of components for 4.1
- Clock applet library (and how to do that for other categories of applets)
- Improve existing applets
- Write new applets and engines
- Panel and panel config saner/pretification
- Kickoff UI
- Applet handles
- WoC
- Video in plasma
- Extenders
- System tray applet
- Keyboard shortcuts
- Plasma::Service
- Usability review
- Documentation
- Runtime
- Dev
- User
- Top level window physics
- Plasmoid grouping
- Plasma configuration UI
- Devices
- API review
- Generic webservice support
- Theming
- KIcon issues
- tooltip love (flickering, hiding..)
- krunner looks
- lock desktop work properly
- use createConfigurationInterface
- panel toolbox
- panel hiding
- twitter improvements
- Phase::Animator
- theme installation from files