17 #include <tdelistview.h> 18 #include <tdelocale.h> 38 SnippetItem(TQListViewItem * parent, TQString name, TQString text); 43 using TQListViewItem::parent; 44 int getParent() { return iParent; } 46 void setText(TQString text); 47 void setName(TQString name); 48 void setAction( TDEAction* ); 49 TDEAction* getAction(); 50 static SnippetItem * findItemByName(TQString name, TQPtrList<SnippetItem> &list); 51 static SnippetGroup * findGroupById( int id, TQPtrList<SnippetItem> &list); 53 void execute( TQListViewItem * ); 58 SnippetItem(TQListView * parent, TQString name, TQString text); 73 SnippetGroup(TQListView * parent, TQString name, int id); 76 int getId() { return iId; } 77 static int getMaxId() { return iMaxId; } This class represents one CodeSnippet-Item in the listview.
This class represents one group in the listview.
|