Logo white

Peter M. Groen / FlashMQ

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • FlashMQ
  • FlashMQTests
  • mainappthread.h
  • Retained messages tests, plus fix
    0262ae00
    Wiebe Cazemier authored
    2021-03-20 19:02:25 +0100  
    Browse Code ยป
mainappthread.h 388 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef MAINAPPTHREAD_H
#define MAINAPPTHREAD_H

#include <QObject>
#include <QThread>
#include <mainapp.h>

class MainAppThread : public QThread
{
    Q_OBJECT
    MainApp *appInstance = nullptr;
public:
    explicit MainAppThread(QObject *parent = nullptr);

public slots:
    void run() override;
    void stopApp();
    void waitForStarted();

signals:

};

#endif // MAINAPPTHREAD_H