Plasma/libplasma2/API Review/Corona: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
{{FeatureDone|Keep| QList<Containment*> containments() const;}} | {{FeatureDone|Keep| QList<Containment*> containments() const;}} | ||
{{FeatureDone|Keep|KSharedConfig::Ptr config() const;}} | {{FeatureDone|Keep|KSharedConfig::Ptr config() const;}} | ||
{{FeatureDone|Rename|Containment *addContainment(const QString &name, const QVariantList &args | {{FeatureDone|Rename|Containment *addContainment(const QString &name, const QVariantList &args ); ->createContainment, remove args}} | ||
{{FeatureDone|Keep|Containment *containmentForScreen(int screen) const;}} | {{FeatureDone|Keep|Containment *containmentForScreen(int screen) const;}} | ||
{{FeatureTodo|Remove|Containment *containmentForScreen(int screen, const QString &defaultPluginIfNonExistent, const QVariantList &defaultArgs | {{FeatureTodo|Remove|Containment *containmentForScreen(int screen, const QString &defaultPluginIfNonExistent, const QVariantList &defaultArgs );}} | ||
{{FeatureDone|Keep|virtual int numScreens() const;}} | {{FeatureDone|Keep|virtual int numScreens() const;}} | ||
{{FeatureDone|Keep|virtual QRect screenGeometry(int id) const;}} | {{FeatureDone|Keep|virtual QRect screenGeometry(int id) const;}} | ||
Line 23: | Line 23: | ||
{{FeatureDone|Keep|QList<Plasma::Location> freeEdges(int screen) const;}} | {{FeatureDone|Keep|QList<Plasma::Location> freeEdges(int screen) const;}} | ||
{{FeatureTodo|Remove| void updateShortcuts();-> Only used internally, don’t expose}} | {{FeatureTodo|Remove| void updateShortcuts();-> Only used internally, don’t expose}} | ||
{{FeatureTodo|Remove| void addShortcuts(KActionCollection *newShortcuts);}} | {{FeatureTodo|Remove| void addShortcuts(KActionCollection *newShortcuts); also remove: | ||
* CoronaPrivate::actionCollections | |||
* "configure shortcuts" actions | |||
* CoronaPrivate::showShortcutConfig }} | |||
{{FeatureDone|Keep|KActionCollection* actions() const;}} | |||
{{FeatureTodo|Remove| void setContainmentActionsDefault(Plasma::ContainmentType containmentType, QEventQString *trigger, const QString &name);}} | |||
{{FeatureTodo|Remove| QString containmentActionsDefault(ContainmentType containmentType, QEvent *triggerQString &trigger) const;}} | |||
{{FeatureTodo|Rename| QHash<QString, QString>containmentActionsDefaults(ContainmentType containmentType) const; ->defaultContainmentActions() and reads what’s in the package()}} | |||
{{FeatureTodo|Remove| void setDialogManager(AbstractDialogManager *manager); Remove AbstractDialogManager class}} | |||
{{FeatureTodo|Remove| AbstractDialogManager *dialogManager();}} | |||
{{FeatureTodo|Remove| QString preferredToolBoxPlugin(const ContainmentType type) const; -> into the package()}} | |||
{{FeatureDone|Keep|QList<Plasma::Containment *> importLayout(const KConfigGroup &config);}} | |||
{{FeatureDone|Keep|void exportLayout(KConfigGroup &config, QList<Containment*> containments);}} | |||
|} | |} |
Revision as of 14:12, 4 March 2013
as
Status | Action | Method | |
---|---|---|---|
DONE | Keep | explicit Corona(QObject * parent); | |
DONE | Keep | ~Corona(); | |
DONE | Keep | Plasma::Package package() const; | |
TO DO | Remove | void setAppletMimeType(const QString &mimetype); | <{{{3}}}> |
TO DO | Remove | QString appletMimeType(); | <{{{3}}}> |
TO DO | Remove | QString defaultContainmentPlugin() const; -> will be in the package | <{{{3}}}> |
DONE | Keep | QList<Containment*> containments() const; | |
DONE | Keep | KSharedConfig::Ptr config() const; | |
DONE | Rename | Containment *addContainment(const QString &name, const QVariantList &args ); ->createContainment, remove args | |
DONE | Keep | Containment *containmentForScreen(int screen) const; | |
TO DO | Remove | Containment *containmentForScreen(int screen, const QString &defaultPluginIfNonExistent, const QVariantList &defaultArgs ); | <{{{3}}}> |
DONE | Keep | virtual int numScreens() const; | |
DONE | Keep | virtual QRect screenGeometry(int id) const; | |
DONE | Keep | virtual QRegion availableScreenRegion(int id) const; | |
DONE | Keep | QList<Plasma::Location> freeEdges(int screen) const; | |
TO DO | Remove | void updateShortcuts();-> Only used internally, don’t expose | <{{{3}}}> |
TO DO | Remove | void addShortcuts(KActionCollection *newShortcuts); also remove:
* CoronaPrivate::actionCollections * "configure shortcuts" actions * CoronaPrivate::showShortcutConfig |
<{{{3}}}> |
DONE | Keep | KActionCollection* actions() const; | |
TO DO | Remove | void setContainmentActionsDefault(Plasma::ContainmentType containmentType, QEventQString *trigger, const QString &name); | <{{{3}}}> |
TO DO | Remove | QString containmentActionsDefault(ContainmentType containmentType, QEvent *triggerQString &trigger) const; | <{{{3}}}> |
TO DO | Rename | QHash<QString, QString>containmentActionsDefaults(ContainmentType containmentType) const; ->defaultContainmentActions() and reads what’s in the package() | <{{{3}}}> |
TO DO | Remove | void setDialogManager(AbstractDialogManager *manager); Remove AbstractDialogManager class | <{{{3}}}> |
TO DO | Remove | AbstractDialogManager *dialogManager(); | <{{{3}}}> |
TO DO | Remove | QString preferredToolBoxPlugin(const ContainmentType type) const; -> into the package() | <{{{3}}}> |
DONE | Keep | QList<Plasma::Containment *> importLayout(const KConfigGroup &config); | |
DONE | Keep | void exportLayout(KConfigGroup &config, QList<Containment*> containments);
|