X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=d8a2b4c996ee83b7c163e1765d478c78689df8b8;hb=533eaaeda64759c01daa624365b8fc63eeba5ccf;hp=fab9a9995af18cd03ad9402ee797debd3251830e;hpb=c7c0c7673942be376bbcab06dcc62b7f15e406a2;p=quassel.git diff --git a/src/client/client.h b/src/client/client.h index fab9a999..d8a2b4c9 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -53,6 +53,11 @@ class Client : public QObject { Q_OBJECT public: + enum ClientMode { + LocalCore, + RemoteCore + }; + static Client *instance(); static void destroy(); static void init(AbstractUi *); @@ -61,7 +66,6 @@ public: static QList buffers(); static Buffer *buffer(BufferId bufferUid); static Buffer *buffer(BufferInfo); - static inline Buffer *monitorBuffer() { return instance()->_monitorBuffer; } static QList networkIds(); static const Network * network(NetworkId); @@ -108,9 +112,6 @@ public: static void userInput(BufferInfo bufferInfo, QString message); - enum ClientMode { LocalCore, RemoteCore }; - - static void checkForHighlight(Message &msg); static void setBufferLastSeenMsg(BufferId id, const MsgId &msgId); // this is synced to core and other clients static void removeBuffer(BufferId id); @@ -176,7 +177,6 @@ private slots: void recvStatusMsg(QString network, QString message); void receiveBacklog(BufferId bufferId, const QVariantList &msgs); void updateBufferInfo(BufferInfo); - void updateLastSeenMsg(BufferId id, const MsgId &msgId); void bufferDestroyed(); void networkDestroyed(); @@ -226,8 +226,6 @@ private: QHash _networks; QHash _identities; - Buffer *_monitorBuffer; - static AccountId _currentCoreAccount; friend class ClientSyncer;