mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
coding style: rename themeInterface to ThemeInterface
As per coding style, class names are PascalCase. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
1702747459
commit
ce1629ccce
3 changed files with 11 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue