|
Wireshark 5.1.0
The Wireshark network protocol analyzer
|
Represents a single tagging rule item in a tree model. More...
#include <tagging_rules_model.h>
Public Member Functions | |
| TaggingRuleItem (bool disabled, QString name, QString filter, QString tag_content, QString tag_url, QString comment, TaggingRuleItem *parent) | |
| Constructs a new TaggingRuleItem with explicit fields. | |
| TaggingRuleItem (tag_rule_t *rule, TaggingRuleItem *parent) | |
| Constructs a new TaggingRuleItem from a core tag rule structure. | |
| TaggingRuleItem (const TaggingRuleItem &item) | |
| Copy constructor for TaggingRuleItem. | |
| virtual | ~TaggingRuleItem () |
| Destroys the TaggingRuleItem. | |
| TaggingRuleItem & | operator= (TaggingRuleItem &rhs) |
| Assignment operator for TaggingRuleItem. | |
| Public Member Functions inherited from ModelHelperTreeItem< TaggingRuleItem > | |
| ModelHelperTreeItem (TaggingRuleItem *parent) | |
| Constructs a new ModelHelperTreeItem. | |
| virtual | ~ModelHelperTreeItem () |
| Destroys the ModelHelperTreeItem and its children. | |
| void | appendChild (TaggingRuleItem *child) |
| Appends a child item to the end of the children list. | |
| void | prependChild (TaggingRuleItem *child) |
| Prepends a child item to the beginning of the children list. | |
| void | insertChild (int row, TaggingRuleItem *child) |
| Inserts a child item at the specified row. | |
| void | removeChild (int row) |
| Removes and deletes the child item at the specified row. | |
| TaggingRuleItem * | 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. | |
| TaggingRuleItem * | parentItem () |
| Retrieves the parent item. | |
Additional Inherited Members | |
| Protected Attributes inherited from ModelHelperTreeItem< TaggingRuleItem > | |
| TaggingRuleItem * | parent_ |
| QList< QVariant > | childItems_ |
Represents a single tagging rule item in a tree model.
| TaggingRuleItem::TaggingRuleItem | ( | bool | disabled, |
| QString | name, | ||
| QString | filter, | ||
| QString | tag_content, | ||
| QString | tag_url, | ||
| QString | comment, | ||
| TaggingRuleItem * | parent ) |
Constructs a new TaggingRuleItem with explicit fields.
| disabled | True if the rule is disabled. |
| name | The name of the rule (also used as frame.tag value). |
| filter | The display filter expression for the rule. |
| tag_content | The visual content shown in the COL_TAG column. |
| comment | Optional reference comment. |
| parent | The parent rule item. |
| TaggingRuleItem::TaggingRuleItem | ( | tag_rule_t * | rule, |
| TaggingRuleItem * | parent ) |
Constructs a new TaggingRuleItem from a core tag rule structure.
| rule | Pointer to the core tag rule. |
| parent | The parent rule item. |
| TaggingRuleItem::TaggingRuleItem | ( | const TaggingRuleItem & | item | ) |
Copy constructor for TaggingRuleItem.
| item | The item to copy. |
| TaggingRuleItem & TaggingRuleItem::operator= | ( | TaggingRuleItem & | rhs | ) |
Assignment operator for TaggingRuleItem.
| rhs | The item to assign from. |