X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=b51cc507834ea3f7a4915e9a54314bb4136bcc3e;hp=30a3d164ddc7847176d9ff66ed91cde7d07318b5;hb=9f9d207ecf28dd5470ecef9d4076a3f447662a20;hpb=e0872cf3b3cdb8c52c5a52f32c3140143a29409d diff --git a/src/client/client.h b/src/client/client.h index 30a3d164..b51cc507 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -62,8 +62,6 @@ public: static Buffer *buffer(BufferInfo); static inline Buffer *monitorBuffer() { return instance()->_monitorBuffer; } - Buffer *statusBuffer(const NetworkId &networkid) const; - static QList networkIds(); static const Network * network(NetworkId); @@ -108,7 +106,7 @@ public: enum ClientMode { LocalCore, RemoteCore }; static void checkForHighlight(Message &msg); - static void setBufferLastSeen(BufferId id, const QDateTime &seen); // this is synced to core and other clients + static void setBufferLastSeenMsg(BufferId id, const MsgId &msgId); // this is synced to core and other clients static void removeBuffer(BufferId id); signals: @@ -172,7 +170,7 @@ private slots: void recvStatusMsg(QString network, QString message); void recvBacklogData(BufferInfo, QVariantList, bool); void updateBufferInfo(BufferInfo); - void updateLastSeen(BufferId id, const QDateTime &lastSeen); + void updateLastSeenMsg(BufferId id, const MsgId &msgId); void layoutMsg(); @@ -195,6 +193,8 @@ private: static void setCurrentCoreAccount(AccountId); static inline BufferSyncer *bufferSyncer() { return instance()->_bufferSyncer; } + Buffer *statusBuffer(const NetworkId &networkid) const; + static QPointer instanceptr; QPointer socket;