#include "selectionmodelsynchronizer.h"
#include "modelpropertymapper.h"
+#include "clientsettings.h"
+
class MappedSelectionModel;
class QAbstractItemView;
class Network;
Q_DECLARE_FLAGS(ActivityLevel, Activity)
ActivityLevel activity() const;
- void setActivity(const ActivityLevel &level);
+ bool setActivity(const ActivityLevel &level);
void updateActivity(const ActivityLevel &level);
+ void setLastMsgInsert(QDateTime msgDate);
+ bool setLastSeen();
+ QDateTime lastSeen();
+
public slots:
void setTopic(const QString &topic);
void join(IrcUser *ircUser);
BufferInfo _bufferInfo;
ActivityLevel _activity;
Type _type;
+ QDateTime _lastMsgInsert;
+ QDateTime _lastSeen;
QPointer<IrcChannel> _ircChannel;
};
BufferIdRole,
NetworkIdRole,
BufferInfoRole,
- ItemTypeRole
+ ItemTypeRole,
+ LastSeenRole
};
enum itemTypes {