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
10 #ifndef UI_QT_UTILS_WIRESHARK_MIME_DATA_H_
11 #define UI_QT_UTILS_WIRESHARK_MIME_DATA_H_
15 class WiresharkMimeData
: public QMimeData
{
17 virtual QString
labelText() const = 0;
18 virtual void allowPlainText();
20 static const QString ColoringRulesMimeType
;
21 static const QString ColumnListMimeType
;
22 static const QString FilterListMimeType
;
23 static const QString DisplayFilterMimeType
;
26 class ToolbarEntryMimeData
: public WiresharkMimeData
{
30 ToolbarEntryMimeData(QString element
, int pos
);
33 QString
element() const;
34 QString
filter() const;
35 void setFilter(QString
);
37 QString
labelText() const override
;
47 #endif /* UI_QT_UTILS_WIRESHARK_MIME_DATA_H_ */