aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/themeinterface.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-30 21:09:18 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-03-30 13:54:12 -0700
commitce1629ccce2fef50a48f21ee99825b090274da8a (patch)
treeeffac541331785e1e8a2acc29e31353b836c597b /mobile-widgets/themeinterface.h
parent17027474593903792060f88a2522a05c3228558c (diff)
downloadsubsurface-ce1629ccce2fef50a48f21ee99825b090274da8a.tar.gz
coding style: rename themeInterface to ThemeInterface
As per coding style, class names are PascalCase. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'mobile-widgets/themeinterface.h')
-rw-r--r--mobile-widgets/themeinterface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/themeinterface.h b/mobile-widgets/themeinterface.h
index 622ce5eaa..1fb0c8186 100644
--- a/mobile-widgets/themeinterface.h
+++ b/mobile-widgets/themeinterface.h
@@ -6,7 +6,7 @@
#include <QSettings>
#include <QQmlContext>
-class themeInterface : public QObject {
+class ThemeInterface : public QObject {
Q_OBJECT
// Color themes
@@ -35,7 +35,7 @@ class themeInterface : public QObject {
Q_PROPERTY(QString currentTheme MEMBER m_currentTheme WRITE set_currentTheme NOTIFY currentThemeChanged)
public:
- static themeInterface *instance();
+ static ThemeInterface *instance();
void setup(QQmlContext *ct);
double currentScale();
@@ -66,7 +66,7 @@ signals:
void currentThemeChanged(const QString &);
private:
- themeInterface() {}
+ ThemeInterface() {}
void update_theme();
QColor m_backgroundColor;