summaryrefslogtreecommitdiffstats
path: root/tools/linguist
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linguist')
-rw-r--r--tools/linguist/book/linguist-manager.leaf4
-rw-r--r--tools/linguist/book/linguist-programmer.leaf6
-rw-r--r--tools/linguist/linguist/main.cpp2
-rw-r--r--tools/linguist/linguist/msgedit.cpp4
-rw-r--r--tools/linguist/linguist/phrase.cpp2
-rw-r--r--tools/linguist/lrelease/main.cpp2
-rw-r--r--tools/linguist/lupdate/fetchtr.cpp2
-rw-r--r--tools/linguist/lupdate/main.cpp2
-rw-r--r--tools/linguist/shared/metatranslator.cpp4
-rw-r--r--tools/linguist/shared/proparser.cpp2
-rw-r--r--tools/linguist/tutorial/tt2/main.cpp2
-rw-r--r--tools/linguist/tutorial/tt3/main.cpp2
12 files changed, 17 insertions, 17 deletions
diff --git a/tools/linguist/book/linguist-manager.leaf b/tools/linguist/book/linguist-manager.leaf
index 9acf9263..15d2d736 100644
--- a/tools/linguist/book/linguist-manager.leaf
+++ b/tools/linguist/book/linguist-manager.leaf
@@ -56,12 +56,12 @@ An example of a complete \c .pro file with four translation source files:
\index Chinese Language
\index Japanese Language
-\l QTextCodec::setCodecForTr() makes it possible to choose a
+\l TQTextCodec::setCodecForTr() makes it possible to choose a
8-bit encoding for literal strings that appear within \c tr() calls.
This is useful for applications whose source language is, for example,
Chinese or Japanese. If no encoding is set, \c tr() uses Latin-1.
-If you do use the \l QTextCodec::codecForTr() mechanism in your
+If you do use the \l TQTextCodec::codecForTr() mechanism in your
application, \e {Qt Linguist} needs you to set the \c DEFAULTCODEC
entry in the \c .pro file as well. For example:
\code
diff --git a/tools/linguist/book/linguist-programmer.leaf b/tools/linguist/book/linguist-programmer.leaf
index 120dab0f..eff9422c 100644
--- a/tools/linguist/book/linguist-programmer.leaf
+++ b/tools/linguist/book/linguist-programmer.leaf
@@ -669,13 +669,13 @@ Our \c main() function is defined in \c main.cpp as usual.
\printline QTranslator
\printuntil install
-\index QTextCodec!locale()
-\index locale()!QTextCodec
+\index TQTextCodec!locale()
+\index locale()!TQTextCodec
\index LANG!Environment Variable
\index Environment Variables!LANG
We choose which translation to use according to the current locale.
-\l QTextCodec::locale() can be influenced by setting the \c LANG
+\l TQTextCodec::locale() can be influenced by setting the \c LANG
environment variable, for example. Notice that the use of a naming
convention that incorporates the locale for \c .qm message files,
(and \c .ts files), makes it easy to implement choosing the
diff --git a/tools/linguist/linguist/main.cpp b/tools/linguist/linguist/main.cpp
index 92704776..59ea00c4 100644
--- a/tools/linguist/linguist/main.cpp
+++ b/tools/linguist/linguist/main.cpp
@@ -37,7 +37,7 @@
#include <ntqlabel.h>
#include <ntqpixmap.h>
#include <ntqtimer.h>
-#include <ntqtextcodec.h>
+#include <tqtextcodec.h>
#include <ntqtranslator.h>
#include <ntqsettings.h>
#include <ntqsplashscreen.h>
diff --git a/tools/linguist/linguist/msgedit.cpp b/tools/linguist/linguist/msgedit.cpp
index cce5f279..d68dfa09 100644
--- a/tools/linguist/linguist/msgedit.cpp
+++ b/tools/linguist/linguist/msgedit.cpp
@@ -47,11 +47,11 @@
#include <ntqclipboard.h>
#include <ntqlabel.h>
#include <ntqlayout.h>
-#include <ntqtextedit.h>
+#include <tqtextedit.h>
#include <ntqpalette.h>
#include <ntqpushbutton.h>
#include <tqstring.h>
-#include <ntqtextview.h>
+#include <tqtextview.h>
#include <ntqwhatsthis.h>
#include <ntqvbox.h>
#include <ntqmainwindow.h>
diff --git a/tools/linguist/linguist/phrase.cpp b/tools/linguist/linguist/phrase.cpp
index 604187f3..de63b643 100644
--- a/tools/linguist/linguist/phrase.cpp
+++ b/tools/linguist/linguist/phrase.cpp
@@ -38,7 +38,7 @@
#include <ntqfile.h>
#include <ntqmessagebox.h>
#include <ntqregexp.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <tqxml.h>
static TQString protect( const TQString& str )
diff --git a/tools/linguist/lrelease/main.cpp b/tools/linguist/lrelease/main.cpp
index 29561e09..a20bd5cc 100644
--- a/tools/linguist/lrelease/main.cpp
+++ b/tools/linguist/lrelease/main.cpp
@@ -40,7 +40,7 @@
#include <ntqregexp.h>
#include <tqstring.h>
#include <tqstringlist.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <errno.h>
diff --git a/tools/linguist/lupdate/fetchtr.cpp b/tools/linguist/lupdate/fetchtr.cpp
index 1539a57d..3295dbaf 100644
--- a/tools/linguist/lupdate/fetchtr.cpp
+++ b/tools/linguist/lupdate/fetchtr.cpp
@@ -36,7 +36,7 @@
#include <ntqfile.h>
#include <ntqregexp.h>
#include <tqstring.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <tqvaluestack.h>
#include <tqxml.h>
diff --git a/tools/linguist/lupdate/main.cpp b/tools/linguist/lupdate/main.cpp
index 3c0e170a..53213d0c 100644
--- a/tools/linguist/lupdate/main.cpp
+++ b/tools/linguist/lupdate/main.cpp
@@ -39,7 +39,7 @@
#include <ntqfileinfo.h>
#include <tqstring.h>
#include <tqstringlist.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#include <errno.h>
#include <string.h>
diff --git a/tools/linguist/shared/metatranslator.cpp b/tools/linguist/shared/metatranslator.cpp
index 73e435d0..aabd5d28 100644
--- a/tools/linguist/shared/metatranslator.cpp
+++ b/tools/linguist/shared/metatranslator.cpp
@@ -37,8 +37,8 @@
#include <ntqcstring.h>
#include <ntqfile.h>
#include <ntqmessagebox.h>
-#include <ntqtextcodec.h>
-#include <ntqtextstream.h>
+#include <tqtextcodec.h>
+#include <tqtextstream.h>
#include <tqxml.h>
static bool encodingIsUtf8( const TQXmlAttributes& atts )
diff --git a/tools/linguist/shared/proparser.cpp b/tools/linguist/shared/proparser.cpp
index fea00880..f4a6d8de 100644
--- a/tools/linguist/shared/proparser.cpp
+++ b/tools/linguist/shared/proparser.cpp
@@ -38,7 +38,7 @@
#include <ntqfileinfo.h>
#include <ntqregexp.h>
#include <tqstringlist.h>
-#include <ntqtextstream.h>
+#include <tqtextstream.h>
#ifdef Q_OS_UNIX
#include <unistd.h>
diff --git a/tools/linguist/tutorial/tt2/main.cpp b/tools/linguist/tutorial/tt2/main.cpp
index 80b60864..3c5a4f6d 100644
--- a/tools/linguist/tutorial/tt2/main.cpp
+++ b/tools/linguist/tutorial/tt2/main.cpp
@@ -8,7 +8,7 @@
#include <ntqapplication.h>
#include <tqstring.h>
-#include <ntqtextcodec.h>
+#include <tqtextcodec.h>
#include <ntqtranslator.h>
int main( int argc, char **argv )
diff --git a/tools/linguist/tutorial/tt3/main.cpp b/tools/linguist/tutorial/tt3/main.cpp
index aa69e799..45b5c572 100644
--- a/tools/linguist/tutorial/tt3/main.cpp
+++ b/tools/linguist/tutorial/tt3/main.cpp
@@ -8,7 +8,7 @@
#include <ntqapplication.h>
#include <tqstring.h>
-#include <ntqtextcodec.h>
+#include <tqtextcodec.h>
#include <ntqtranslator.h>
int main( int argc, char **argv )