migrating identities from QSettings to the storage backend
[quassel.git] / src / core / coresession.h
index f8ada9a..d781f21 100644 (file)
@@ -78,7 +78,8 @@ public slots:
   //! Create an identity and propagate the changes to the clients.
   /** \param identity The identity to be created.
    */
-  void createIdentity(const Identity &identity, const QVariantMap &additional = QVariantMap());
+  void createIdentity(const Identity &identity, const QVariantMap &additional);
+  void createIdentity(const CoreIdentity &identity);
 
   //! Remove identity and propagate that fact to the clients.
   /** \param identity The identity to be removed.
@@ -153,6 +154,8 @@ private slots:
   void clientsConnected();
   void clientsDisconnected();
 
+  void updateIdentityBySender();
+
 private:
   void loadSettings();
   void initScriptEngine();