diff options
author | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-30 18:53:52 +0800 |
---|---|---|
committer | Erik Prabowo Kamal <erik@darapsa.co.id> | 2019-08-30 18:53:52 +0800 |
commit | 07c432faf992781868f4d24b417c9cabb52a33d5 (patch) | |
tree | b1b8c262509ce932e1169d9aa59c516de1bb31a5 /worker.cxx | |
parent | 2235e4736994ae902e6cff167c5550168c0a37bb (diff) |
Managed to post login credentials to the RT server
For now, it's just to get a response
Diffstat (limited to 'worker.cxx')
-rw-r--r-- | worker.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,11 @@ Worker::Worker(QObject* parent) : rtclient_init(); } +void Worker::logIn(QString const& name, QString const& password) +{ + rtclient_login(name.toLatin1().constData(), password.toLatin1().constData()); +} + Worker::~Worker() { rtclient_cleanup(); |