From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: 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 --- kmail/templatesinsertcommand.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kmail/templatesinsertcommand.cpp') diff --git a/kmail/templatesinsertcommand.cpp b/kmail/templatesinsertcommand.cpp index c2f794dd..2a33f3aa 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( 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; -- cgit v1.2.3