mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: qPref, remove inline and ; for inline functions
Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
d6983391c6
commit
264aa883b2
8 changed files with 58 additions and 58 deletions
|
|
@ -21,16 +21,16 @@ public:
|
|||
|
||||
// Load/Sync local settings (disk) and struct preference
|
||||
void loadSync(bool doSync);
|
||||
void inline load() { loadSync(false); }
|
||||
void inline sync() { loadSync(true); }
|
||||
void load() { loadSync(false); }
|
||||
void sync() { loadSync(true); }
|
||||
|
||||
public:
|
||||
static inline bool proxy_auth() { return prefs.proxy_auth; }
|
||||
static inline QString proxy_host() { return prefs.proxy_host; }
|
||||
static inline QString proxy_pass() { return prefs.proxy_pass; }
|
||||
static inline int proxy_port() { return prefs.proxy_port; }
|
||||
static inline int proxy_type() { return prefs.proxy_type; }
|
||||
static inline QString proxy_user() { return prefs.proxy_user; }
|
||||
static bool proxy_auth() { return prefs.proxy_auth; }
|
||||
static QString proxy_host() { return prefs.proxy_host; }
|
||||
static QString proxy_pass() { return prefs.proxy_pass; }
|
||||
static int proxy_port() { return prefs.proxy_port; }
|
||||
static int proxy_type() { return prefs.proxy_type; }
|
||||
static QString proxy_user() { return prefs.proxy_user; }
|
||||
|
||||
public slots:
|
||||
void set_proxy_auth(bool value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue