Wireshark  4.3.0
The Wireshark network protocol analyzer
recent_file_status.h
Go to the documentation of this file.
1 
10 #ifndef RECENT_FILE_STATUS_H
11 #define RECENT_FILE_STATUS_H
12 
13 #include <QRunnable>
14 #include <QFileInfo>
15 
16 class RecentFileStatus : public QObject, public QRunnable
17 {
18  Q_OBJECT
19 public:
20  RecentFileStatus(const QString filename, QObject *parent);
21 
22 protected:
23  void run();
24 
25 private:
26  const QString filename_;
27  QFileInfo fileinfo_;
28 
29 signals:
30  void statusFound(const QString filename = QString(), qint64 size = 0, bool accessible = false);
31 };
32 
33 #endif // RECENT_FILE_STATUS_H
Definition: recent_file_status.h:17