From 87e9213ec5e89eb135a483f7635ea3d0c663e891 Mon Sep 17 00:00:00 2001 From: samelian Date: Sat, 7 May 2011 21:52:03 +0000 Subject: [kdepim] revert some accidental renamed classes/methods and strings (fix quote reply) git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1230817 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/templateparser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmail/templateparser.cpp') diff --git a/kmail/templateparser.cpp b/kmail/templateparser.cpp index 8e167f5fd..775d9a938 100644 --- a/kmail/templateparser.cpp +++ b/kmail/templateparser.cpp @@ -297,11 +297,11 @@ void TemplateParser::processWithTemplate( const TQString &tmpl ) tqarg( path ).tqarg(file.errorString() )); } - } else if ( cmd.startsWith( "TQUOTEPIPE=" ) ) { + } else if ( cmd.startsWith( "QUOTEPIPE=" ) ) { // pipe message body throw command and insert it as quotation kdDebug() << "Command: TQUOTEPIPE=" << endl; TQString q; - int len = parseQuotes( "TQUOTEPIPE=", cmd, q ); + int len = parseQuotes( "QUOTEPIPE=", cmd, q ); i += len; TQString pipe_cmd = q; if ( mOrigMsg ) { @@ -311,9 +311,9 @@ void TemplateParser::processWithTemplate( const TQString &tmpl ) body.append( quote ); } - } else if ( cmd.startsWith( "TQUOTE" ) ) { + } else if ( cmd.startsWith( "QUOTE" ) ) { kdDebug() << "Command: TQUOTE" << endl; - i += strlen( "TQUOTE" ); + i += strlen( "QUOTE" ); if ( mOrigMsg ) { TQString quote = mOrigMsg->asQuotedString( "", mQuoteString, messageText( true ), shouldStripSignature(), mAllowDecryption ); -- cgit v1.2.1