@@ -1,5 +1,5 @@
2− * Copyright 2015 Canonical Ltd.
2+ * Copyright 2015-2016 Canonical Ltd.
4 * This program is free software; you can redistribute it and/or modify
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
5 * it under the terms of the GNU Lesser General Public License as published by
@@ -14,8 +14,7 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17−#ifndef CONSTANTS_H
17+#pragma once
20#include <QObject>
19#include <QObject>
@@ -30,14 +29,15 @@ class Constants: public QObject
32 Q_PROPERTY(int indicatorValueTimeout READ indicatorValueTimeout CONSTANT)
31 Q_PROPERTY(int indicatorValueTimeout READ indicatorValueTimeout CONSTANT)
32+ Q_PROPERTY(QString defaultWallpaper READ defaultWallpaper CONSTANT)
35 Constants(QObject *parent = 0);
35 Constants(QObject *parent = 0);
37 int indicatorValueTimeout() const { return m_indicatorValueTimeout; }
37 int indicatorValueTimeout() const { return m_indicatorValueTimeout; }
38+ QString defaultWallpaper() const { return m_defaultWallpaper; }
40 int m_indicatorValueTimeout;
41 int m_indicatorValueTimeout;
42+ QString m_defaultWallpaper;