summaryrefslogtreecommitdiffstats
path: root/kiten/dict.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
commit746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 (patch)
tree34a73ef7b8771de54099eeffb941117e49a8865e /kiten/dict.cpp
parent999f961ff5278b84c8ffd8a91addb9343e589cf0 (diff)
downloadtdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.tar.gz
tdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kiten/dict.cpp')
-rw-r--r--kiten/dict.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kiten/dict.cpp b/kiten/dict.cpp
index cde11f1c..0b86e906 100644
--- a/kiten/dict.cpp
+++ b/kiten/dict.cpp
@@ -41,7 +41,7 @@ void msgerr(const TQString &msg, const TQString &dict = TQString())
{
TQString output = msg;
if (!dict.isNull())
- output = msg.tqarg(dict);
+ output = msg.arg(dict);
KMessageBox::error(0, output);
}
}
@@ -50,7 +50,7 @@ using namespace Dict;
TextType Dict::textType(const TQString &text)
{
- ushort first = text.tqat(0).tqunicode();
+ ushort first = text.at(0).tqunicode();
if (first < 0x3000)
return Text_Latin;
@@ -487,7 +487,7 @@ TQRegExp Dict::Index::createRegExp(SearchType type, const TQString &text, Dictio
regExp = "%1";
}
- return TQRegExp(regExp.tqarg(text), caseSensitive);
+ return TQRegExp(regExp.arg(text), caseSensitive);
}
int Index::stringCompare(File &file, int index, TQCString str)