SnippetGroup Class Reference
#include <snippetitem.h>
Inheritance diagram for SnippetGroup:

Public Member Functions | |
SnippetGroup (TQListView *parent, TQString name, int id) | |
int | getId () |
void | setId (int id) |
![]() | |
SnippetItem (TQListViewItem *parent, TQString name, TQString text) | |
TQString | getName () |
TQString | getText () |
int | getParent () |
void | resetParent () |
void | setText (TQString text) |
void | setName (TQString name) |
void | setAction (TDEAction *) |
TDEAction * | getAction () |
Static Public Member Functions | |
static int | getMaxId () |
![]() | |
static SnippetItem * | findItemByName (TQString name, TQPtrList< SnippetItem > &list) |
static SnippetGroup * | findGroupById (int id, TQPtrList< SnippetItem > &list) |
Additional Inherited Members | |
![]() | |
void | slotExecute () |
![]() | |
void | execute (TQListViewItem *) |
Detailed Description
This class represents one group in the listview.
It is derived from SnippetItem in order to allow storing it in the main TQPtrList<SnippetItem>.
Definition at line 71 of file snippetitem.h.
Constructor & Destructor Documentation
◆ SnippetGroup()
SnippetGroup::SnippetGroup | ( | TQListView * | parent, |
TQString | name, | ||
int | id | ||
) |
Definition at line 132 of file snippetitem.cpp.
◆ ~SnippetGroup()
SnippetGroup::~SnippetGroup | ( | ) |
Definition at line 145 of file snippetitem.cpp.
Member Function Documentation
◆ getId()
|
inline |
Definition at line 76 of file snippetitem.h.
◆ getMaxId()
|
inlinestatic |
Definition at line 77 of file snippetitem.h.
◆ setId()
void SnippetGroup::setId | ( | int | id | ) |
Definition at line 149 of file snippetitem.cpp.
The documentation for this class was generated from the following files: