diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-24 19:37:05 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-24 19:37:05 +0900 |
commit | 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch) | |
tree | be5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /tools/linguist | |
parent | 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff) | |
download | tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.tar.gz tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.zip |
Rename text class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/linguist')
-rw-r--r-- | tools/linguist/book/linguist-programmer.leaf | 6 | ||||
-rw-r--r-- | tools/linguist/linguist/finddialog.cpp | 4 | ||||
-rw-r--r-- | tools/linguist/linguist/main.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/linguist/msgedit.cpp | 4 | ||||
-rw-r--r-- | tools/linguist/linguist/phrasebookbox.cpp | 4 | ||||
-rw-r--r-- | tools/linguist/linguist/phraselv.cpp | 2 | ||||
-rw-r--r-- | tools/linguist/linguist/trwindow.cpp | 4 | ||||
-rw-r--r-- | tools/linguist/tutorial/tt3/printpanel.cpp | 2 |
8 files changed, 14 insertions, 14 deletions
diff --git a/tools/linguist/book/linguist-programmer.leaf b/tools/linguist/book/linguist-programmer.leaf index 95e9be5fc..8e2f77732 100644 --- a/tools/linguist/book/linguist-programmer.leaf +++ b/tools/linguist/book/linguist-programmer.leaf @@ -246,13 +246,13 @@ QApplication::translate() function directly: \code void some_global_function( LoginWidget *logwid ) { - QLabel *label = new QLabel( + TQLabel *label = new TQLabel( LoginWidget::tr("Password:"), logwid ); } void same_global_function( LoginWidget *logwid ) { - QLabel *label = new QLabel( + TQLabel *label = new TQLabel( tqApp->translate("LoginWidget", "Password:"), logwid ); } @@ -1059,7 +1059,7 @@ We'll now prepare release 1.1 of Troll Print. Start your favorite text editor and follow these steps: \list -\i Uncomment the two lines that create a \l QLabel with the text +\i Uncomment the two lines that create a \l TQLabel with the text "\<b\>TROLL PRINT\</b\>" in \c printpanel.cpp. \i Word-tidying: Replace "2-sided" by "Two-sided" in \c printpanel.cpp. \i Replace "1.0" with "1.1" everywhere it occurs in \c mainwindow.cpp. diff --git a/tools/linguist/linguist/finddialog.cpp b/tools/linguist/linguist/finddialog.cpp index 3978b974c..26663bf3d 100644 --- a/tools/linguist/linguist/finddialog.cpp +++ b/tools/linguist/linguist/finddialog.cpp @@ -40,11 +40,11 @@ #include "finddialog.h" #include <ntqcheckbox.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <ntqlineedit.h> #include <ntqpushbutton.h> -#include <ntqwhatsthis.h> +#include <tqwhatsthis.h> FindDialog::FindDialog( bool replace, TQWidget *parent, const char *name, bool modal ) diff --git a/tools/linguist/linguist/main.cpp b/tools/linguist/linguist/main.cpp index cea49d599..7b4bd14e4 100644 --- a/tools/linguist/linguist/main.cpp +++ b/tools/linguist/linguist/main.cpp @@ -34,7 +34,7 @@ #include "trwindow.h" #include <ntqapplication.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <tqpixmap.h> #include <tqtimer.h> #include <tqtextcodec.h> diff --git a/tools/linguist/linguist/msgedit.cpp b/tools/linguist/linguist/msgedit.cpp index 0e422f269..292fbc153 100644 --- a/tools/linguist/linguist/msgedit.cpp +++ b/tools/linguist/linguist/msgedit.cpp @@ -45,14 +45,14 @@ #include <ntqapplication.h> #include <ntqcheckbox.h> #include <tqclipboard.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <tqtextedit.h> #include <tqpalette.h> #include <ntqpushbutton.h> #include <tqstring.h> #include <tqtextview.h> -#include <ntqwhatsthis.h> +#include <tqwhatsthis.h> #include <ntqvbox.h> #include <tqmainwindow.h> #include <ntqheader.h> diff --git a/tools/linguist/linguist/phrasebookbox.cpp b/tools/linguist/linguist/phrasebookbox.cpp index cefac1b34..90ebdd950 100644 --- a/tools/linguist/linguist/phrasebookbox.cpp +++ b/tools/linguist/linguist/phrasebookbox.cpp @@ -41,12 +41,12 @@ #include "phraselv.h" #include <ntqapplication.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <ntqlineedit.h> #include <ntqmessagebox.h> #include <ntqpushbutton.h> -#include <ntqwhatsthis.h> +#include <tqwhatsthis.h> PhraseBookBox::PhraseBookBox( const TQString& filename, const PhraseBook& phraseBook, TQWidget *parent, diff --git a/tools/linguist/linguist/phraselv.cpp b/tools/linguist/linguist/phraselv.cpp index 62e1d1180..61cfa3a63 100644 --- a/tools/linguist/linguist/phraselv.cpp +++ b/tools/linguist/linguist/phraselv.cpp @@ -40,7 +40,7 @@ #include "phraselv.h" #include <tqregexp.h> -#include <ntqwhatsthis.h> +#include <tqwhatsthis.h> #include <ntqheader.h> class WhatPhrase : public TQWhatsThis diff --git a/tools/linguist/linguist/trwindow.cpp b/tools/linguist/linguist/trwindow.cpp index 38d46ea14..6de1b47d9 100644 --- a/tools/linguist/linguist/trwindow.cpp +++ b/tools/linguist/linguist/trwindow.cpp @@ -57,7 +57,7 @@ #include <tqfiledialog.h> #include <tqfileinfo.h> #include <ntqheader.h> -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqlayout.h> #include <tqmenubar.h> #include <ntqmessagebox.h> @@ -66,7 +66,7 @@ #include <tqsettings.h> #include <tqstatusbar.h> #include <tqtoolbar.h> -#include <ntqwhatsthis.h> +#include <tqwhatsthis.h> #include <tqprocess.h> #include <ntqassistantclient.h> diff --git a/tools/linguist/tutorial/tt3/printpanel.cpp b/tools/linguist/tutorial/tt3/printpanel.cpp index 183a6f5b9..3f8f6eda4 100644 --- a/tools/linguist/tutorial/tt3/printpanel.cpp +++ b/tools/linguist/tutorial/tt3/printpanel.cpp @@ -6,7 +6,7 @@ #include "printpanel.h" -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqradiobutton.h> #include <ntqhbuttongroup.h> |