summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Roster/ContactRosterItem.cpp')
-rw-r--r--Swiften/Roster/ContactRosterItem.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Roster/ContactRosterItem.cpp b/Swiften/Roster/ContactRosterItem.cpp
index 06f8536..39e96bd 100644
--- a/Swiften/Roster/ContactRosterItem.cpp
+++ b/Swiften/Roster/ContactRosterItem.cpp
@@ -22,6 +22,10 @@ ContactRosterItem::~ContactRosterItem() {
delete widget_;
}
+void ContactRosterItem::setName(const String& name) {
+ widget_->setText(name);
+}
+
StatusShow::Type ContactRosterItem::getStatusShow() {
return statusShow_;
}