summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-24 21:06:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-28 18:25:42 +0900
commit8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (patch)
treefb639fd5c35cb99f87172bc61484f5bf74b6beb9 /tools
parent0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (diff)
downloadtqt3-8ef4ea451dd81dd66b34ed31aaa631f6df24a192.tar.gz
tqt3-8ef4ea451dd81dd66b34ed31aaa631f6df24a192.zip
Rename environment class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools')
-rw-r--r--tools/assistant/helpdialogimpl.cpp2
-rw-r--r--tools/assistant/helpwindow.cpp2
-rw-r--r--tools/assistant/mainwindow.ui.h2
-rw-r--r--tools/designer/designer/formwindow.cpp2
-rw-r--r--tools/designer/designer/layout.cpp2
-rw-r--r--tools/designer/designer/propertyeditor.cpp2
-rw-r--r--tools/designer/designer/widgetfactory.h2
-rw-r--r--tools/designer/shared/widgetdatabase.cpp2
-rw-r--r--tools/linguist/book/linguist-programmer.leaf24
-rw-r--r--tools/linguist/linguist/main.cpp2
-rw-r--r--tools/linguist/shared/metatranslator.h2
-rw-r--r--tools/linguist/tqm2ts/main.cpp2
-rw-r--r--tools/linguist/tutorial/tt1/main.cpp2
-rw-r--r--tools/linguist/tutorial/tt2/main.cpp2
-rw-r--r--tools/linguist/tutorial/tt3/main.cpp2
-rw-r--r--tools/msg2tqm/msg2tqm.cpp6
16 files changed, 29 insertions, 29 deletions
diff --git a/tools/assistant/helpdialogimpl.cpp b/tools/assistant/helpdialogimpl.cpp
index 073727cf3..3da2e1e3e 100644
--- a/tools/assistant/helpdialogimpl.cpp
+++ b/tools/assistant/helpdialogimpl.cpp
@@ -43,7 +43,7 @@
#include <ntqapplication.h>
#include <ntqcursor.h>
#include <tqdir.h>
-#include <ntqeventloop.h>
+#include <tqeventloop.h>
#include <tqfile.h>
#include <tqfileinfo.h>
#include <ntqheader.h>
diff --git a/tools/assistant/helpwindow.cpp b/tools/assistant/helpwindow.cpp
index c43a42e8b..d543a0594 100644
--- a/tools/assistant/helpwindow.cpp
+++ b/tools/assistant/helpwindow.cpp
@@ -47,7 +47,7 @@
#include <tqpopupmenu.h>
#include <tqaction.h>
#include <tqfileinfo.h>
-#include <ntqevent.h>
+#include <tqevent.h>
#include <tqtextstream.h>
#include <tqtextcodec.h>
diff --git a/tools/assistant/mainwindow.ui.h b/tools/assistant/mainwindow.ui.h
index dbf0fa382..20c9ceea1 100644
--- a/tools/assistant/mainwindow.ui.h
+++ b/tools/assistant/mainwindow.ui.h
@@ -42,7 +42,7 @@
#include <tqfontinfo.h>
#include <ntqaccel.h>
#include <ntqmetaobject.h>
-#include <ntqeventloop.h>
+#include <tqeventloop.h>
TQPtrList<MainWindow> *MainWindow::windows = 0;
diff --git a/tools/designer/designer/formwindow.cpp b/tools/designer/designer/formwindow.cpp
index 4b8fb1d2f..2e0c32d94 100644
--- a/tools/designer/designer/formwindow.cpp
+++ b/tools/designer/designer/formwindow.cpp
@@ -51,7 +51,7 @@
#include <stdlib.h>
-#include <ntqevent.h>
+#include <tqevent.h>
#include <tqpainter.h>
#include <tqpen.h>
#include <tqlabel.h>
diff --git a/tools/designer/designer/layout.cpp b/tools/designer/designer/layout.cpp
index 46d15eefe..7f4cc84ef 100644
--- a/tools/designer/designer/layout.cpp
+++ b/tools/designer/designer/layout.cpp
@@ -37,7 +37,7 @@
#include "widgetfactory.h"
#include <ntqlayout.h>
-#include <ntqevent.h>
+#include <tqevent.h>
#include <tqpainter.h>
#include <tqpen.h>
#include <tqbitmap.h>
diff --git a/tools/designer/designer/propertyeditor.cpp b/tools/designer/designer/propertyeditor.cpp
index c38b86dab..c5df3f06c 100644
--- a/tools/designer/designer/propertyeditor.cpp
+++ b/tools/designer/designer/propertyeditor.cpp
@@ -63,7 +63,7 @@
#include <ntqhbox.h>
#include <tqfontdialog.h>
#include <ntqspinbox.h>
-#include <ntqevent.h>
+#include <tqevent.h>
#include <tqobjectlist.h>
#include <ntqlistbox.h>
#include <tqfontdatabase.h>
diff --git a/tools/designer/designer/widgetfactory.h b/tools/designer/designer/widgetfactory.h
index 93cece6c2..7f913721d 100644
--- a/tools/designer/designer/widgetfactory.h
+++ b/tools/designer/designer/widgetfactory.h
@@ -42,7 +42,7 @@
#include <tqpixmap.h>
#include <tqsize.h>
#include <tqpainter.h>
-#include <ntqevent.h>
+#include <tqevent.h>
#include <tqobjectlist.h>
#include <tqlabel.h>
#include <ntqwizard.h>
diff --git a/tools/designer/shared/widgetdatabase.cpp b/tools/designer/shared/widgetdatabase.cpp
index f96b6e549..332f16735 100644
--- a/tools/designer/shared/widgetdatabase.cpp
+++ b/tools/designer/shared/widgetdatabase.cpp
@@ -65,7 +65,7 @@ static bool was_in_setup = FALSE;
static TQString converted_widgets[] =
{
"TQColorDialog",
- "TQDateTimeEdit",
+ "TQDateTimeEdit", "TQDesktopWidget",
"TQFileDialog",
"TQIconView",
"TQLabel",
diff --git a/tools/linguist/book/linguist-programmer.leaf b/tools/linguist/book/linguist-programmer.leaf
index 8e2f77732..663f5fc40 100644
--- a/tools/linguist/book/linguist-programmer.leaf
+++ b/tools/linguist/book/linguist-programmer.leaf
@@ -85,8 +85,8 @@ See the \link lupdate "lupdate" \endlink and \link lrelease
This is how a simple \c main() function of a TQt application begins.
-\index QTranslator!load()
-\index load()!QTranslator
+\index TQTranslator!load()
+\index load()!TQTranslator
\index QApplication!installTranslator()
\index installTranslator()!QApplication
@@ -299,7 +299,7 @@ Example of TQT_TRANSLATE_NOOP():
\section1 Tutorials
Three tutorials are presented. The first demonstrates the creation of
-a \l QTranslator object. It also shows the simplest use of the \c
+a \l TQTranslator object. It also shows the simplest use of the \c
tr() function to mark user-visible source text for translation. The
second tutorial explains how to make the application load the
translation file applicable to the current locale. It also shows the
@@ -332,18 +332,18 @@ English version}, above, shows the English version.
\quotefile tt1/main.cpp
-\skipto qtranslator
-\printline qtranslator
+\skipto tqtranslator
+\printline tqtranslator
-\index QTranslator
+\index TQTranslator
-This line includes the definition of the \l QTranslator class.
+This line includes the definition of the \l TQTranslator class.
Objects of this class provide translations for user-visible text.
-\skipto QTranslator
+\skipto TQTranslator
\printuntil tor
-Creates a \l QTranslator object without a parent.
+Creates a \l TQTranslator object without a parent.
\printline load
@@ -665,8 +665,8 @@ describing the function that the accelerator performs.
Our \c main() function is defined in \c main.cpp as usual.
\quotefile tt2/main.cpp
-\skipto QTranslator
-\printline QTranslator
+\skipto TQTranslator
+\printline TQTranslator
\printuntil install
\index TQTextCodec!locale()
@@ -913,7 +913,7 @@ the second argument is the only clue the translator has to indicate
what function that accelerator will perform.
\quotefile tt3/main.cpp
-\skipto QTranslator
+\skipto TQTranslator
\printuntil installTranslator
\index main()
diff --git a/tools/linguist/linguist/main.cpp b/tools/linguist/linguist/main.cpp
index 7b4bd14e4..f690b07a0 100644
--- a/tools/linguist/linguist/main.cpp
+++ b/tools/linguist/linguist/main.cpp
@@ -38,7 +38,7 @@
#include <tqpixmap.h>
#include <tqtimer.h>
#include <tqtextcodec.h>
-#include <ntqtranslator.h>
+#include <tqtranslator.h>
#include <tqsettings.h>
#include <ntqsplashscreen.h>
diff --git a/tools/linguist/shared/metatranslator.h b/tools/linguist/shared/metatranslator.h
index 36ce7f1be..1d1af6514 100644
--- a/tools/linguist/shared/metatranslator.h
+++ b/tools/linguist/shared/metatranslator.h
@@ -36,7 +36,7 @@
#include <tqmap.h>
#include <tqstring.h>
-#include <ntqtranslator.h>
+#include <tqtranslator.h>
#include <tqvaluelist.h>
class TQTextCodec;
diff --git a/tools/linguist/tqm2ts/main.cpp b/tools/linguist/tqm2ts/main.cpp
index fe5feebc0..3f3ad5dc3 100644
--- a/tools/linguist/tqm2ts/main.cpp
+++ b/tools/linguist/tqm2ts/main.cpp
@@ -35,7 +35,7 @@
#include <tqregexp.h>
#include <tqstring.h>
-#include <ntqtranslator.h>
+#include <tqtranslator.h>
typedef TQValueList<TQTranslatorMessage> TML;
diff --git a/tools/linguist/tutorial/tt1/main.cpp b/tools/linguist/tutorial/tt1/main.cpp
index 2f38cc156..43c6da732 100644
--- a/tools/linguist/tutorial/tt1/main.cpp
+++ b/tools/linguist/tutorial/tt1/main.cpp
@@ -6,7 +6,7 @@
#include <ntqapplication.h>
#include <ntqpushbutton.h>
-#include <ntqtranslator.h>
+#include <tqtranslator.h>
int main( int argc, char **argv )
diff --git a/tools/linguist/tutorial/tt2/main.cpp b/tools/linguist/tutorial/tt2/main.cpp
index 3c5a4f6d8..6aa66d472 100644
--- a/tools/linguist/tutorial/tt2/main.cpp
+++ b/tools/linguist/tutorial/tt2/main.cpp
@@ -9,7 +9,7 @@
#include <ntqapplication.h>
#include <tqstring.h>
#include <tqtextcodec.h>
-#include <ntqtranslator.h>
+#include <tqtranslator.h>
int main( int argc, char **argv )
{
diff --git a/tools/linguist/tutorial/tt3/main.cpp b/tools/linguist/tutorial/tt3/main.cpp
index 45b5c5725..64cfd2523 100644
--- a/tools/linguist/tutorial/tt3/main.cpp
+++ b/tools/linguist/tutorial/tt3/main.cpp
@@ -9,7 +9,7 @@
#include <ntqapplication.h>
#include <tqstring.h>
#include <tqtextcodec.h>
-#include <ntqtranslator.h>
+#include <tqtranslator.h>
int main( int argc, char **argv )
{
diff --git a/tools/msg2tqm/msg2tqm.cpp b/tools/msg2tqm/msg2tqm.cpp
index 9a407dc3d..57994ce80 100644
--- a/tools/msg2tqm/msg2tqm.cpp
+++ b/tools/msg2tqm/msg2tqm.cpp
@@ -2,7 +2,7 @@
** Copyright (C) 1998-2008 Trolltech ASA. All rights reserved.
**
** This is a utility program for converting tqtfindtr msgfiles to
-** qtranslator message files
+** tqtranslator message files
**
** This file may be used under the terms of the GNU General
** Public License versions 2.0 or 3.0 as published by the Free
@@ -35,7 +35,7 @@
#include <tqfile.h>
#include <tqtextstream.h>
#include <tqtextcodec.h>
-#include <ntqtranslator.h>
+#include <tqtranslator.h>
#include <stdio.h>
#include <stdlib.h>
@@ -210,7 +210,7 @@ void translate( const TQString& filename, const TQString& qmfile )
}
-// workaround for BCC problem, ntqtranslator.h includes ntqwindowdefs.h via tqobject.h, see NEEDS_QMAIN
+// workaround for BCC problem, tqtranslator.h includes ntqwindowdefs.h via tqobject.h, see NEEDS_QMAIN
#if defined(main)
#undef main
#endif