summaryrefslogtreecommitdiffstats
path: root/kmail/customtemplates.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/customtemplates.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/customtemplates.h')
-rw-r--r--kmail/customtemplates.h22
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;
};