2024-03-04 16:22:40 +08:00
|
|
|
#ifndef CHECKSTORAGETHREAD_H
|
|
|
|
#define CHECKSTORAGETHREAD_H
|
|
|
|
|
|
|
|
#include <QThread>
|
|
|
|
|
|
|
|
class CheckStorageThread : public QThread {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
2024-12-24 03:51:48 +08:00
|
|
|
CheckStorageThread(QObject* parent = nullptr);
|
2024-03-04 16:22:40 +08:00
|
|
|
|
2024-05-07 15:06:36 +08:00
|
|
|
signals:
|
|
|
|
void diskWillFull(); // 磁盘空间不足
|
|
|
|
void diskNotFull(); // 磁盘空间充足
|
|
|
|
|
2024-03-04 16:22:40 +08:00
|
|
|
protected:
|
|
|
|
void run() override;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CHECKSTORAGETHREAD_H
|