20 lines
330 B
C++
20 lines
330 B
C++
#ifndef MAINWINDOWCLOSETHREAD_H
|
|
#define MAINWINDOWCLOSETHREAD_H
|
|
|
|
#include <QThread>
|
|
|
|
class MainWindowCloseThread : public QThread
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit MainWindowCloseThread(QObject* parent = nullptr);
|
|
|
|
signals:
|
|
void canClose();
|
|
|
|
private:
|
|
void run();
|
|
};
|
|
|
|
#endif // MAINWINDOWCLOSETHREAD_H
|