Wireshark
2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
ui
qt
recent_file_status.h
1
/* recent_file_status.h
2
*
3
* Wireshark - Network traffic analyzer
4
* By Gerald Combs <gerald@wireshark.org>
5
* Copyright 1998 Gerald Combs
6
*
7
* SPDX-License-Identifier: GPL-2.0-or-later
8
*/
9
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
34
35
/*
36
* Editor modelines
37
*
38
* Local Variables:
39
* c-basic-offset: 4
40
* tab-width: 8
41
* indent-tabs-mode: nil
42
* End:
43
*
44
* ex: set shiftwidth=4 tabstop=8 expandtab:
45
* :indentSize=4:tabSize=8:noTabs=true:
46
*/
RecentFileStatus
Definition:
recent_file_status.h:16
Generated by
1.8.11