Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Static Protected Member Functions | List of all members
EnabledProtocolsModel Class Reference
Inheritance diagram for EnabledProtocolsModel:

Public Types

enum  EnabledProtocolsColumn { colProtocol = 0 , colDescription , colLast }
 
enum  EnableProtocolData { DATA_ENABLE = Qt::UserRole , DATA_PROTOCOL_TYPE }
 

Public Member Functions

 EnabledProtocolsModel (QObject *parent=Q_NULLPTR)
 
QModelIndex index (int row, int column, const QModelIndex &=QModelIndex()) const
 
QModelIndex parent (const QModelIndex &) const
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
QVariant data (const QModelIndex &index, int role) const
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
void populate ()
 
void applyChanges (bool writeChanges=true)
 

Static Public Member Functions

static void disableProtocol (struct _protocol *protocol)
 

Static Protected Member Functions

static void saveChanges (bool writeChanges=true)
 

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