summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/gwprotocol.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kopete/protocols/groupwise/gwprotocol.cpp
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kopete/protocols/groupwise/gwprotocol.cpp')
-rw-r--r--kopete/protocols/groupwise/gwprotocol.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/protocols/groupwise/gwprotocol.cpp b/kopete/protocols/groupwise/gwprotocol.cpp
index 0b4d351a..68a31fb4 100644
--- a/kopete/protocols/groupwise/gwprotocol.cpp
+++ b/kopete/protocols/groupwise/gwprotocol.cpp
@@ -173,7 +173,7 @@ TQString GroupWiseProtocol::rtfizeText( const TQString & plain )
// of multi-byte UTF-8 characters 2 to 6 bytes long (with first byte > 0x7f), these are recoded as 32 bit values, escaped as \u<val>? strings
// vanilla RTF "envelope" that doesn't say much but causes other clients to accept the message
- TQString rtfTemplate = TQString::tqfromLatin1("{\\rtf1\\ansi\n"
+ TQString rtfTemplate = TQString::fromLatin1("{\\rtf1\\ansi\n"
"{\\fonttbl{\\f0\\fnil Unknown;}}\n"
"{\\colortbl ;\\red0\\green0\\blue0;}\n"
"\\uc1\\cf1\\f0\\fs18 %1\\par\n}");
@@ -190,7 +190,7 @@ TQString GroupWiseProtocol::rtfizeText( const TQString & plain )
case '{':
case '}':
case '\\':
- outputText.append( TQString( "\\%1" ).tqarg( TQChar( current ) ) );
+ outputText.append( TQString( "\\%1" ).arg( TQChar( current ) ) );
break;
case '\n':
outputText.append( "\\par " );
@@ -253,12 +253,12 @@ TQString GroupWiseProtocol::rtfizeText( const TQString & plain )
bytesEncoded = 1;
}
index += bytesEncoded;
- escapedUnicodeChar = TQString("\\u%1?").tqarg( ucs4Char );
- kdDebug( GROUPWISE_DEBUG_GLOBAL ) << "tqunicode escaped char: " << escapedUnicodeChar << endl;
+ escapedUnicodeChar = TQString("\\u%1?").arg( ucs4Char );
+ kdDebug( GROUPWISE_DEBUG_GLOBAL ) << "unicode escaped char: " << escapedUnicodeChar << endl;
outputText.append( escapedUnicodeChar );
}
}
- return rtfTemplate.tqarg( outputText );
+ return rtfTemplate.arg( outputText );
}
TQString GroupWiseProtocol::dnToDotted( const TQString & dn )