Updating changelog
[impuzzle] / src / settings.h
1 #ifndef SETTINGS_H
2 #define SETTINGS_H
3
4 #include <QObject>
5 #include <QPixmap>
6
7 class Settings : public QObject
8 {
9     Q_OBJECT
10
11 public:
12     static Settings *instance();
13
14     int pieceCount() const;
15     void setPieceCount(const int pieces);
16
17     QPixmap image() const;
18     void setImage(const QPixmap &image);
19
20 private:
21     Settings(QObject *parent = 0);
22
23     static Settings *instance_;
24
25     int pieceCount_;
26     QPixmap image_;
27 };
28 #endif