X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.h;h=a0b7fee82f0d535caf15953cb7e6ce38114cef78;hb=b324a124e384bd8c9f54d97c5b5d6a5cc50fd91b;hp=f227de4f24bb546a781480893fb6cd5a9f8f55b4;hpb=a5dfcc8ecf8b81025d24b3c5c816169e3e030ea4;p=quassel.git diff --git a/src/core/corenetwork.h b/src/core/corenetwork.h index f227de4f..a0b7fee8 100644 --- a/src/core/corenetwork.h +++ b/src/core/corenetwork.h @@ -35,7 +35,7 @@ #include "coresession.h" -class Identity; +class CoreIdentity; class IrcServerHandler; class UserInputHandler; class CtcpHandler; @@ -48,7 +48,7 @@ public: ~CoreNetwork(); inline virtual const QMetaObject *syncMetaObject() const { return &Network::staticMetaObject; } - inline Identity *identityPtr() const { return coreSession()->identity(identity()); } + inline CoreIdentity *identityPtr() const { return coreSession()->identity(identity()); } inline CoreSession *coreSession() const { return _coreSession; } inline IrcServerHandler *ircServerHandler() const { return _ircServerHandler; } @@ -105,7 +105,7 @@ public slots: bool setAutoWhoDone(const QString &channel); - inline const Server &usedServer() const { return serverList()[_lastUsedServerIndex]; } + Server usedServer() const; signals: void recvRawServerMsg(QString); @@ -136,7 +136,6 @@ private slots: void startAutoWhoCycle(); #ifdef HAVE_SSL - void sslSocketConnected(); void sslErrors(const QList &errors); #endif