kmail

#include <snippetitem.h>

Inheritance diagram for SnippetItem:
SnippetGroup

Public Slots

void slotExecute ()

Signals

void execute (TQListViewItem *)

Public Member Functions

 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 SnippetItemfindItemByName (TQString name, TQPtrList< SnippetItem > &list)
static SnippetGroupfindGroupById (int id, TQPtrList< SnippetItem > &list)

Friends

class SnippetGroup

Detailed Description

This class represents one CodeSnippet-Item in the listview.

It also holds the needed data for one snippet.

Author
Robert Gruber

Definition at line 32 of file snippetitem.h.

Constructor & Destructor Documentation

◆ SnippetItem()

SnippetItem::SnippetItem ( TQListViewItem * parent,
TQString name,
TQString text )

Definition at line 29 of file snippetitem.cpp.

◆ ~SnippetItem()

SnippetItem::~SnippetItem ( )

Definition at line 38 of file snippetitem.cpp.

Member Function Documentation

◆ findGroupById()

SnippetGroup * SnippetItem::findGroupById ( int id,
TQPtrList< SnippetItem > & list )
static

Definition at line 115 of file snippetitem.cpp.

◆ findItemByName()

SnippetItem * SnippetItem::findItemByName ( TQString name,
TQPtrList< SnippetItem > & list )
static

Definition at line 106 of file snippetitem.cpp.

◆ getAction()

TDEAction * SnippetItem::getAction ( )

Definition at line 90 of file snippetitem.cpp.

◆ getName()

TQString SnippetItem::getName ( )

Definition at line 50 of file snippetitem.cpp.

◆ getParent()

int SnippetItem::getParent ( )
inline

Definition at line 44 of file snippetitem.h.

◆ getText()

TQString SnippetItem::getText ( )

Definition at line 59 of file snippetitem.cpp.

◆ resetParent()

void SnippetItem::resetParent ( )

Definition at line 82 of file snippetitem.cpp.

◆ setAction()

void SnippetItem::setAction ( TDEAction * anAction)

Definition at line 95 of file snippetitem.cpp.

◆ setName()

void SnippetItem::setName ( TQString name)

Definition at line 77 of file snippetitem.cpp.

◆ setText()

void SnippetItem::setText ( TQString text)

Definition at line 68 of file snippetitem.cpp.

◆ slotExecute

void SnippetItem::slotExecute ( )
slot

Definition at line 100 of file snippetitem.cpp.

◆ SnippetGroup

friend class SnippetGroup
friend

Definition at line 33 of file snippetitem.h.


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