Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
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 }
 

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 invertEnabled ()
 
void enableAll ()
 
void disableAll ()
 
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: