Wireshark
4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
ui
qt
models
resolved_addresses_models.h
Go to the documentation of this file.
1
10
#ifndef RESOLVED_ADDRESSES_MODELS_H
11
#define RESOLVED_ADDRESSES_MODELS_H
12
13
#include <
ui/qt/models/astringlist_list_model.h
>
14
15
#include <QAbstractListModel>
16
#include <QSortFilterProxyModel>
17
18
class
EthernetAddressModel
:
public
AStringListListModel
19
{
20
Q_OBJECT
21
22
public
:
23
EthernetAddressModel
(QObject * parent = Q_NULLPTR);
24
25
QStringList filterValues()
const
;
26
27
protected
:
28
QStringList headerColumns()
const override
;
29
void
populate();
30
31
};
32
33
enum
PortsModelColumns
34
{
35
PORTS_COL_NAME,
36
PORTS_COL_PORT,
37
PORTS_COL_PROTOCOL
38
};
39
40
class
PortsModel
:
public
AStringListListModel
41
{
42
Q_OBJECT
43
44
public
:
45
PortsModel
(QObject * parent = Q_NULLPTR);
46
47
QStringList filterValues()
const
;
48
49
protected
:
50
QStringList headerColumns()
const override
;
51
void
populate();
52
53
};
54
55
#endif
// RESOLVED_ADDRESSES_MODELS_H
astringlist_list_model.h
AStringListListModel
Definition
astringlist_list_model.h:23
EthernetAddressModel
Definition
resolved_addresses_models.h:19
PortsModel
Definition
resolved_addresses_models.h:41
Generated by
1.9.8