add private ctor

This commit is contained in:
Marco Martin 2013-05-15 19:56:13 +02:00
parent 570d0bdc05
commit 749d8d900c
2 changed files with 12 additions and 0 deletions

View File

@ -28,6 +28,15 @@
namespace Plasma namespace Plasma
{ {
Types::Types(QObject *parent)
: QObject(parent)
{
}
Types::~Types()
{
}
Types::Direction locationToDirection(Types::Location location) Types::Direction locationToDirection(Types::Location location)
{ {
switch (location) { switch (location) {

View File

@ -39,6 +39,7 @@ class PLASMA_EXPORT Types : public QObject
Q_OBJECT Q_OBJECT
public: public:
~Types();
/** /**
* The Constraint enumeration lists the various constraints that Plasma * The Constraint enumeration lists the various constraints that Plasma
* objects have managed for them and which they may wish to react to, * objects have managed for them and which they may wish to react to,
@ -276,6 +277,8 @@ enum BackgroundHints {
}; };
Q_ENUMS(BackgroundHints) Q_ENUMS(BackgroundHints)
private:
Types(QObject *parent = 0);
}; };
/** /**