diff --git a/examples/dataengines/customDataContainers/customDataContainersEngine.cpp b/examples/dataengines/customDataContainers/customDataContainersEngine.cpp index 3d4786e8f..2cfe14251 100644 --- a/examples/dataengines/customDataContainers/customDataContainersEngine.cpp +++ b/examples/dataengines/customDataContainers/customDataContainersEngine.cpp @@ -64,7 +64,7 @@ bool DataContainersEngine::updateSourceEvent(const QString &source) } // export the plugin; use the plugin name and the class name -K_EXPORT_PLASMA_DATAENGINE_WITH_JSON(org.kde.examples.customDataContainers, DataContainersEngine, "plasma-dataengine-example-customDataContainers.json") +K_PLUGIN_CLASS_WITH_JSON(DataContainersEngine, "plasma-dataengine-example-customDataContainers.json") // include the moc file so the build system makes it for us #include "customDataContainersEngine.moc" diff --git a/examples/dataengines/simpleEngine/simpleEngine.cpp b/examples/dataengines/simpleEngine/simpleEngine.cpp index 6c539fbd4..a0f869f01 100644 --- a/examples/dataengines/simpleEngine/simpleEngine.cpp +++ b/examples/dataengines/simpleEngine/simpleEngine.cpp @@ -54,7 +54,7 @@ void SimpleEngine::init() } // export the plugin; use the plugin name and the class name -K_EXPORT_PLASMA_DATAENGINE_WITH_JSON(org.kde.examples.simpleEngine, SimpleEngine, "plasma-dataengine-example-simpleEngine.json") +K_PLUGIN_CLASS_WITH_JSON(SimpleEngine, "plasma-dataengine-example-simpleEngine.json") // include the moc file so the build system makes it for us #include "simpleEngine.moc" diff --git a/examples/dataengines/sourcesOnRequest/sourcesOnRequest.cpp b/examples/dataengines/sourcesOnRequest/sourcesOnRequest.cpp index dc4f7f53a..22a41653b 100644 --- a/examples/dataengines/sourcesOnRequest/sourcesOnRequest.cpp +++ b/examples/dataengines/sourcesOnRequest/sourcesOnRequest.cpp @@ -90,7 +90,7 @@ bool SourcesOnRequestEngine::updateSourceEvent(const QString &source) } // export the plugin; use the plugin name and the class name -K_EXPORT_PLASMA_DATAENGINE_WITH_JSON(org.kde.examples.sourcesOnRequest, SourcesOnRequestEngine, "plasma-dataengine-example-sourcesOnRequest.json") +K_PLUGIN_CLASS_WITH_JSON(SourcesOnRequestEngine, "plasma-dataengine-example-sourcesOnRequest.json") // include the moc file so the build system makes it for us #include "sourcesOnRequest.moc"