mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Whitespace cleanup core/settings
We can argue about any of the changes here, but they are the result of our whitespace.pl script - so if any of this is offensive to you, part of the resolution will be fixing the script... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
68b5fe9ccb
commit
128fc5f4b8
9 changed files with 181 additions and 181 deletions
|
@ -23,25 +23,25 @@ public:
|
|||
void inline sync() { loadSync(true); }
|
||||
|
||||
public:
|
||||
static inline QString divelist_font() {return prefs.divelist_font; };
|
||||
static inline double font_size() {return prefs.font_size; };
|
||||
static inline bool display_invalid_dives() {return prefs.display_invalid_dives; };
|
||||
static inline bool show_developer() {return prefs.show_developer; };
|
||||
static inline QString theme() {return prefs.theme; };
|
||||
static inline QString divelist_font() { return prefs.divelist_font; };
|
||||
static inline double font_size() { return prefs.font_size; };
|
||||
static inline bool display_invalid_dives() { return prefs.display_invalid_dives; };
|
||||
static inline bool show_developer() { return prefs.show_developer; };
|
||||
static inline QString theme() { return prefs.theme; };
|
||||
|
||||
public slots:
|
||||
void set_divelist_font(const QString& value);
|
||||
void set_divelist_font(const QString &value);
|
||||
void set_font_size(double value);
|
||||
void set_display_invalid_dives(bool value);
|
||||
void set_show_developer(bool value);
|
||||
void set_theme(const QString& value);
|
||||
void set_theme(const QString &value);
|
||||
|
||||
signals:
|
||||
void divelist_font_changed(const QString& value);
|
||||
void divelist_font_changed(const QString &value);
|
||||
void font_size_changed(double value);
|
||||
void display_invalid_dives_changed(bool value);
|
||||
void show_developer_changed(bool value);
|
||||
void theme_changed(const QString& value);
|
||||
void theme_changed(const QString &value);
|
||||
|
||||
private:
|
||||
// functions to load/sync variable with disk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue