Jump to content

Plasma/PortingTolibplasma2: Difference between revisions

From KDE Community Wiki
Aseigo (talk | contribs)
Aseigo (talk | contribs)
No edit summary
Line 9: Line 9:
== Containment ==
== Containment ==
* listContainmentsForMimetype becomes listContainmentsForMimeType
* listContainmentsForMimetype becomes listContainmentsForMimeType
* context() was removed
* setActivity(QString) and activity() now use activity IDs rather than names


== Wallpaper ==
== Context ==
* listWallpapersForMimetype becomes listWallpapersForMimeType
* Plasma::Context has been removed; the Activity DataEngines or KActivity* classes should be used instead.


== PackageStructure ==
== PackageStructure ==
Line 17: Line 19:
* setDefaultMimetypes -> setDefaultMimeTypes
* setDefaultMimetypes -> setDefaultMimeTypes
* mimetypes(const char*) -> mimeTypes(const char*)
* mimetypes(const char*) -> mimeTypes(const char*)
== Plasma Namespace ==
* ContextConstraint is no longer a member of the Plasma::Constraint enumeration
== Wallpaper ==
* listWallpapersForMimetype becomes listWallpapersForMimeType

Revision as of 07:36, 20 May 2011

AbstractRunner

  • init() is now virtual; does not need to be a slot
  • mimeDataForMatch is now virtual; does not need to be a slot
  • mimeDataForMatch is now passed the QueryMatch by reference rather than as a pointer

Applet

  • listAppletInfoForMimetype becomes listAppletInfoForMimeType

Containment

  • listContainmentsForMimetype becomes listContainmentsForMimeType
  • context() was removed
  • setActivity(QString) and activity() now use activity IDs rather than names

Context

  • Plasma::Context has been removed; the Activity DataEngines or KActivity* classes should be used instead.

PackageStructure

  • setMimetypes -> setMimeTypes
  • setDefaultMimetypes -> setDefaultMimeTypes
  • mimetypes(const char*) -> mimeTypes(const char*)

Plasma Namespace

  • ContextConstraint is no longer a member of the Plasma::Constraint enumeration

Wallpaper

  • listWallpapersForMimetype becomes listWallpapersForMimeType