diff --git a/src/plasmaview/shellpluginloader.cpp b/src/plasmaview/shellpluginloader.cpp index 5d0c9abd0..c2f9e17ee 100644 --- a/src/plasmaview/shellpluginloader.cpp +++ b/src/plasmaview/shellpluginloader.cpp @@ -21,18 +21,19 @@ #include "shellpackage_p.h" -ShellPluginLoader::ShellPluginLoader() - : Plasma::PluginLoader() +class ShellPluginLoaderPrivate +{ +public: + ShellPluginLoaderPrivate(); + ~ShellPluginLoaderPrivate(); + Plasma::Package internalLoadPackage(const QString &packageFormat, const QString &specialization); +}; + +ShellPluginLoaderPrivate::ShellPluginLoaderPrivate() { } -ShellPluginLoader::~ShellPluginLoader() -{ -} - - - -Plasma::Package ShellPluginLoader::internalLoadPackage(const QString &packageFormat, const QString &specialization) +Plasma::Package ShellPluginLoaderPrivate::internalLoadPackage(const QString &packageFormat, const QString &specialization) { Q_UNUSED(specialization) @@ -43,3 +44,23 @@ Plasma::Package ShellPluginLoader::internalLoadPackage(const QString &packageFor return Plasma::Package(); } } + + + + +/////////////////////ShellPluginLoader +ShellPluginLoader::ShellPluginLoader() + : Plasma::PluginLoader(), + d(new ShellPluginLoaderPrivate()) +{ +} + +ShellPluginLoader::~ShellPluginLoader() +{ +} + +Plasma::Package ShellPluginLoader::internalLoadPackage(const QString &packageFormat, const QString &specialization) +{ + return d->internalLoadPackage(packageFormat, specialization); +} + diff --git a/src/plasmaview/shellpluginloader.h b/src/plasmaview/shellpluginloader.h index 204b20f6b..e8234b71d 100644 --- a/src/plasmaview/shellpluginloader.h +++ b/src/plasmaview/shellpluginloader.h @@ -23,6 +23,8 @@ #include #include +class ShellPluginLoaderPrivate; + class PLASMAVIEW_EXPORT ShellPluginLoader : public Plasma::PluginLoader { public: @@ -31,6 +33,8 @@ public: protected: Plasma::Package internalLoadPackage(const QString &packageFormat, const QString &specialization); +private: + ShellPluginLoaderPrivate *const d; };