update epan/dissectors/pidl/drsuapi/drsuapi.idl from samba
[wireshark-sm.git] / ui / qt / models / resolved_addresses_models.h
blob9a26eb6d726a916257e7324c3dfdbb17458ed16e
1 /** @file
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
10 #ifndef RESOLVED_ADDRESSES_MODELS_H
11 #define RESOLVED_ADDRESSES_MODELS_H
13 #include <ui/qt/models/astringlist_list_model.h>
15 #include <QAbstractListModel>
16 #include <QSortFilterProxyModel>
18 class EthernetAddressModel : public AStringListListModel
20 Q_OBJECT
22 public:
23 EthernetAddressModel(QObject * parent = Q_NULLPTR);
25 QStringList filterValues() const;
27 protected:
28 QStringList headerColumns() const override;
29 void populate();
33 enum PortsModelColumns
35 PORTS_COL_NAME,
36 PORTS_COL_PORT,
37 PORTS_COL_PROTOCOL
40 class PortsModel : public AStringListListModel
42 Q_OBJECT
44 public:
45 PortsModel(QObject * parent = Q_NULLPTR);
47 QStringList filterValues() const;
49 protected:
50 QStringList headerColumns() const override;
51 void populate();
55 #endif // RESOLVED_ADDRESSES_MODELS_H