render only new requests
This commit is contained in:
@@ -21,11 +21,12 @@ class ChatItem
|
||||
int _confirmations;
|
||||
bool _outgoing = false;
|
||||
bool _notarize = false;
|
||||
bool _iscontact = false;
|
||||
|
||||
public:
|
||||
ChatItem();
|
||||
ChatItem(long timestamp, QString address, QString contact, QString memo,QString requestZaddr, QString type, QString cid, QString txid, int confirmations, bool notarize);
|
||||
ChatItem(long timestamp, QString address, QString contact, QString memo, QString requestZaddr, QString type, QString cid, QString txid, int confirmations, bool outgoing, bool notarize);
|
||||
ChatItem(long timestamp, QString address, QString contact, QString memo,QString requestZaddr, QString type, QString cid, QString txid, int confirmations, bool notarize, bool iscontact);
|
||||
ChatItem(long timestamp, QString address, QString contact, QString memo, QString requestZaddr, QString type, QString cid, QString txid, int confirmations, bool outgoing, bool notarize, bool iscontact);
|
||||
long getTimestamp();
|
||||
QString getAddress();
|
||||
QString getContact();
|
||||
@@ -38,6 +39,7 @@ class ChatItem
|
||||
bool isOutgoing();
|
||||
bool isdouble();
|
||||
bool isNotarized();
|
||||
bool isContact();
|
||||
void setTimestamp(long timestamp);
|
||||
void setAddress(QString address);
|
||||
void setContact(QString contact);
|
||||
@@ -49,6 +51,7 @@ class ChatItem
|
||||
void setConfirmations(int confirmations);
|
||||
void toggleOutgo();
|
||||
void notarized();
|
||||
void contact(bool iscontact);
|
||||
QString toChatLine();
|
||||
json toJson();
|
||||
~ChatItem();
|
||||
|
||||
Reference in New Issue
Block a user