diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/templatesinsertcommand.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/templatesinsertcommand.cpp')
-rw-r--r-- | kmail/templatesinsertcommand.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/templatesinsertcommand.cpp b/kmail/templatesinsertcommand.cpp index c2f794dd0..2a33f3aaf 100644 --- a/kmail/templatesinsertcommand.cpp +++ b/kmail/templatesinsertcommand.cpp @@ -30,9 +30,9 @@ #include "templatesinsertcommand.h" -TemplatesInsertCommand::TemplatesInsertCommand( TQWidget *parent, +TemplatesInsertCommand::TemplatesInsertCommand( TQWidget *tqparent, const char *name ) - : TQPushButton( parent, name ) + : TQPushButton( tqparent, name ) { setText( i18n( "&Insert Command..." ) ); connect( this, TQT_SIGNAL( clicked() ), @@ -148,7 +148,7 @@ TemplatesInsertCommand::TemplatesInsertCommand( TQWidget *parent, menu->insert( action ); action = new KAction( i18n( "Quoted Headers" ), 0, mapper, TQT_SLOT( map() ), menu ); - mapper->setMapping( action, CQHeaders ); + mapper->setMapping( action, CTQHeaders ); menu->insert( action ); action = new KAction( i18n( "Headers as Is" ), 0, mapper, TQT_SLOT( map() ), menu ); @@ -334,7 +334,7 @@ void TemplatesInsertCommand::slotMapped( int cmd ) emit insertCommand( static_cast<Command>( cmd ) ); switch( cmd ) { - case TemplatesInsertCommand::CQuote: emit insertCommand("%QUOTE"); break; + case TemplatesInsertCommand::CQuote: emit insertCommand("%TQUOTE"); break; case TemplatesInsertCommand::CText: emit insertCommand("%TEXT"); break; case TemplatesInsertCommand::COMsgId: emit insertCommand("%OMSGID"); break; case TemplatesInsertCommand::CODate: emit insertCommand("%ODATE"); break; @@ -357,7 +357,7 @@ void TemplatesInsertCommand::slotMapped( int cmd ) case TemplatesInsertCommand::COFromFName: emit insertCommand("%OFROMFNAME"); break; case TemplatesInsertCommand::COFromLName: emit insertCommand("%OFROMLNAME"); break; case TemplatesInsertCommand::COFullSubject: emit insertCommand("%OFULLSUBJECT"); break; - case TemplatesInsertCommand::CQHeaders: emit insertCommand("%QHEADERS"); break; + case TemplatesInsertCommand::CTQHeaders: emit insertCommand("%TQHEADERS"); break; case TemplatesInsertCommand::CHeaders: emit insertCommand("%HEADERS"); break; case TemplatesInsertCommand::COHeader: emit insertCommand("%OHEADER=\"\"", -1); break; case TemplatesInsertCommand::CMsgId: emit insertCommand("%MSGID"); break; @@ -384,7 +384,7 @@ void TemplatesInsertCommand::slotMapped( int cmd ) case TemplatesInsertCommand::CFullSubject: emit insertCommand("%FULLSUBJECT"); break; case TemplatesInsertCommand::CHeader: emit insertCommand("%HEADER=\"\"", -1); break; case TemplatesInsertCommand::CSystem: emit insertCommand("%SYSTEM=\"\"", -1); break; - case TemplatesInsertCommand::CQuotePipe: emit insertCommand("%QUOTEPIPE=\"\"", -1); break; + case TemplatesInsertCommand::CQuotePipe: emit insertCommand("%TQUOTEPIPE=\"\"", -1); break; case TemplatesInsertCommand::CTextPipe: emit insertCommand("%TEXTPIPE=\"\"", -1); break; case TemplatesInsertCommand::CMsgPipe: emit insertCommand("%MSGPIPE=\"\"", -1); break; case TemplatesInsertCommand::CBodyPipe: emit insertCommand("%BODYPIPE=\"\"", -1); break; |