Make Skin constructor private.

This commit is contained in:
Daniel Svensson 2006-03-10 14:28:58 +01:00
parent 122884586a
commit 98d56cf42d
2 changed files with 1 additions and 11 deletions

3
Skin.h
View file

@ -14,8 +14,6 @@ class Skin : public QWidget
Q_OBJECT
public:
static Skin *getInstance (void);
Skin ();
~Skin();
void setSkin (const QString& name);
static QPixmap getPixmap (const QString&, QDir);
@ -190,6 +188,7 @@ class Skin : public QWidget
PLS_RCBAR
};
private:
Skin() {};
static Skin *singleton;
QPixmap *Skin::getPixmap (const QString& file);