mobile-widgets: replace qmlprefs::theme with qPrefDisplay::theme

Shortcut and use qPrefDisplay::theme() direct

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-09-12 13:50:24 +02:00 committed by Dirk Hohndel
parent 51bc41b517
commit c9122283cc
4 changed files with 4 additions and 28 deletions

View file

@ -33,10 +33,6 @@ class QMLPrefs : public QObject {
MEMBER m_oldStatus
WRITE setOldStatus
NOTIFY oldStatusChanged)
Q_PROPERTY(QString theme
READ theme
WRITE setTheme
NOTIFY themeChanged)
public:
QMLPrefs();
~QMLPrefs();
@ -61,9 +57,6 @@ public:
bool showPin() const;
void setShowPin(bool enable);
const QString theme() const;
void setTheme(QString theme);
public slots:
void cancelCredentialsPinSetup();
void clearCredentials();
@ -84,7 +77,6 @@ signals:
void credentialStatusChanged();
void oldStatusChanged();
void showPinChanged();
void themeChanged();
};
#endif