X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=610e732fa399a0fe4ff77839671901a1e61c22db;hp=40949ac51ac0caa78ad243703cc6d510da70853d;hb=ac21cc48d22f0cf58a98b74754fa94564a8e3f45;hpb=4493458caaa821deb69a0cddf13beb98394977bb diff --git a/src/client/client.h b/src/client/client.h index 40949ac5..610e732f 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -34,6 +34,7 @@ class MessageModel; class AbstractMessageProcessor; class Identity; +class CertIdentity; class Network; class AbstractUi; @@ -68,14 +69,14 @@ public: static const Network * network(NetworkId); static QList identityIds(); - static const Identity * identity(IdentityId); + static const Identity *identity(IdentityId); //! Request creation of an identity with the given data. /** The request will be sent to the core, and will be propagated back to all the clients * with a new valid IdentityId. * \param identity The identity template for the new identity. It does not need to have a valid ID. */ - static void createIdentity(const Identity &identity); + static void createIdentity(const CertIdentity &identity); //! Request update of an identity with the given data. /** The request will be sent to the core, and will be propagated back to all the clients. @@ -141,7 +142,7 @@ signals: void identityRemoved(IdentityId id); //! Sent to the core when an identity shall be created. Should not be used elsewhere. - void requestCreateIdentity(const Identity &); + void requestCreateIdentity(const Identity &, const QVariantMap &); //! Sent to the core when an identity shall be removed. Should not be used elsewhere. void requestRemoveIdentity(IdentityId);