Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PluginIfType Class Reference

Represents a single toolbar item type with an associated display label. More...

#include <pluginifdemo_main.h>

Public Member Functions

 PluginIfType (const QString &label, const ext_toolbar_item_t &itemType)
 Constructs a PluginIfType with the given label and toolbar item type.
 
QString label () const
 Returns the display label for this item type.
 
ext_toolbar_item_t itemType () const
 Returns the toolbar item type constant for this entry.
 

Detailed Description

Represents a single toolbar item type with an associated display label.

Constructor & Destructor Documentation

◆ PluginIfType()

PluginIfType::PluginIfType ( const QString &  label,
const ext_toolbar_item_t itemType 
)

Constructs a PluginIfType with the given label and toolbar item type.

Parameters
labelHuman-readable display label for this item type.
itemTypeThe underlying toolbar item type constant.

Member Function Documentation

◆ itemType()

ext_toolbar_item_t PluginIfType::itemType ( ) const

Returns the toolbar item type constant for this entry.

Returns
The ext_toolbar_item_t value associated with this item type.

◆ label()

QString PluginIfType::label ( ) const

Returns the display label for this item type.

Returns
Human-readable label string.

The documentation for this class was generated from the following files: