From 07c432faf992781868f4d24b417c9cabb52a33d5 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Fri, 30 Aug 2019 18:53:52 +0800 Subject: Managed to post login credentials to the RT server For now, it's just to get a response --- controller.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'controller.hxx') diff --git a/controller.hxx b/controller.hxx index e293ec4..8b98328 100644 --- a/controller.hxx +++ b/controller.hxx @@ -10,6 +10,10 @@ class Controller : public QObject public: Controller(); ~Controller(); + Q_INVOKABLE void logIn(QString const& name, QString const& password); + + signals: + void credentialsObtained(QString const& name, QString const& password); private: QThread thread; -- cgit v1.2.3