diff options
author | Kevin Smith <git@kismith.co.uk> | 2009-08-16 12:35:34 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2009-08-16 12:35:34 (GMT) |
commit | 2ef0428c1f9559454654546f3cce32155cf5409d (patch) | |
tree | baf692218db59e29385f128fd2ec3171918df172 /Swift/QtUI/QtMainWindow.h | |
parent | c16133bf881a4eeb988d17ff318e4833a524997e (diff) | |
download | swift-contrib-2ef0428c1f9559454654546f3cce32155cf5409d.zip swift-contrib-2ef0428c1f9559454654546f3cce32155cf5409d.tar.bz2 |
Now show my avatar and JID in the 'me view'.
At the moment it's my JID rather than my Name, because the NickResolver doesn't cope with our own Name.
Also: the name resizing sometimes doesn't work. If it doesn't for you, make the roster very wide and then slowly resize it down.
Diffstat (limited to 'Swift/QtUI/QtMainWindow.h')
-rw-r--r-- | Swift/QtUI/QtMainWindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/QtUI/QtMainWindow.h b/Swift/QtUI/QtMainWindow.h index f56262d..44133af 100644 --- a/Swift/QtUI/QtMainWindow.h +++ b/Swift/QtUI/QtMainWindow.h @@ -24,6 +24,9 @@ namespace Swift { QtMainWindow(QtTreeWidgetFactory *treeWidgetFactory); TreeWidget* getTreeWidget(); std::vector<QMenu*> getMenus() {return menus_;} + void setMyName(const String& name); + void setMyAvatarPath(const String& path); + void setMyStatusText(const String& status); private slots: void handleStatusChanged(StatusShow::Type showType, const QString &statusMessage); void handleShowOfflineToggled(bool); |