summaryrefslogtreecommitdiff
path: root/worker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'worker.cxx')
-rw-r--r--worker.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/worker.cxx b/worker.cxx
index 8c915f8..19ae358 100644
--- a/worker.cxx
+++ b/worker.cxx
@@ -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();