summaryrefslogtreecommitdiffstats
path: root/knode/utilities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/utilities.cpp')
-rw-r--r--knode/utilities.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/knode/utilities.cpp b/knode/utilities.cpp
index 4c857a3e5..0927c9171 100644
--- a/knode/utilities.cpp
+++ b/knode/utilities.cpp
@@ -274,7 +274,7 @@ int KNHelper::selectDialog(TQWidget *tqparent, const TQString &caption, const TQ
TQString s;
for ( TQStringList::ConstIterator it = options.begin(); it != options.end(); ++it ) {
s = (*it);
- s.tqreplace(TQRegExp("&"),""); // remove accelerators
+ s.replace(TQRegExp("&"),""); // remove accelerators
list->insertItem(s);
}
@@ -427,7 +427,7 @@ TQString KNHelper::rewrapStringList(TQStringList text, int wrapAt, TQChar quoteC
thisLine = thisLine.stripWhiteSpace();
if(!leftover.isEmpty()) { // don't break paragraphs, tables and quote levels
- if(thisLine.isEmpty() || (thisPrefix!=lastPrefix) || thisLine.tqcontains(" ") || thisLine.tqcontains('\t'))
+ if(thisLine.isEmpty() || (thisPrefix!=lastPrefix) || thisLine.contains(" ") || thisLine.contains('\t'))
appendTextWPrefix(quoted, leftover, wrapAt, lastPrefix);
else
thisLine.prepend(leftover+" ");