forked from blue/squawk
beautifull messageList, messages now being sent to full jid
This commit is contained in:
parent
e48444636a
commit
6e9e100188
12 changed files with 160 additions and 28 deletions
|
@ -9,7 +9,8 @@
|
|||
#include <deque>
|
||||
|
||||
namespace Models {
|
||||
|
||||
|
||||
class Account;
|
||||
class Contact : public Item
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -34,6 +35,7 @@ public:
|
|||
void appendChild(Models::Item * child) override;
|
||||
QString getAccountName() const;
|
||||
QString getAccountJid() const;
|
||||
QString getAccountResource() const;
|
||||
|
||||
void addMessage(const Shared::Message& data);
|
||||
unsigned int getMessagesCount() const;
|
||||
|
@ -42,6 +44,7 @@ public:
|
|||
|
||||
protected:
|
||||
void _removeChild(int index) override;
|
||||
const Account* getParentAccount() const;
|
||||
|
||||
protected slots:
|
||||
void refresh();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue