diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-13 10:08:07 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-13 10:08:07 +0200 |
| commit | f8b3b1d7944e7bb5a5dfb7ec349e064faec02329 (patch) | |
| tree | 4d0c3b0b807cf5fdc7662eba1501d77ddedf0456 /examples/GuiClient/rosterItem.h | |
| parent | 93fe5c0e92964cb72dae88849b3fa1e37eae15eb (diff) | |
| download | qxmpp-f8b3b1d7944e7bb5a5dfb7ec349e064faec02329.tar.gz | |
simplify roster
Diffstat (limited to 'examples/GuiClient/rosterItem.h')
| -rw-r--r-- | examples/GuiClient/rosterItem.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/examples/GuiClient/rosterItem.h b/examples/GuiClient/rosterItem.h index f348ee3e..894542f4 100644 --- a/examples/GuiClient/rosterItem.h +++ b/examples/GuiClient/rosterItem.h @@ -44,18 +44,11 @@ public: rosterItem(const QString& bareJid); - void setName(const QString& name); - QString getName(); - void setBareJid(const QString& bareJid); - void setStatusText(const QString& text); - void setStatusType(QXmppPresence::AvailableStatusType type); - void setPresenceType(QXmppPresence::Type type); void setAvatar(const QImage& image); + void setPresence(const QXmppPresence &presence); + void setName(const QString& name); QImage getAvatar(); - QString getBareJid(); - QString getStatusText(); - QXmppPresence::AvailableStatusType getStatusType(); - QXmppPresence::Type getPresenceType(); + QString getName(); }; class rosterItemDelegate : public QItemDelegate |
