X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreusersettings.h;h=01a72c8111929adf67e91d39cfe9205079bd2678;hb=fcacaaf16551524c7ebb6114254d005274cc3d63;hp=bf303cfad74e39509141a052bbf5ec79be004ce9;hpb=6623fd2d46dadd0168e4e28d1db6944c26c2a773;p=quassel.git diff --git a/src/core/coreusersettings.h b/src/core/coreusersettings.h index bf303cfa..01a72c81 100644 --- a/src/core/coreusersettings.h +++ b/src/core/coreusersettings.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel IRC Team * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * 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., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef _COREUSERSETTINGS_H_ @@ -28,9 +28,9 @@ #include -class CoreUserSettings : public CoreSettings { - - public: +class CoreUserSettings : public CoreSettings +{ +public: CoreUserSettings(UserId user); Identity identity(IdentityId id); @@ -38,15 +38,10 @@ class CoreUserSettings : public CoreSettings { void storeIdentity(const Identity &identity); void removeIdentity(IdentityId id); - NetworkInfo networkInfo(NetworkId id); - QList networkIds(); - void storeNetworkInfo(const NetworkInfo &info); - void removeNetworkInfo(NetworkId id); - void setSessionState(const QVariant &data); QVariant sessionState(const QVariant &def = QVariant()); - private: +private: // this stuff should only be accessed by CoreSession! QVariantMap sessionData(); QVariant sessionValue(const QString &key, const QVariant &def = QVariant()); @@ -57,4 +52,5 @@ class CoreUserSettings : public CoreSettings { friend class CoreSession; }; + #endif