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

List model for the Plugins tab of the About dialog. More...

#include <about_dialog.h>

Inheritance diagram for PluginListModel:
AStringListListModel

Public Member Functions

 PluginListModel (QObject *parent=Q_NULLPTR)
 Construct an PluginListModel.
 
QStringList typeNames () const
 Return the list of distinct plugin type name strings.
 
- Public Member Functions inherited from AStringListListModel
 AStringListListModel (QObject *parent=Q_NULLPTR)
 Construct an empty model.
 
virtual ~AStringListListModel ()
 Destroy the model.
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
 Return the number of rows in the model.
 
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
 Return the number of columns in the model.
 
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 Return data for the given index and role.
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 Return header data for the given section, orientation, and role.
 
virtual void appendRow (const QStringList &row, const QString &row_tooltip=QString(), const QModelIndex &parent=QModelIndex())
 Append a row to the model.
 

Protected Member Functions

virtual QStringList headerColumns () const
 Return the column header labels for the plugins table.
 

Detailed Description

List model for the Plugins tab of the About dialog.

Constructor & Destructor Documentation

◆ PluginListModel()

PluginListModel::PluginListModel ( QObject *  parent = Q_NULLPTR)
explicit

Construct an PluginListModel.

Parameters
parentThe parent object.

Member Function Documentation

◆ headerColumns()

QStringList PluginListModel::headerColumns ( ) const
protectedvirtual

Return the column header labels for the plugins table.

Implements AStringListListModel.

◆ typeNames()

QStringList PluginListModel::typeNames ( ) const

Return the list of distinct plugin type name strings.

Returns
An ordered list of unique type name strings.

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