1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef WORKER_HXX #define WORKER_HXX #include <QObject> class Worker : public QObject { Q_OBJECT public: Worker(); ~Worker(); public slots: void logIn(QString const& name, QString const& password); void search(QString const& owner); signals: void logged(struct rt_user* user); }; #endif // WORKER_HXX