|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Represents a single item in the dissector tables model, supporting tree structures. More...
#include <dissector_tables_model.h>
Public Member Functions | |
| DissectorTablesItem (QString tableName, QString dissectorDescription, DissectorTablesItem *parent) | |
| Constructs a new DissectorTablesItem. | |
| virtual | ~DissectorTablesItem () |
| Destroys the DissectorTablesItem. | |
| QString | tableName () const |
| Retrieves the table name associated with this item. | |
| QString | dissectorDescription () const |
| Retrieves the dissector description associated with this item. | |
| virtual bool | lessThan (DissectorTablesItem &right) const |
| Compares this item with another for sorting purposes. | |
Public Member Functions inherited from ModelHelperTreeItem< DissectorTablesItem > | |
| ModelHelperTreeItem (DissectorTablesItem *parent) | |
| Constructs a new ModelHelperTreeItem. | |
| virtual | ~ModelHelperTreeItem () |
| Destroys the ModelHelperTreeItem and its children. | |
| void | appendChild (DissectorTablesItem *child) |
| Appends a child item to the end of the children list. | |
| void | prependChild (DissectorTablesItem *child) |
| Prepends a child item to the beginning of the children list. | |
| void | insertChild (int row, DissectorTablesItem *child) |
| Inserts a child item at the specified row. | |
| void | removeChild (int row) |
| Removes and deletes the child item at the specified row. | |
| DissectorTablesItem * | child (int row) |
| Retrieves the child item at the specified row. | |
| int | childCount () const |
| Gets the total number of child items. | |
| int | row () |
| Gets the row index of this item relative to its parent. | |
| DissectorTablesItem * | parentItem () |
| Retrieves the parent item. | |
Protected Attributes | |
| QString | tableName_ |
| QString | dissectorDescription_ |
Protected Attributes inherited from ModelHelperTreeItem< DissectorTablesItem > | |
| DissectorTablesItem * | parent_ |
| QList< QVariant > | childItems_ |
Represents a single item in the dissector tables model, supporting tree structures.
| DissectorTablesItem::DissectorTablesItem | ( | QString | tableName, |
| QString | dissectorDescription, | ||
| DissectorTablesItem * | parent | ||
| ) |
Constructs a new DissectorTablesItem.
| tableName | The name of the dissector table. |
| dissectorDescription | The description of the dissector. |
| parent | The parent item in the tree. |
|
inline |
Retrieves the dissector description associated with this item.
|
virtual |
Compares this item with another for sorting purposes.
| right | The other DissectorTablesItem to compare against. |
Reimplemented in IntegerTablesItem.
|
inline |
Retrieves the table name associated with this item.
|
protected |
The dissector description string.
|
protected |
The table name string.