summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-08-25 15:36:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-08-29 22:23:36 +0900
commit0917fbb5387978eb7b2e2fd68bcb6beaa8c46505 (patch)
tree0ef68a6a92087957855c7607ac176821d10d049d /examples
parent7b1d2ad2df8cd011b487c43336aa67639fa359c9 (diff)
downloadtqt3-0917fbb5387978eb7b2e2fd68bcb6beaa8c46505.tar.gz
tqt3-0917fbb5387978eb7b2e2fd68bcb6beaa8c46505.zip
Rename remaining ntq[a-c]* related files to equivalent tq* (except ntqapplication.h and ntqconfig.h)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples')
-rw-r--r--examples/README4
-rw-r--r--examples/action/application.cpp2
-rw-r--r--examples/application/application.cpp2
-rw-r--r--examples/chart/canvasview.cpp2
-rw-r--r--examples/cursor/cursor.cpp2
-rw-r--r--examples/demo/frame.cpp2
-rw-r--r--examples/demo/opengl/glcontrolwidget.cpp2
-rw-r--r--examples/demo/qasteroids/toplevel.cpp2
-rw-r--r--examples/demo/qasteroids/view.cpp2
-rw-r--r--examples/demo/textdrawing/example.html4
-rw-r--r--examples/distributor/distributor.ui.h2
-rw-r--r--examples/fileiconview/tqfileiconview.cpp2
-rw-r--r--examples/helpdemo/helpdemo.cpp2
-rw-r--r--examples/helpsystem/helpsystem.doc6
-rw-r--r--examples/helpsystem/mainwindow.cpp4
-rw-r--r--examples/i18n/mywidget.cpp2
-rw-r--r--examples/i18n/mywidget_cs.ts2
-rw-r--r--examples/i18n/mywidget_de.ts2
-rw-r--r--examples/iconview/simple_dd/main.h2
-rw-r--r--examples/mdi/application.cpp2
-rw-r--r--examples/menu/menu.cpp2
-rw-r--r--examples/network/archivesearch/archivedialog.ui2
-rw-r--r--examples/scribble/scribble.cpp2
-rw-r--r--examples/tablet/scribble.cpp2
-rw-r--r--examples/tetrix/tqdragapp.cpp2
-rw-r--r--examples/widgets/widgets.cpp2
26 files changed, 31 insertions, 31 deletions
diff --git a/examples/README b/examples/README
index 1fb637a5d..a32df67c8 100644
--- a/examples/README
+++ b/examples/README
@@ -56,7 +56,7 @@ checklists
cursor
This example shows how to set the mouse cursor for a widget. Shows
- Qt's cursors and a custom cursor using TQLabel and QCursor.
+ Qt's cursors and a custom cursor using TQLabel and TQCursor.
customlayout
This examples demonstrates how to write a customized layout
@@ -137,7 +137,7 @@ helpdemo
helpsystem
This example shows how to implement context-sensitive help in
various ways in a TQt application using TQToolTip, TQWhatsThis, and
- QAssistantClient to control TQt Assistant.
+ TQAssistantClient to control TQt Assistant.
helpviewer
The HelpViewer example implements a simple HTML help browser using
diff --git a/examples/action/application.cpp b/examples/action/application.cpp
index 1687b2117..da4f96249 100644
--- a/examples/action/application.cpp
+++ b/examples/action/application.cpp
@@ -22,7 +22,7 @@
#include <ntqmessagebox.h>
#include <tqprinter.h>
#include <ntqapplication.h>
-#include <ntqaccel.h>
+#include <tqaccel.h>
#include <tqtextstream.h>
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
diff --git a/examples/application/application.cpp b/examples/application/application.cpp
index 8da8e9460..f99271536 100644
--- a/examples/application/application.cpp
+++ b/examples/application/application.cpp
@@ -22,7 +22,7 @@
#include <ntqmessagebox.h>
#include <tqprinter.h>
#include <ntqapplication.h>
-#include <ntqaccel.h>
+#include <tqaccel.h>
#include <tqtextstream.h>
#include <tqpainter.h>
#include <tqpaintdevicemetrics.h>
diff --git a/examples/chart/canvasview.cpp b/examples/chart/canvasview.cpp
index cb1cc741b..19a197179 100644
--- a/examples/chart/canvasview.cpp
+++ b/examples/chart/canvasview.cpp
@@ -1,7 +1,7 @@
#include "canvasview.h"
#include "chartform.h"
-#include <ntqcursor.h>
+#include <tqcursor.h>
#include <tqpoint.h>
#include <tqpopupmenu.h>
#include <tqstatusbar.h>
diff --git a/examples/cursor/cursor.cpp b/examples/cursor/cursor.cpp
index 336e22c73..342862a55 100644
--- a/examples/cursor/cursor.cpp
+++ b/examples/cursor/cursor.cpp
@@ -11,7 +11,7 @@
#include <tqbitmap.h>
#include <ntqapplication.h>
#include <tqlayout.h>
-#include <ntqcursor.h>
+#include <tqcursor.h>
// cb_bits and cm_bits were generated by X bitmap program.
diff --git a/examples/demo/frame.cpp b/examples/demo/frame.cpp
index 728708517..85375eb55 100644
--- a/examples/demo/frame.cpp
+++ b/examples/demo/frame.cpp
@@ -12,7 +12,7 @@
#include <ntqapplication.h>
#include <tqpopupmenu.h>
#include <tqmenubar.h>
-#include <ntqaccel.h>
+#include <tqaccel.h>
#include <tqtoolbox.h>
#include <tqpainter.h>
#include <tqwidgetstack.h>
diff --git a/examples/demo/opengl/glcontrolwidget.cpp b/examples/demo/opengl/glcontrolwidget.cpp
index 3ce28078f..33f3bafda 100644
--- a/examples/demo/opengl/glcontrolwidget.cpp
+++ b/examples/demo/opengl/glcontrolwidget.cpp
@@ -1,6 +1,6 @@
#include "glcontrolwidget.h"
-#include <ntqcursor.h>
+#include <tqcursor.h>
#include <tqtimer.h>
#include <math.h>
diff --git a/examples/demo/qasteroids/toplevel.cpp b/examples/demo/qasteroids/toplevel.cpp
index 06e83af3e..5eb9a9c87 100644
--- a/examples/demo/qasteroids/toplevel.cpp
+++ b/examples/demo/qasteroids/toplevel.cpp
@@ -4,7 +4,7 @@
* Part of the KDE project
*/
// --- toplevel.cpp ---
-#include <ntqaccel.h>
+#include <tqaccel.h>
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqlcdnumber.h>
diff --git a/examples/demo/qasteroids/view.cpp b/examples/demo/qasteroids/view.cpp
index 9e673a386..28c8895e9 100644
--- a/examples/demo/qasteroids/view.cpp
+++ b/examples/demo/qasteroids/view.cpp
@@ -8,7 +8,7 @@
#include <math.h>
#include <ntqapplication.h>
#include <ntqkeycode.h>
-#include <ntqaccel.h>
+#include <tqaccel.h>
#include <ntqmessagebox.h>
#include "view.h"
diff --git a/examples/demo/textdrawing/example.html b/examples/demo/textdrawing/example.html
index d492428e4..b0c7c1984 100644
--- a/examples/demo/textdrawing/example.html
+++ b/examples/demo/textdrawing/example.html
@@ -94,7 +94,7 @@ corner (both lines being flush with the right side of the label):
</pre>
<p>A TQLabel is often used as a label for another, interactive
widget. For this use, TQLabel provides a handy mechanism for adding
-an accelerator key (see <a href="ntqaccel.html">TQAccel</a>) that will set the keyboard focus to
+an accelerator key (see <a href="tqaccel.html">TQAccel</a>) that will set the keyboard focus to
the other widget (called the TQLabel's "buddy"). Example:
<p><pre> <a href="tqlineedit.html">TQLineEdit</a>* phoneEdit = new <a href="tqlineedit.html">TQLineEdit</a>( this, "phoneEdit" );
<a href="tqlabel.html">TQLabel</a>* phoneLabel = new <a href="tqlabel.html">TQLabel</a>( phoneEdit, "&amp;Phone:", this, "phoneLabel" );
@@ -235,7 +235,7 @@ left of its data entry widget (its "buddy"), somewhat like this:
presses Alt-N, and to the Phone field when the user presses Alt-P.
<p>To unset a previously set buddy, call this function with <em>buddy</em>
set to 0.
-<p>See also <a href="#123954">buddy</a>(), <a href="#dffb43">setText</a>(), <a href="ntqaccel.html">TQAccel</a> and <a href="#1f406e">setAlignment</a>().
+<p>See also <a href="#123954">buddy</a>(), <a href="#dffb43">setText</a>(), <a href="tqaccel.html">TQAccel</a> and <a href="#1f406e">setAlignment</a>().
<p>Examples:
<a href="layout-layout-cpp.html#setBuddy">layout/layout.cpp</a>
<h3 class="fn">void <a name="ed9b8b"></a>TQLabel::setIndent ( int indent )</h3>
diff --git a/examples/distributor/distributor.ui.h b/examples/distributor/distributor.ui.h
index b4650bd4f..b81b2e81e 100644
--- a/examples/distributor/distributor.ui.h
+++ b/examples/distributor/distributor.ui.h
@@ -8,7 +8,7 @@
*****************************************************************************/
#include <ntqapplication.h>
-#include <ntqcursor.h>
+#include <tqcursor.h>
#include <tqeventloop.h>
#include <tqfile.h>
#include <tqfiledialog.h>
diff --git a/examples/fileiconview/tqfileiconview.cpp b/examples/fileiconview/tqfileiconview.cpp
index 03f23a425..cd9b78a16 100644
--- a/examples/fileiconview/tqfileiconview.cpp
+++ b/examples/fileiconview/tqfileiconview.cpp
@@ -17,7 +17,7 @@
#include <ntqmessagebox.h>
#include <tqevent.h>
#include <tqpopupmenu.h>
-#include <ntqcursor.h>
+#include <tqcursor.h>
#include <ntqapplication.h>
#include <tqwmatrix.h>
diff --git a/examples/helpdemo/helpdemo.cpp b/examples/helpdemo/helpdemo.cpp
index f10174d14..b6d33bdf3 100644
--- a/examples/helpdemo/helpdemo.cpp
+++ b/examples/helpdemo/helpdemo.cpp
@@ -1,4 +1,4 @@
-#include <ntqassistantclient.h>
+#include <tqassistantclient.h>
#include <ntqmessagebox.h>
#include <tqlineedit.h>
#include <tqaction.h>
diff --git a/examples/helpsystem/helpsystem.doc b/examples/helpsystem/helpsystem.doc
index b368f0a11..2ccbc4f47 100644
--- a/examples/helpsystem/helpsystem.doc
+++ b/examples/helpsystem/helpsystem.doc
@@ -11,7 +11,7 @@
It uses TQToolTip and TQWhatsThis to provide both static and
dynamic balloon help for the widgets in the application, and
TQToolTipGroup to display extended information for each tooltip
- in the statusbar. QAssistantClient is used to display help
+ in the statusbar. TQAssistantClient is used to display help
pages using TQt Assistant.
The application has a user interface based on a
@@ -155,7 +155,7 @@
which creates an instance of TQt Assistant when it is called.
The class keeps references to the tooltip classes as members
because they are not TQObjects and need to be deleted explicitly.
- The class has a reference to QAssistantClient as a
+ The class has a reference to TQAssistantClient as a
member as well, to allow easier access to TQt Assistant later on.
\quotefile helpsystem/mainwindow.cpp
@@ -163,7 +163,7 @@
\printuntil assistant
The MainWindow constructor creates an instance of
- QAssistantClient using TQString::null as the first argument
+ TQAssistantClient using TQString::null as the first argument
so that the system path is used.
\printto TQWhatsThis::whatsThisButton
diff --git a/examples/helpsystem/mainwindow.cpp b/examples/helpsystem/mainwindow.cpp
index 8cd3c31bf..573e335d5 100644
--- a/examples/helpsystem/mainwindow.cpp
+++ b/examples/helpsystem/mainwindow.cpp
@@ -8,7 +8,7 @@
*****************************************************************************/
#include <ntqapplication.h>
-#include <ntqassistantclient.h>
+#include <tqassistantclient.h>
#include <tqfiledialog.h>
#include <tqmenubar.h>
#include <tqpopupmenu.h>
@@ -114,5 +114,5 @@ MainWindow::~MainWindow()
void MainWindow::assistantSlot()
{
TQString docsPath = TQDir("../../doc").absPath();
- assistant->showPage( TQString("%1/html/ntqassistantclient.html").arg(docsPath) );
+ assistant->showPage( TQString("%1/html/tqassistantclient.html").arg(docsPath) );
}
diff --git a/examples/i18n/mywidget.cpp b/examples/i18n/mywidget.cpp
index f16d44487..076a3d08c 100644
--- a/examples/i18n/mywidget.cpp
+++ b/examples/i18n/mywidget.cpp
@@ -15,7 +15,7 @@
#include <tqlabel.h>
#include <tqhbox.h>
#include <tqvbox.h>
-#include <ntqaccel.h>
+#include <tqaccel.h>
#include <tqpopupmenu.h>
#include <tqmenubar.h>
#include <tqstatusbar.h>
diff --git a/examples/i18n/mywidget_cs.ts b/examples/i18n/mywidget_cs.ts
index 2d3120008..b0dcf3a01 100644
--- a/examples/i18n/mywidget_cs.ts
+++ b/examples/i18n/mywidget_cs.ts
@@ -57,7 +57,7 @@
</message>
</context>
<context encoding="UTF-8">
- <name>QAccel</name>
+ <name>TQAccel</name>
<message encoding="UTF-8">
<source>Ctrl</source>
<translation type="obsolete">Ctrl</translation>
diff --git a/examples/i18n/mywidget_de.ts b/examples/i18n/mywidget_de.ts
index 1d636ff5b..d1cf264ba 100644
--- a/examples/i18n/mywidget_de.ts
+++ b/examples/i18n/mywidget_de.ts
@@ -57,7 +57,7 @@
</message>
</context>
<context encoding="UTF-8">
- <name>QAccel</name>
+ <name>TQAccel</name>
<message encoding="UTF-8">
<source>Ctrl</source>
<translation type="obsolete">Strg</translation>
diff --git a/examples/iconview/simple_dd/main.h b/examples/iconview/simple_dd/main.h
index c82f36848..4640e90e2 100644
--- a/examples/iconview/simple_dd/main.h
+++ b/examples/iconview/simple_dd/main.h
@@ -8,7 +8,7 @@
*****************************************************************************/
#include <ntqapplication.h>
-#include <ntqcursor.h>
+#include <tqcursor.h>
#include <ntqsplitter.h>
#include <tqlistbox.h>
#include <tqiconview.h>
diff --git a/examples/mdi/application.cpp b/examples/mdi/application.cpp
index 739e1daa0..9429aae3d 100644
--- a/examples/mdi/application.cpp
+++ b/examples/mdi/application.cpp
@@ -24,7 +24,7 @@
#include <tqprinter.h>
#include <ntqapplication.h>
#include <tqpushbutton.h>
-#include <ntqaccel.h>
+#include <tqaccel.h>
#include <tqtextstream.h>
#include <tqtextedit.h>
#include <tqpainter.h>
diff --git a/examples/menu/menu.cpp b/examples/menu/menu.cpp
index 78d5084ed..558c6d50c 100644
--- a/examples/menu/menu.cpp
+++ b/examples/menu/menu.cpp
@@ -8,7 +8,7 @@
*****************************************************************************/
#include "menu.h"
-#include <ntqcursor.h>
+#include <tqcursor.h>
#include <tqpopupmenu.h>
#include <ntqapplication.h>
#include <ntqmessagebox.h>
diff --git a/examples/network/archivesearch/archivedialog.ui b/examples/network/archivesearch/archivedialog.ui
index c6314b993..2c8bb8e31 100644
--- a/examples/network/archivesearch/archivedialog.ui
+++ b/examples/network/archivesearch/archivedialog.ui
@@ -116,7 +116,7 @@
<include location="global" impldecl="in declaration">tqurl.h</include>
<include location="global" impldecl="in declaration">ntqmessagebox.h</include>
<include location="global" impldecl="in declaration">ntqapplication.h</include>
- <include location="global" impldecl="in declaration">ntqcursor.h</include>
+ <include location="global" impldecl="in declaration">tqcursor.h</include>
<include location="global" impldecl="in declaration">tqregexp.h</include>
<include location="local" impldecl="in implementation">archivedialog.ui.h</include>
</includes>
diff --git a/examples/scribble/scribble.cpp b/examples/scribble/scribble.cpp
index a5f4dce94..04f931421 100644
--- a/examples/scribble/scribble.cpp
+++ b/examples/scribble/scribble.cpp
@@ -20,7 +20,7 @@
#include <tqpoint.h>
#include <tqcolordialog.h>
#include <tqfiledialog.h>
-#include <ntqcursor.h>
+#include <tqcursor.h>
#include <tqimage.h>
#include <tqstrlist.h>
#include <tqpopupmenu.h>
diff --git a/examples/tablet/scribble.cpp b/examples/tablet/scribble.cpp
index f19c91254..df1968c70 100644
--- a/examples/tablet/scribble.cpp
+++ b/examples/tablet/scribble.cpp
@@ -21,7 +21,7 @@
#include <tqpoint.h>
#include <tqcolordialog.h>
#include <tqfiledialog.h>
-#include <ntqcursor.h>
+#include <tqcursor.h>
#include <tqimage.h>
#include <tqstrlist.h>
#include <tqpopupmenu.h>
diff --git a/examples/tetrix/tqdragapp.cpp b/examples/tetrix/tqdragapp.cpp
index 37ed4e45c..b726155d5 100644
--- a/examples/tetrix/tqdragapp.cpp
+++ b/examples/tetrix/tqdragapp.cpp
@@ -15,7 +15,7 @@
#include "tqcolor.h"
#include "tqwidget.h"
#include "tqfontmetrics.h"
-#include "ntqcursor.h"
+#include "tqcursor.h"
#include "tqobjectlist.h"
TQWidget *cursorWidget( TQPoint * = 0 );
diff --git a/examples/widgets/widgets.cpp b/examples/widgets/widgets.cpp
index 3931645d7..6680ade48 100644
--- a/examples/widgets/widgets.cpp
+++ b/examples/widgets/widgets.cpp
@@ -45,7 +45,7 @@
#include <tqheader.h>
#include <tqtextbrowser.h>
#include <tqfiledialog.h>
-#include <ntqaccel.h>
+#include <tqaccel.h>
#include <ntqmetaobject.h>
#include <tqpainter.h>