diff options
Diffstat (limited to 'tools/linguist')
-rw-r--r-- | tools/linguist/book/linguist-manager.leaf | 4 | ||||
-rw-r--r-- | tools/linguist/book/linguist-programmer.leaf | 6 | ||||
-rw-r--r-- | tools/linguist/linguist/main.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/linguist/msgedit.cpp | 4 | ||||
-rw-r--r-- | tools/linguist/linguist/phrase.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/lrelease/main.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/lupdate/fetchtr.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/lupdate/main.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/shared/metatranslator.cpp | 4 | ||||
-rw-r--r-- | tools/linguist/shared/proparser.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/tutorial/tt2/main.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/tutorial/tt3/main.cpp | 2 |
12 files changed, 17 insertions, 17 deletions
diff --git a/tools/linguist/book/linguist-manager.leaf b/tools/linguist/book/linguist-manager.leaf index 9acf92634..15d2d7367 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 120dab0ff..eff9422cb 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 927047769..59ea00c45 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 cce5f2799..d68dfa09b 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 604187f34..de63b643a 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 29561e091..a20bd5cc5 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 1539a57de..3295dbaf2 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 3c0e170a6..53213d0cf 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 73e435d0a..aabd5d28e 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 fea008806..f4a6d8deb 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 80b60864c..3c5a4f6d8 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 aa69e799a..45b5c5725 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 ) |