diff options
Diffstat (limited to 'kmail/customtemplates.h')
-rw-r--r-- | kmail/customtemplates.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kmail/customtemplates.h b/kmail/customtemplates.h index a2b276780..dc454bf6c 100644 --- a/kmail/customtemplates.h +++ b/kmail/customtemplates.h @@ -27,7 +27,7 @@ #include "templatesinsertcommand.h" struct CustomTemplateItem; -typedef QDict<CustomTemplateItem> CustomTemplateItemList; +typedef TQDict<CustomTemplateItem> CustomTemplateItemList; class KShortcut; class CustomTemplates : public CustomTemplatesBase @@ -40,17 +40,17 @@ class CustomTemplates : public CustomTemplatesBase public: - CustomTemplates( QWidget *parent = 0, const char *name = 0 ); + CustomTemplates( TQWidget *parent = 0, const char *name = 0 ); ~CustomTemplates(); void load(); void save(); - QString indexToType( int index ); + TQString indexToType( int index ); public slots: - void slotInsertCommand( QString cmd, int adjustCursor = 0 ); + void slotInsertCommand( TQString cmd, int adjustCursor = 0 ); void slotTextChanged(); @@ -66,25 +66,25 @@ class CustomTemplates : public CustomTemplatesBase protected: - QListViewItem *mCurrentItem; + TQListViewItem *mCurrentItem; CustomTemplateItemList mItemList; - QPixmap mReplyPix; - QPixmap mReplyAllPix; - QPixmap mForwardPix; + TQPixmap mReplyPix; + TQPixmap mReplyAllPix; + TQPixmap mForwardPix; }; struct CustomTemplateItem { CustomTemplateItem() {} - CustomTemplateItem( const QString &name, - const QString &content, + CustomTemplateItem( const TQString &name, + const TQString &content, KShortcut &shortcut, CustomTemplates::Type type ) : mName( name ), mContent( content ), mShortcut(shortcut), mType( type ) {} - QString mName, mContent; + TQString mName, mContent; KShortcut mShortcut; CustomTemplates::Type mType; }; |