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/templatesconfiguration.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kmail/templatesconfiguration.cpp') diff --git a/kmail/templatesconfiguration.cpp b/kmail/templatesconfiguration.cpp index 70dd926b6..0e52599c4 100644 --- a/kmail/templatesconfiguration.cpp +++ b/kmail/templatesconfiguration.cpp @@ -38,8 +38,8 @@ #include "templatesconfiguration.h" -TemplatesConfiguration::TemplatesConfiguration( TQWidget *parent, const char *name ) - :TemplatesConfigurationBase( parent, name ) +TemplatesConfiguration::TemplatesConfiguration( TQWidget *tqparent, const char *name ) + :TemplatesConfigurationBase( tqparent, name ) { TQFont f = KGlobalSettings::fixedFont(); textEdit_new->setFont( f ); @@ -323,7 +323,7 @@ void TemplatesConfiguration::loadFromPhrases() str = replyPhrases.phraseReplySender(); if ( !str.isEmpty() ) { - textEdit_reply->setText( convertPhrases( str ) + "\n%QUOTE\n%CURSOR\n" ); + textEdit_reply->setText( convertPhrases( str ) + "\n%TQUOTE\n%CURSOR\n" ); } else { textEdit_reply->setText( defaultReply() ); @@ -331,7 +331,7 @@ void TemplatesConfiguration::loadFromPhrases() str = replyPhrases.phraseReplyAll(); if ( !str.isEmpty() ) { - textEdit_reply_all->setText( convertPhrases( str ) + "\n%QUOTE\n%CURSOR\n" ); + textEdit_reply_all->setText( convertPhrases( str ) + "\n%TQUOTE\n%CURSOR\n" ); } else { textEdit_reply_all->setText( defaultReplyAll() ); @@ -372,7 +372,7 @@ void TemplatesConfiguration::importFromPhrases() str = replyPhrases.phraseReplySender(); if ( !str.isEmpty() ) { - GlobalSettings::self()->setTemplateReply( convertPhrases( str ) + "\n%QUOTE\n%CURSOR\n" ); + GlobalSettings::self()->setTemplateReply( convertPhrases( str ) + "\n%TQUOTE\n%CURSOR\n" ); } else { GlobalSettings::self()->setTemplateReply( defaultReply() ); @@ -380,7 +380,7 @@ void TemplatesConfiguration::importFromPhrases() str = replyPhrases.phraseReplyAll(); if ( !str.isEmpty() ) { - GlobalSettings::self()->setTemplateReplyAll( convertPhrases( str ) + "\n%QUOTE\n%CURSOR\n" ); + GlobalSettings::self()->setTemplateReplyAll( convertPhrases( str ) + "\n%TQUOTE\n%CURSOR\n" ); } else { GlobalSettings::self()->setTemplateReplyAll( defaultReplyAll() ); @@ -521,7 +521,7 @@ TQString TemplatesConfiguration::defaultReply() { "%BLANK\n" "%REM=\"Default reply template\"%-\n" "On %ODATEEN %OTIMELONGEN you wrote:\n" - "%QUOTE\n" + "%TQUOTE\n" ); } @@ -531,7 +531,7 @@ TQString TemplatesConfiguration::defaultReplyAll() { "%BLANK\n" "%REM=\"Default reply all template\"%-\n" "On %ODATEEN %OTIMELONGEN %OFROMNAME wrote:\n" - "%QUOTE\n" + "%TQUOTE\n" ); } -- cgit v1.2.1