Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
manage_interfaces_dialog.h
Go to the documentation of this file.
1
10#ifndef MANAGE_INTERFACES_DIALOG_H
11#define MANAGE_INTERFACES_DIALOG_H
12
13#include <config.h>
14
15#include "capture_opts.h"
16
19
21#include <QStyledItemDelegate>
22
23class QTreeWidget;
24class QTreeWidgetItem;
25class QStandardItemModel;
26
27class QLineEdit;
28
29
30namespace Ui {
32}
33
35{
36 Q_OBJECT
37
38public:
39 explicit ManageInterfacesDialog(QWidget *parent = 0);
41
42private:
43 Ui::ManageInterfacesDialog *ui;
44
45 InterfaceTreeCacheModel * sourceModel;
46 InterfaceSortFilterModel * proxyModel;
47 InterfaceSortFilterModel * pipeProxyModel;
48
49 void showRemoteInterfaces();
50#ifdef HAVE_PCAP_REMOTE
51 void addRemote(const QVariantMap&&);
52 void populateExistingRemotes();
53#endif
54
55signals:
56 void ifsChanged();
57#ifdef HAVE_PCAP_REMOTE
58 void remoteAdded(GList *rlist, remote_options *roptions);
59 void remoteSettingsChanged(interface_t *iface);
60#endif
61
62private slots:
63 void updateWidgets();
64
65#ifdef HAVE_LIBPCAP
66 void on_addPipe_clicked();
67 void on_delPipe_clicked();
68#endif
69
70#ifdef HAVE_PCAP_REMOTE
71 void on_addRemote_clicked();
72 void on_delRemote_clicked();
73 void remoteAccepted();
74 void on_remoteList_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
75 void on_remoteList_itemClicked(QTreeWidgetItem *item, int column);
76 void addRemoteInterfaces(GList *rlist, remote_options *roptions);
77 void updateRemoteInterfaceList(GList *rlist, remote_options *roptions);
78 void setRemoteSettings(interface_t *iface);
79 void remoteSelectionChanged(QTreeWidgetItem* item, int col);
80 void on_remoteSettings_clicked();
81#endif
82 void on_buttonBox_helpRequested();
83};
84
85#endif // MANAGE_INTERFACES_DIALOG_H
Definition geometry_state_dialog.h:17
Definition interface_sort_filter_model.h:22
Definition interface_tree_cache_model.h:22
Definition manage_interfaces_dialog.h:35
Definition androiddump.c:218