diff --git a/src/plasma/plasma.cpp b/src/plasma/plasma.cpp index b37059b78..57e3c7351 100644 --- a/src/plasma/plasma.cpp +++ b/src/plasma/plasma.cpp @@ -28,6 +28,15 @@ namespace Plasma { +Types::Types(QObject *parent) + : QObject(parent) +{ +} + +Types::~Types() +{ +} + Types::Direction locationToDirection(Types::Location location) { switch (location) { diff --git a/src/plasma/plasma.h b/src/plasma/plasma.h index 65fe1ff63..6c2014564 100644 --- a/src/plasma/plasma.h +++ b/src/plasma/plasma.h @@ -39,6 +39,7 @@ class PLASMA_EXPORT Types : public QObject Q_OBJECT public: + ~Types(); /** * The Constraint enumeration lists the various constraints that Plasma * objects have managed for them and which they may wish to react to, @@ -276,6 +277,8 @@ enum BackgroundHints { }; Q_ENUMS(BackgroundHints) +private: + Types(QObject *parent = 0); }; /**