|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
MIME data representation for a toolbar entry. More...
#include <wireshark_mime_data.h>
Public Member Functions | |
| ToolbarEntryMimeData (QString element, int pos) | |
| Constructs a new ToolbarEntryMimeData object. | |
| int | position () const |
| Retrieves the position of the entry. | |
| QString | element () const |
| Retrieves the element string. | |
| QString | filter () const |
| Retrieves the filter string associated with the entry. | |
| void | setFilter (QString text) |
| Sets the filter string for the entry. | |
| QString | labelText () const override |
| Retrieves the label text for the toolbar entry. | |
Public Member Functions inherited from WiresharkMimeData | |
| virtual void | allowPlainText () |
| Allows the MIME data to be represented as plain text. | |
Additional Inherited Members | |
Static Public Attributes inherited from WiresharkMimeData | |
| static const QString | ColoringRulesMimeType = "application/vnd.wireshark.coloringrules" |
| MIME type string for coloring rules. | |
| static const QString | ColumnListMimeType = "application/vnd.wireshark.columnlist" |
| MIME type string for column lists. | |
| static const QString | FilterListMimeType = "application/vnd.wireshark.filterlist" |
| MIME type string for filter lists. | |
| static const QString | DisplayFilterMimeType = "application/vnd.wireshark.displayfilter" |
| MIME type string for display filters. | |
MIME data representation for a toolbar entry.
| ToolbarEntryMimeData::ToolbarEntryMimeData | ( | QString | element, |
| int | pos | ||
| ) |
Constructs a new ToolbarEntryMimeData object.
| element | The toolbar element string. |
| pos | The position of the entry. |
| QString ToolbarEntryMimeData::element | ( | ) | const |
Retrieves the element string.
| QString ToolbarEntryMimeData::filter | ( | ) | const |
Retrieves the filter string associated with the entry.
|
overridevirtual |
Retrieves the label text for the toolbar entry.
Implements WiresharkMimeData.
| int ToolbarEntryMimeData::position | ( | ) | const |
Retrieves the position of the entry.
| void ToolbarEntryMimeData::setFilter | ( | QString | text | ) |
Sets the filter string for the entry.
| text | The new filter string's text. |