diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-18 07:13:30 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-18 07:13:30 +0800 |
commit | 2a7b3e6807c3292a61fff413590e996b6dba83ba (patch) | |
tree | 1b08ca8fcac18e469bf3f942dd04cad337054adb | |
parent | f7325b10b1a200690bcf96b632782f561e7b701a (diff) |
Change RT_ and rt_ to RTCLIENT_ and rtclient_ respectively
-rw-r--r-- | controller.cxx | 11 | ||||
m--------- | qrtclient | 0 |
2 files changed, 6 insertions, 5 deletions
diff --git a/controller.cxx b/controller.cxx index bb3cc15..cdd71cd 100644 --- a/controller.cxx +++ b/controller.cxx @@ -1,7 +1,7 @@ #include <QQmlApplicationEngine> #include <QtQml> -#include <qrtclient/user.hxx> #include <qrtclient/client.hxx> +#include <qrtclient/user.hxx> #include "controller.hxx" Controller::Controller(QObject* parent) : QObject{parent} @@ -20,7 +20,7 @@ Controller::Controller(QObject* parent) : QObject{parent} connect(loginView, SIGNAL(signUp(QString, QString, QString, QString)) , client, SLOT(userNew(QString, QString, QString , QString))); - connect(client, SIGNAL(logged(rt_user*)), loginView, SLOT(pushProfile())); + connect(client, SIGNAL(logged(rtclient_user*)), loginView, SLOT(pushProfile())); connect(loginView, SIGNAL(search(QString)), client, SLOT(search(QString))); using RTClient::User; @@ -32,12 +32,13 @@ Controller::Controller(QObject* parent) : QObject{parent} return new User; }); auto user = engine->singletonInstance<User*>(typeId); - connect(client, SIGNAL(logged(rt_user*)), user, SLOT(update(rt_user*))); + connect(client, SIGNAL(logged(rtclient_user*)) + , user, SLOT(update(rtclient_user*))); taskList = new RTClient::TicketList; engine->rootContext()->setContextProperty("taskList", taskList); - connect(client, SIGNAL(foundTickets(rt_ticketlist*)) - , taskList, SLOT(addTickets(rt_ticketlist*))); + connect(client, SIGNAL(foundTickets(rtclient_ticketlist*)) + , taskList, SLOT(addTickets(rtclient_ticketlist*))); thread.start(); } diff --git a/qrtclient b/qrtclient -Subproject 2ca46c1ba83fe7c9da8b892c0ada1deb4cba356 +Subproject b49d11dd8da38c2113d063de30c9e904a4f2f45 |