aboutsummaryrefslogtreecommitdiff
path: root/examples/GuiClient/rosterItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/GuiClient/rosterItem.h')
-rw-r--r--examples/GuiClient/rosterItem.h13
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