1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef WORKER_HXX #define WORKER_HXX #include <QObject> class Worker : public QObject { Q_OBJECT public: explicit Worker(QObject* parent = nullptr); virtual ~Worker(); public slots: void logIn(QString const& name, QString const& password); }; #endif // WORKER_HXX