From 749d8d900ca992836742118170fc9ff511f22620 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Wed, 15 May 2013 19:56:13 +0200 Subject: [PATCH] add private ctor --- src/plasma/plasma.cpp | 9 +++++++++ src/plasma/plasma.h | 3 +++ 2 files changed, 12 insertions(+) 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); }; /**