diff options
Diffstat (limited to 'tools/linguist')
| -rw-r--r-- | tools/linguist/book/linguist-programmer.leaf | 28 | ||||
| -rw-r--r-- | tools/linguist/linguist/finddialog.cpp | 6 | ||||
| -rw-r--r-- | tools/linguist/linguist/finddialog.h | 2 | ||||
| -rw-r--r-- | tools/linguist/linguist/msgedit.cpp | 6 | ||||
| -rw-r--r-- | tools/linguist/linguist/msgedit.h | 2 | ||||
| -rw-r--r-- | tools/linguist/linguist/phrasebookbox.cpp | 4 | ||||
| -rw-r--r-- | tools/linguist/linguist/phrasebookbox.h | 2 | ||||
| -rw-r--r-- | tools/linguist/tutorial/tt1/main.cpp | 2 | ||||
| -rw-r--r-- | tools/linguist/tutorial/tt2/arrowpad.cpp | 2 | ||||
| -rw-r--r-- | tools/linguist/tutorial/tt3/printpanel.cpp | 2 | 
10 files changed, 28 insertions, 28 deletions
| diff --git a/tools/linguist/book/linguist-programmer.leaf b/tools/linguist/book/linguist-programmer.leaf index 663f5fc40..7fa18a15f 100644 --- a/tools/linguist/book/linguist-programmer.leaf +++ b/tools/linguist/book/linguist-programmer.leaf @@ -121,13 +121,13 @@ will fall back to using the original source text.  User-visible strings are marked as translation targets by wrapping them  in a \c tr() call, for example:  \code -    button = new QPushButton( "&Quit", this ); +    button = new TQPushButton( "&Quit", this );  \endcode  would become  \code -    button = new QPushButton( tr("&Quit"), this); +    button = new TQPushButton( tr("&Quit"), this);  \endcode  \index TQ_OBJECT @@ -140,7 +140,7 @@ usually called as a member function of a \l TQObject subclass, in  other cases an explicit class name can be supplied, for example:  \code -    QPushButton::tr("&Quit") +    TQPushButton::tr("&Quit")  \endcode  or @@ -167,13 +167,13 @@ differ between the two. This is easily achieved using the  two argument form of the \c tr() call, e.g.  \code -    rbc = new QRadioButton( tr("Enabled", "Color frame"), this ); +    rbc = new TQRadioButton( tr("Enabled", "Color frame"), this );  \endcode  and  \code -    rbh = new QRadioButton( tr("Enabled", "Hue frame"), this ); +    rbh = new TQRadioButton( tr("Enabled", "Hue frame"), this );  \endcode  \index Ctrl Key @@ -374,7 +374,7 @@ translation appears; if not, the source text appears.  All classes that inherit \l TQObject have a \c tr() function. Inside  a member function of a \l TQObject class, we simply write \c tr("Hello -world!") instead of \c QPushButton::tr("Hello world!") or \c +world!") instead of \c TQPushButton::tr("Hello world!") or \c  TQObject::tr("Hello world!").  \section3 Running the Application in English @@ -461,7 +461,7 @@ the current directory, containing this:  \code      <!DOCTYPE TS><TS>      <context> -        <name>QPushButton</name> +        <name>TQPushButton</name>          <message>              <source>Hello world!</source>              <translation type="unfinished"></translation> @@ -486,7 +486,7 @@ To start \e {Qt Linguist}, type      linguist tt1_la.ts  \endcode -You should now see the text "QPushButton" in the top left pane. +You should now see the text "TQPushButton" in the top left pane.  Double-click it, then click on "Hello world!" and enter "Orbis, te  saluto!" in the \e Translation pane (the middle right of the  window). Don't forget the exclamation mark! @@ -614,8 +614,8 @@ conflicts.  In \c arrowpad.cpp we implement the \c ArrowPad class.  \quotefile tt2/arrowpad.cpp -\skipto QPushButton -\printline QPushButton +\skipto TQPushButton +\printline TQPushButton  We call \c ArrowPad::tr() for each button's label since the labels are  user-visible text. @@ -958,16 +958,16 @@ second argument "two-sided" in the appropriate \c tr() calls to the  first pair of radio buttons:  \code -    but = new QRadioButton( tr("Enabled", "two-sided"), twoSided ); -    but = new QRadioButton( tr("Disabled", "two-sided"), twoSided ); +    but = new TQRadioButton( tr("Enabled", "two-sided"), twoSided ); +    but = new TQRadioButton( tr("Disabled", "two-sided"), twoSided );  \endcode  and add the second argument "colors" in the appropriate \c tr() calls  for the second pair of radio buttons:  \code -    but = new QRadioButton( tr("Enabled", "colors"), colors ); -    but = new QRadioButton( tr("Disabled", "colors"), colors ); +    but = new TQRadioButton( tr("Enabled", "colors"), colors ); +    but = new TQRadioButton( tr("Disabled", "colors"), colors );  \endcode  \index lupdate diff --git a/tools/linguist/linguist/finddialog.cpp b/tools/linguist/linguist/finddialog.cpp index 26663bf3d..8369df80d 100644 --- a/tools/linguist/linguist/finddialog.cpp +++ b/tools/linguist/linguist/finddialog.cpp @@ -39,11 +39,11 @@  #include "finddialog.h" -#include <ntqcheckbox.h> +#include <tqcheckbox.h>  #include <tqlabel.h>  #include <ntqlayout.h> -#include <ntqlineedit.h> -#include <ntqpushbutton.h> +#include <tqlineedit.h> +#include <tqpushbutton.h>  #include <tqwhatsthis.h>  FindDialog::FindDialog( bool replace, TQWidget *parent, const char *name, diff --git a/tools/linguist/linguist/finddialog.h b/tools/linguist/linguist/finddialog.h index c2576002e..ae922b84d 100644 --- a/tools/linguist/linguist/finddialog.h +++ b/tools/linguist/linguist/finddialog.h @@ -34,7 +34,7 @@  #ifndef FINDDIALOG_H  #define FINDDIALOG_H -#include <ntqdialog.h> +#include <tqdialog.h>  class TQCheckBox;  class TQLineEdit; diff --git a/tools/linguist/linguist/msgedit.cpp b/tools/linguist/linguist/msgedit.cpp index 292fbc153..16bab1075 100644 --- a/tools/linguist/linguist/msgedit.cpp +++ b/tools/linguist/linguist/msgedit.cpp @@ -43,13 +43,13 @@  #include "simtexth.h"  #include <ntqapplication.h> -#include <ntqcheckbox.h> +#include <tqcheckbox.h>  #include <tqclipboard.h>  #include <tqlabel.h>  #include <ntqlayout.h>  #include <tqtextedit.h>  #include <tqpalette.h> -#include <ntqpushbutton.h> +#include <tqpushbutton.h>  #include <tqstring.h>  #include <tqtextview.h>  #include <tqwhatsthis.h> @@ -59,7 +59,7 @@  #include <tqregexp.h>  #include <ntqdockarea.h>  #include <ntqdockwindow.h> -#include <ntqscrollview.h> +#include <tqscrollview.h>  #include <tqfont.h>  #include <ntqaccel.h>  #include <private/qrichtext_p.h> diff --git a/tools/linguist/linguist/msgedit.h b/tools/linguist/linguist/msgedit.h index 0ca95bcf7..d631a0048 100644 --- a/tools/linguist/linguist/msgedit.h +++ b/tools/linguist/linguist/msgedit.h @@ -43,7 +43,7 @@  #include <tqstring.h>  #include <tqstringlist.h>  #include <tqvaluelist.h> -#include <ntqscrollview.h> +#include <tqscrollview.h>  #include <tqpixmap.h>  #include <tqbitmap.h>  #include <tqtooltip.h> diff --git a/tools/linguist/linguist/phrasebookbox.cpp b/tools/linguist/linguist/phrasebookbox.cpp index 90ebdd950..a272a35ba 100644 --- a/tools/linguist/linguist/phrasebookbox.cpp +++ b/tools/linguist/linguist/phrasebookbox.cpp @@ -43,9 +43,9 @@  #include <ntqapplication.h>  #include <tqlabel.h>  #include <ntqlayout.h> -#include <ntqlineedit.h> +#include <tqlineedit.h>  #include <ntqmessagebox.h> -#include <ntqpushbutton.h> +#include <tqpushbutton.h>  #include <tqwhatsthis.h>  PhraseBookBox::PhraseBookBox( const TQString& filename, diff --git a/tools/linguist/linguist/phrasebookbox.h b/tools/linguist/linguist/phrasebookbox.h index 64071000a..d09ec3787 100644 --- a/tools/linguist/linguist/phrasebookbox.h +++ b/tools/linguist/linguist/phrasebookbox.h @@ -36,7 +36,7 @@  #include "phrase.h" -#include <ntqdialog.h> +#include <tqdialog.h>  #include <tqvaluelist.h>  class TQLineEdit; diff --git a/tools/linguist/tutorial/tt1/main.cpp b/tools/linguist/tutorial/tt1/main.cpp index 43c6da732..977d18e88 100644 --- a/tools/linguist/tutorial/tt1/main.cpp +++ b/tools/linguist/tutorial/tt1/main.cpp @@ -5,7 +5,7 @@  ****************************************************************/  #include <ntqapplication.h> -#include <ntqpushbutton.h> +#include <tqpushbutton.h>  #include <tqtranslator.h> diff --git a/tools/linguist/tutorial/tt2/arrowpad.cpp b/tools/linguist/tutorial/tt2/arrowpad.cpp index d96f8f596..c25d3817f 100644 --- a/tools/linguist/tutorial/tt2/arrowpad.cpp +++ b/tools/linguist/tutorial/tt2/arrowpad.cpp @@ -6,7 +6,7 @@  #include "arrowpad.h" -#include <ntqpushbutton.h> +#include <tqpushbutton.h>  ArrowPad::ArrowPad( TQWidget *parent, const char *name )      : TQGrid( 3, Horizontal, parent, name ) diff --git a/tools/linguist/tutorial/tt3/printpanel.cpp b/tools/linguist/tutorial/tt3/printpanel.cpp index 3f8f6eda4..ad8bd7ebb 100644 --- a/tools/linguist/tutorial/tt3/printpanel.cpp +++ b/tools/linguist/tutorial/tt3/printpanel.cpp @@ -7,7 +7,7 @@  #include "printpanel.h"  #include <tqlabel.h> -#include <ntqradiobutton.h> +#include <tqradiobutton.h>  #include <ntqhbuttongroup.h>  PrintPanel::PrintPanel( TQWidget *parent, const char *name ) | 
