summaryrefslogtreecommitdiffstats
path: root/libkdepim/linklocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/linklocator.cpp')
-rw-r--r--libkdepim/linklocator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkdepim/linklocator.cpp b/libkdepim/linklocator.cpp
index 6a79dff1..e0c4c0d2 100644
--- a/libkdepim/linklocator.cpp
+++ b/libkdepim/linklocator.cpp
@@ -362,7 +362,7 @@ TQString LinkLocator::pngToDataUrl( const TQString & iconPath )
TQByteArray ba = pngFile.readAll();
pngFile.close();
return TQString::tqfromLatin1("data:image/png;base64,%1")
- .arg( KCodecs::base64Encode( ba ) );
+ .tqarg( KCodecs::base64Encode( ba ).data() );
}
@@ -422,7 +422,7 @@ TQString LinkLocator::getEmoticon()
// for copy & paste) representing the smiley
htmlRep = TQString("<img class=\"pimsmileyimg\" src=\"%1\" "
"alt=\"%2\" title=\"%3\" width=\"16\" height=\"16\"/>")
- .arg( dataUrl,
+ .tqarg( dataUrl,
TQStyleSheet::escape( smiley ),
TQStyleSheet::escape( smiley ) );
}
@@ -445,7 +445,7 @@ TQString LinkLocator::highlightedText()
if ( ch != '/' && ch != '*' && ch != '_' )
return TQString();
- TQRegExp re = TQRegExp( TQString("\\%1([0-9A-Za-z]+)\\%2").arg( ch ).arg( ch ) );
+ TQRegExp re = TQRegExp( TQString("\\%1([0-9A-Za-z]+)\\%2").tqarg( ch ).tqarg( ch ) );
if ( re.search( mText, mPos ) == mPos ) {
uint length = re.matchedLength();
// there must be a whitespace after the closing formating symbol