projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clazy: Convert many old-style connects into function pointer based
[quassel.git]
/
src
/
core
/
coresettings.cpp
diff --git
a/src/core/coresettings.cpp
b/src/core/coresettings.cpp
index
8d0a5ce
..
a914856
100644
(file)
--- a/
src/core/coresettings.cpp
+++ b/
src/core/coresettings.cpp
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-
08 by the Quassel Project
*
+ * Copyright (C) 2005-
2018 by the Quassel Project
*
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-15,36
+15,55
@@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 5
9 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
+ * 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
***************************************************************************/
#include "coresettings.h"
#include "quassel.h"
***************************************************************************/
#include "coresettings.h"
#include "quassel.h"
-CoreSettings::CoreSettings(const QString group) : Settings(group, Quassel::buildInfo().coreApplicationName) {
+CoreSettings::CoreSettings(const QString group) : Settings(group, Quassel::buildInfo().coreApplicationName)
+{
}
}
-CoreSettings::~CoreSettings() {
+
+void CoreSettings::setStorageSettings(const QVariant &data)
+{
+ setLocalValue("StorageSettings", data);
+}
+
+
+QVariant CoreSettings::storageSettings(const QVariant &def)
+{
+ return localValue("StorageSettings", def);
}
}
-void CoreSettings::setStorageSettings(const QVariant &data) {
- setLocalValue("StorageSettings", data);
+
+QVariant CoreSettings::authSettings(const QVariant &def)
+{
+ return localValue("AuthSettings", def);
}
}
-QVariant CoreSettings::storageSettings(const QVariant &def) {
- return localValue("StorageSettings", def);
+
+void CoreSettings::setAuthSettings(const QVariant &data)
+{
+ setLocalValue("AuthSettings", data);
}
// FIXME remove
}
// FIXME remove
-QVariant CoreSettings::oldDbSettings() {
- return localValue("DatabaseSettings");
+QVariant CoreSettings::oldDbSettings()
+{
+ return localValue("DatabaseSettings");
}
}
-void CoreSettings::setCoreState(const QVariant &data) {
- setLocalValue("CoreState", data);
+
+void CoreSettings::setCoreState(const QVariant &data)
+{
+ setLocalValue("CoreState", data);
}
}
-QVariant CoreSettings::coreState(const QVariant &def) {
- return localValue("CoreState", def);
+
+QVariant CoreSettings::coreState(const QVariant &def)
+{
+ return localValue("CoreState", def);
}
}