24 #ifndef DIGIKAM_VKONTAKTE_MESSAGEINFO_H
25 #define DIGIKAM_VKONTAKTE_MESSAGEINFO_H
37 class MessageInfo :
public QObject
42 Q_PROPERTY(QString date WRITE setDateString READ dateString)
43 Q_PROPERTY(
int uid WRITE setUid READ uid)
44 Q_PROPERTY(
int mid WRITE setMid READ mid)
45 Q_PROPERTY(QString title WRITE setTitle READ title)
46 Q_PROPERTY(QString body WRITE setBody READ body)
47 Q_PROPERTY(
int read_state WRITE setReadState READ readState)
48 Q_PROPERTY(
int out WRITE setOut READ out)
51 Q_PROPERTY(QString chat_id WRITE setChatId READ chatId)
52 Q_PROPERTY(QString chat_active WRITE setChatActive READ chatActive)
63 void setDateString(
const QString& createdDate);
68 QString dateString()
const;
73 QDateTime date()
const;
81 void setTitle(
const QString& title);
82 QString title()
const;
87 QString coreTitle()
const;
89 void setBody(
const QString& body);
92 void setReadState(
int readState);
93 int readState()
const;
98 void setChatId(
const QString& chatId);
99 QString chatId()
const;
101 void setChatActive(
const QString& chatActive);
102 QString chatActive()
const;
104 QString remoteId()
const;
115 class MessageInfoPtr :
public QSharedPointer<MessageInfo>
119 explicit MessageInfoPtr(MessageInfo*
const ptr);
124 bool operator<(
const MessageInfoPtr& o)
const;
bool operator<(const FbUser &first, const FbUser &second)
Definition: fbtalker.cpp:69