diff -r d96a37de1076 -r f88b3948adf3 qmlFrontend/hwengine.cpp --- a/qmlFrontend/hwengine.cpp Tue Nov 24 20:19:00 2015 +0300 +++ b/qmlFrontend/hwengine.cpp Wed Nov 25 21:31:30 2015 +0300 @@ -248,6 +248,10 @@ emit movedToRoom(); break; } + case MSG_NICKNAME: { + m_myNickname = QString::fromUtf8(msg); + break; + } } } @@ -339,6 +343,11 @@ flibPartRoom(message.toUtf8().constData()); } +QString HWEngine::myNickname() +{ + return m_myNickname; +} + void HWEngine::setTheme(const QString &theme) { flibSetTheme(theme.toUtf8().constData());