kmail

CustomTemplates Class Reference

Inheritance diagram for CustomTemplates:

CustomTemplatesBase List of all members.

Detailed Description

Definition at line 35 of file customtemplates.h.


Public Types

enum  Type { TUniversal, TReply, TReplyAll, TForward }

Public Slots

void slotInsertCommand (QString cmd, int adjustCursor=0)
void slotTextChanged ()
void slotAddClicked ()
void slotRemoveClicked ()
void slotListSelectionChanged ()
void slotTypeActivated (int index)
void slotShortcutCaptured (const KShortcut &shortcut)
void slotNameChanged (const QString &)

Signals

void changed ()

Public Member Functions

 CustomTemplates (QWidget *parent=0, const char *name=0)
 ~CustomTemplates ()
void load ()
void save ()
QString indexToType (int index)

Protected Member Functions

void setRecipientsEditsEnabled (bool enabled)

Protected Attributes

QListViewItem * mCurrentItem
CustomTemplateItemList mItemList
QStringList mItemsToDelete
QPixmap mReplyPix
QPixmap mReplyAllPix
QPixmap mForwardPix
bool mBlockChangeSignal

Member Data Documentation

QStringList CustomTemplates::mItemsToDelete [protected]

These templates will be deleted when we're saving.

Definition at line 77 of file customtemplates.h.

Whether or not to emit the changed() signal.

This is useful to disable when loading templates, which changes the UI without user action

Definition at line 85 of file customtemplates.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys