Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
wireshark_mime_data.h
Go to the documentation of this file.
1
10#ifndef UI_QT_UTILS_WIRESHARK_MIME_DATA_H_
11#define UI_QT_UTILS_WIRESHARK_MIME_DATA_H_
12
13#include <QMimeData>
14
15class WiresharkMimeData: public QMimeData {
16public:
17 virtual QString labelText() const = 0;
18 virtual void allowPlainText();
19
20 static const QString ColoringRulesMimeType;
21 static const QString ColumnListMimeType;
22 static const QString FilterListMimeType;
23 static const QString DisplayFilterMimeType;
24};
25
27 Q_OBJECT
28public:
29
30 ToolbarEntryMimeData(QString element, int pos);
31
32 int position() const;
33 QString element() const;
34 QString filter() const;
35 void setFilter(QString);
36
37 QString labelText() const override;
38
39private:
40
41 QString element_;
42 QString filter_;
43 int pos_;
44
45};
46
47#endif /* UI_QT_UTILS_WIRESHARK_MIME_DATA_H_ */
Definition wireshark_mime_data.h:26
Definition wireshark_mime_data.h:15