blob: fa3b1cafbb4360ccb0bc02d13ef398836cc9c542 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/** @file
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef MANUF_DIALOG_H
#define MANUF_DIALOG_H
#include <wireshark_dialog.h>
#include <models/manuf_table_model.h>
namespace Ui {
class ManufDialog;
}
class ManufDialog : public WiresharkDialog
{
Q_OBJECT
public:
explicit ManufDialog(QWidget &parent, CaptureFile &cf);
~ManufDialog();
private slots:
void on_searchToggled(void);
void on_editingFinished(void);
void on_shortNameStateChanged(int state);
void copyToClipboard(void);
void clearFilter(void);
private:
void searchPrefix(QString &text);
void searchVendor(QString &text);
Ui::ManufDialog *ui;
ManufTableModel *model_;
ManufSortFilterProxyModel *proxy_model_;
};
#endif // MANUF_DIALOG_H
|