X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreusersettings.h;h=3a8c6b391a7c8e3f3cfe66d641264a5b9bc7c346;hb=44a3dfc31a3461f3a507df324cd9397253c92eb3;hp=4a8621d87ca815cdd65e7f5c5cb01094bcf1e370;hpb=1607bfc3101e08fe0aeeaa3b50af6ddc9a4f9e3c;p=quassel.git diff --git a/src/core/coreusersettings.h b/src/core/coreusersettings.h index 4a8621d8..3a8c6b39 100644 --- a/src/core/coreusersettings.h +++ b/src/core/coreusersettings.h @@ -32,9 +32,14 @@ class CoreUserSettings : public CoreSettings { public: CoreUserSettings(UserId user); - void setIdentity(const Identity &identity); + void storeIdentity(const Identity &identity); + void removeIdentity(const Identity &identity); + Identity identity(IdentityId id); + QList identityIds(); + void setSessionState(const QVariant &data); + QVariant sessionState(const QVariant &def = QVariant()); private: // this stuff should only be accessed by CoreSession!