summaryrefslogtreecommitdiffstats
path: root/tdeui/kspell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kspell.cpp')
-rw-r--r--tdeui/kspell.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/kspell.cpp b/tdeui/kspell.cpp
index 9ca882962..aa65dc484 100644
--- a/tdeui/kspell.cpp
+++ b/tdeui/kspell.cpp
@@ -1220,10 +1220,10 @@ void KSpell::dialog( const TQString & word, TQStringList & sugg, const char *_sl
TQString marker( "_MARKER_" );
tmpBuf.replace( lastpos, word.length(), marker );
TQString context = tmpBuf.mid(QMAX(lastpos-18,0), 2*18+marker.length());
- context.replace( '\n',TQString::tqfromLatin1(" "));
- context.replace( '<', TQString::tqfromLatin1("&lt;") );
- context.replace( '>', TQString::tqfromLatin1("&gt;") );
- context.replace( marker, TQString::tqfromLatin1("<b>%1</b>").arg( word ) );
+ context.replace( '\n',TQString::fromLatin1(" "));
+ context.replace( '<', TQString::fromLatin1("&lt;") );
+ context.replace( '>', TQString::fromLatin1("&gt;") );
+ context.replace( marker, TQString::fromLatin1("<b>%1</b>").arg( word ) );
context = "<qt>" + context + "</qt>";
ksdlg->init( word, &sugg, context );