diff options
Diffstat (limited to 'Swift/QtUI/QtMainWindow.cpp')
-rw-r--r-- | Swift/QtUI/QtMainWindow.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Swift/QtUI/QtMainWindow.cpp b/Swift/QtUI/QtMainWindow.cpp index 9fa209b..cf4bfd2 100644 --- a/Swift/QtUI/QtMainWindow.cpp +++ b/Swift/QtUI/QtMainWindow.cpp @@ -68,5 +68,17 @@ void QtMainWindow::handleShowOfflineToggled(bool state) { onShowOfflineToggled(state); } +void QtMainWindow::setMyName(const String& name) { + meView_->setName(P2QSTRING(name)); +} + +void QtMainWindow::setMyAvatarPath(const String& path) { + meView_->setAvatar(P2QSTRING(path)); +} + +void QtMainWindow::setMyStatusText(const String& status) { + meView_->setStatusText(P2QSTRING(status)); +} + } |