package structures: Use K_PLUGIN_CLASS_WITH_JSON directly
Task: https://phabricator.kde.org/T14542
This commit is contained in:
parent
3063e43abd
commit
8df168592b
@ -64,6 +64,6 @@ void ContextTest::save(KConfigGroup &config)
|
||||
config.writeEntry("test-text", m_text);
|
||||
}
|
||||
|
||||
K_EXPORT_PLASMA_CONTAINMENTACTIONS_WITH_JSON(containmentactions_test, ContextTest, "plasma-containmentactions-test.desktop")
|
||||
K_PLUGIN_CLASS_WITH_JSON(ContextTest, "plasma-containmentactions-test.desktop")
|
||||
|
||||
#include "test.moc"
|
||||
|
@ -27,6 +27,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(ContainmentActionsPackage, "containmentactions-packagestructure.json")
|
||||
K_PLUGIN_CLASS_WITH_JSON(ContainmentActionsPackage, "containmentactions-packagestructure.json")
|
||||
|
||||
#include "containmentactionspackage.moc"
|
||||
|
@ -40,6 +40,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(DataEnginePackage, "dataengine-packagestructure.json")
|
||||
K_PLUGIN_CLASS_WITH_JSON(DataEnginePackage, "dataengine-packagestructure.json")
|
||||
|
||||
#include "dataenginepackage.moc"
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <kpackage/package.h>
|
||||
#include <kpackage/packagestructure.h>
|
||||
|
||||
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(Plasma::GenericPackage, "plasmageneric-packagestructure.json")
|
||||
using namespace Plasma;
|
||||
K_PLUGIN_CLASS_WITH_JSON(GenericPackage, "plasmageneric-packagestructure.json")
|
||||
|
||||
#include "plasmagenericpackage.moc"
|
||||
|
@ -75,6 +75,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(ThemePackage, "plasmatheme-packagestructure.json")
|
||||
K_PLUGIN_CLASS_WITH_JSON(ThemePackage, "plasmatheme-packagestructure.json")
|
||||
|
||||
#include "plasmathemepackage.moc"
|
||||
|
@ -45,6 +45,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
K_EXPORT_KPACKAGE_PACKAGE_WITH_JSON(PlasmoidPackage, "plasmoid-packagestructure.json")
|
||||
K_PLUGIN_CLASS_WITH_JSON(PlasmoidPackage, "plasmoid-packagestructure.json")
|
||||
|
||||
#include "plasmoidpackage.moc"
|
||||
|
Loading…
x
Reference in New Issue
Block a user