diff options
Diffstat (limited to 'kvoctrain/kvoctrain/tools/extractlang.cpp')
-rw-r--r-- | kvoctrain/kvoctrain/tools/extractlang.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kvoctrain/kvoctrain/tools/extractlang.cpp b/kvoctrain/kvoctrain/tools/extractlang.cpp index 6123214c..a775274e 100644 --- a/kvoctrain/kvoctrain/tools/extractlang.cpp +++ b/kvoctrain/kvoctrain/tools/extractlang.cpp @@ -1,5 +1,5 @@ -#include <qtextstream.h> -#include <qstring.h> +#include <tqtextstream.h> +#include <tqstring.h> /////////////////////////////////////////////////////////// // @@ -14,16 +14,16 @@ // /////////////////////////////////////////////////////////// -QString twoLangs; -QString threeLangs; +TQString twoLangs; +TQString threeLangs; -void parseLanguage(QString name, QString three, QString two) +void parseLanguage(TQString name, TQString three, TQString two) { int star = three.find('*'); if (star > 0) three.remove(star, 1); - QString three_1 = three; + TQString three_1 = three; int slash = three_1.find('/'); if (slash > 0) { @@ -59,11 +59,11 @@ void parseLanguage(QString name, QString three, QString two) threeLangs.append("\")}},\n"); } -QString parseTD(QString& line) +TQString parseTD(TQString& line) { - QCString cline = line.local8Bit(); + TQCString cline = line.local8Bit(); uint clineLength = cline.length(); - QCString result = cline; + TQCString result = cline; int pos = -1; bool inTag = false; @@ -80,15 +80,15 @@ QString parseTD(QString& line) } } - QString retVal(result); + TQString retVal(result); retVal = retVal.left(pos+1); return retVal.simplifyWhiteSpace(); } -bool parseTR(QString& line, QTextIStream& in) +bool parseTR(TQString& line, TQTextIStream& in) { - QString text[4]; + TQString text[4]; line = in.readLine(); if (line.isNull()) @@ -119,11 +119,11 @@ bool parseTR(QString& line, QTextIStream& in) int main() { - QString line; + TQString line; bool readNext = true; - QTextIStream in(stdin); - QTextOStream out(stdout); + TQTextIStream in(stdin); + TQTextOStream out(stdout); while (!in.atEnd()) { |