X-Git-Url: http://git.maemo.org/git/?p=impuzzle;a=blobdiff_plain;f=src%2Fsettings.cpp;fp=src%2Fsettings.cpp;h=93af8baa27c0c41e47c2bb7c3886ddb6a0b11112;hp=62801af62b920b2af4dc100fdc2a5086e308f521;hb=3d0c7311ebed17f81381b264e767374a9e5d0ab4;hpb=840d9cd16b3959f56aa0cac05d983f5747600193 diff --git a/src/settings.cpp b/src/settings.cpp index 62801af..93af8ba 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -8,6 +8,7 @@ Settings::Settings(QObject *parent) : { pieceCount_ = EASY_PIECE_COUNT; image_ = 0; + imagePath_ = ""; } Settings *Settings::instance() @@ -38,3 +39,13 @@ void Settings::setImage(const QPixmap &image) { image_ = image; } + +QString Settings::imagePath() const +{ + return imagePath_; +} + +void Settings::setImagePath(const QString &path) +{ + imagePath_ = path; +}