summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-08-16 11:10:59 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-08-16 11:15:20 (GMT)
commitc16133bf881a4eeb988d17ff318e4833a524997e (patch)
tree43fbd90e2691f971f73566cb069b0f38fbd7dae5 /Swift/QtUI/QtRosterHeader.h
parent585b65f17d50dfbb14b25e5372819033c964e79d (diff)
downloadswift-c16133bf881a4eeb988d17ff318e4833a524997e.zip
swift-c16133bf881a4eeb988d17ff318e4833a524997e.tar.bz2
Set the status text when changing presence.
Diffstat (limited to 'Swift/QtUI/QtRosterHeader.h')
-rw-r--r--Swift/QtUI/QtRosterHeader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtRosterHeader.h b/Swift/QtUI/QtRosterHeader.h
index 94b7249..aeccf9a 100644
--- a/Swift/QtUI/QtRosterHeader.h
+++ b/Swift/QtUI/QtRosterHeader.h
@@ -20,8 +20,11 @@ namespace Swift {
void setName(const QString& name);
void setStatusText(const QString& statusMessage);
QSize sizeHint() const;
+ void emitStatus();
signals:
void onChangeStatusRequest(StatusShow::Type showType, const QString &statusMessage);
+ private slots:
+ void handleChangeStatusRequest(StatusShow::Type type);
private:
QLabel* avatarLabel_;
QLabel* nameLabel_;