projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake: avoid de-duplication of user's CXXFLAGS
[quassel.git]
/
src
/
core
/
coresettings.h
diff --git
a/src/core/coresettings.h
b/src/core/coresettings.h
index
749c8ec
..
7dbf198
100644
(file)
--- a/
src/core/coresettings.h
+++ b/
src/core/coresettings.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-
08 by the Quassel Project
*
+ * Copyright (C) 2005-
2022 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,32
+15,26
@@
* 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.
*
***************************************************************************/
***************************************************************************/
-#ifndef _CORESETTINGS_H_
-#define _CORESETTINGS_H_
+#pragma once
-#include "global.h"
#include "settings.h"
#include "settings.h"
-class CoreSettings : public Settings {
+class CoreSettings : public Settings
+{
+public:
+ CoreSettings(QString group = "Core");
- public:
- virtual ~CoreSettings();
- CoreSettings(const QString group = "Core");
+ void setStorageSettings(const QVariant& data);
+ QVariant storageSettings(const QVariant& def = {}) const;
- void set
StorageSettings(const QVariant &
data);
- QVariant
storageSettings(const QVariant &def = QVariant())
;
+ void set
AuthSettings(const QVariant&
data);
+ QVariant
authSettings(const QVariant& def = {}) const
;
- QVariant oldDbSettings(); // FIXME remove
-
- void setPort(const uint &port);
- uint port(const uint &def = Global::defaultPort);
-
- void setCoreState(const QVariant &data);
- QVariant coreState(const QVariant &def = QVariant());
+ QVariant oldDbSettings() const; // FIXME remove
+ void setCoreState(const QVariant& data);
+ QVariant coreState(const QVariant& def = {}) const;
};
};
-
-#endif /*_CORESETTINGS_H_*/