summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-27 21:53:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-29 13:21:04 +0900
commit2cbcca0db1343e1c40e52af729a5eb34ca8a7e37 (patch)
tree065c9e97d5bd9eb3d9869427b44acdd571ba0cc1 /examples
parenta09a6bc05e3f64c27e7c84dd768c7720fdf41136 (diff)
downloadtqt3-2cbcca0db1343e1c40e52af729a5eb34ca8a7e37.tar.gz
tqt3-2cbcca0db1343e1c40e52af729a5eb34ca8a7e37.zip
Rename date and time nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples')
-rw-r--r--examples/README6
-rw-r--r--examples/aclock/aclock.cpp2
-rw-r--r--examples/aclock/aclock.h2
-rw-r--r--examples/biff/biff.h2
-rw-r--r--examples/canvas/canvas.cpp2
-rw-r--r--examples/dclock/dclock.cpp2
-rw-r--r--examples/demo/display.cpp2
-rw-r--r--examples/demo/graph.cpp2
-rw-r--r--examples/demo/opengl/glcontrolwidget.cpp2
-rw-r--r--examples/demo/qasteroids/view.h2
-rw-r--r--examples/dirview/dirview.h2
-rw-r--r--examples/distributor/distributor.ui.h2
-rw-r--r--examples/fileiconview/qfileiconview.h2
-rw-r--r--examples/forever/forever.cpp2
-rw-r--r--examples/hello/hello.cpp2
-rw-r--r--examples/life/lifedlg.cpp2
-rw-r--r--examples/life/lifedlg.h2
-rw-r--r--examples/listviews/listviews.h2
-rw-r--r--examples/network/ftpclient/ftpviewitem.h2
-rw-r--r--examples/network/mail/smtp.cpp2
-rw-r--r--examples/opengl/texture/gltexobj.cpp2
-rw-r--r--examples/progressbar/progressbar.h2
-rw-r--r--examples/sql/overview/subclass5/main.h2
-rw-r--r--examples/tabdialog/tabdialog.cpp2
-rw-r--r--examples/tetrix/qtetrix.cpp2
-rw-r--r--examples/tetrix/qtetrixb.cpp2
-rw-r--r--examples/tictac/tictac.cpp2
27 files changed, 29 insertions, 29 deletions
diff --git a/examples/README b/examples/README
index 20171dbce..c8907e722 100644
--- a/examples/README
+++ b/examples/README
@@ -13,7 +13,7 @@ them assume they are run from there.
aclock
This example displays an analog clock widget.
It shows how to create a custom widget (TQWidget subclass) and how
- to create a timer using QTimer.
+ to create a timer using TQTimer.
action
A single document interface application example with a menu bar,
@@ -66,7 +66,7 @@ customlayout
dclock
This example displays a digital LCD clock and can switch between
time and date.
- It uses the QLCDNumber widget and a couple of QTimers.
+ It uses the QLCDNumber widget and a couple of TQTimers.
demo
Run this to see almost all of Qt's widgets in action, including
@@ -259,7 +259,7 @@ progress
This example presents a long-running process (drawing lots of
rectangles) and a QProgressDialog. Two types of progress dialog
are offered, one that simply shows text, and a custom one that
- shows an animation using a QLabel and a QTimer.
+ shows an animation using a QLabel and a TQTimer.
progressbar
Shows how to use a QProgressBar.
diff --git a/examples/aclock/aclock.cpp b/examples/aclock/aclock.cpp
index e492529ef..0ca5d5ab4 100644
--- a/examples/aclock/aclock.cpp
+++ b/examples/aclock/aclock.cpp
@@ -8,7 +8,7 @@
*****************************************************************************/
#include "aclock.h"
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <ntqpainter.h>
#include <ntqbitmap.h>
diff --git a/examples/aclock/aclock.h b/examples/aclock/aclock.h
index 7099682d5..a4c86c768 100644
--- a/examples/aclock/aclock.h
+++ b/examples/aclock/aclock.h
@@ -11,7 +11,7 @@
#define ACLOCK_H
#include <tqwidget.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
class TQTimer;
class AnalogClock : public TQWidget // analog clock widget
diff --git a/examples/biff/biff.h b/examples/biff/biff.h
index 5135ed15a..fa8afef43 100644
--- a/examples/biff/biff.h
+++ b/examples/biff/biff.h
@@ -11,7 +11,7 @@
#define BIFF_H
#include <tqwidget.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
#include <ntqpixmap.h>
diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp
index 49a18db41..ccb94dac0 100644
--- a/examples/canvas/canvas.cpp
+++ b/examples/canvas/canvas.cpp
@@ -1,4 +1,4 @@
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
#include <ntqmainwindow.h>
#include <ntqstatusbar.h>
#include <ntqmessagebox.h>
diff --git a/examples/dclock/dclock.cpp b/examples/dclock/dclock.cpp
index 8de9352d6..18a855d4e 100644
--- a/examples/dclock/dclock.cpp
+++ b/examples/dclock/dclock.cpp
@@ -8,7 +8,7 @@
*****************************************************************************/
#include "dclock.h"
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
//
diff --git a/examples/demo/display.cpp b/examples/demo/display.cpp
index 7cc6a44af..588aeaeab 100644
--- a/examples/demo/display.cpp
+++ b/examples/demo/display.cpp
@@ -11,7 +11,7 @@
#include <ntqpainter.h>
#include <ntqlayout.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <ntqpushbutton.h>
#include <ntqframe.h>
#include <ntqdial.h>
diff --git a/examples/demo/graph.cpp b/examples/demo/graph.cpp
index a4a3dc487..07222f898 100644
--- a/examples/demo/graph.cpp
+++ b/examples/demo/graph.cpp
@@ -1,7 +1,7 @@
#include "graph.h"
#include <tqcanvas.h>
#include <stdlib.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
#include <ntqhbox.h>
#include <ntqpushbutton.h>
#include <ntqslider.h>
diff --git a/examples/demo/opengl/glcontrolwidget.cpp b/examples/demo/opengl/glcontrolwidget.cpp
index b0d490e78..3ce28078f 100644
--- a/examples/demo/opengl/glcontrolwidget.cpp
+++ b/examples/demo/opengl/glcontrolwidget.cpp
@@ -1,7 +1,7 @@
#include "glcontrolwidget.h"
#include <ntqcursor.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <math.h>
diff --git a/examples/demo/qasteroids/view.h b/examples/demo/qasteroids/view.h
index 89c1ba421..7308ff460 100644
--- a/examples/demo/qasteroids/view.h
+++ b/examples/demo/qasteroids/view.h
@@ -10,7 +10,7 @@
#include <tqwidget.h>
#include <tqptrlist.h>
#include <ntqintdict.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <tqcanvas.h>
#include "sprites.h"
diff --git a/examples/dirview/dirview.h b/examples/dirview/dirview.h
index dc467d91d..0cf19022a 100644
--- a/examples/dirview/dirview.h
+++ b/examples/dirview/dirview.h
@@ -14,7 +14,7 @@
#include <tqstring.h>
#include <ntqfile.h>
#include <ntqfileinfo.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
class TQWidget;
class TQDragEnterEvent;
diff --git a/examples/distributor/distributor.ui.h b/examples/distributor/distributor.ui.h
index 93e6826cc..cdb9b837a 100644
--- a/examples/distributor/distributor.ui.h
+++ b/examples/distributor/distributor.ui.h
@@ -16,7 +16,7 @@
#include <ntqlineedit.h>
#include <ntqmessagebox.h>
#include <ntqpushbutton.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
void Distributor::init()
diff --git a/examples/fileiconview/qfileiconview.h b/examples/fileiconview/qfileiconview.h
index 9b9b626ae..284c66b80 100644
--- a/examples/fileiconview/qfileiconview.h
+++ b/examples/fileiconview/qfileiconview.h
@@ -15,7 +15,7 @@
#include <tqstring.h>
#include <ntqfileinfo.h>
#include <ntqdir.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <tqiconview.h>
class TQtFileIconView;
diff --git a/examples/forever/forever.cpp b/examples/forever/forever.cpp
index 24e5af910..4ba9b8c58 100644
--- a/examples/forever/forever.cpp
+++ b/examples/forever/forever.cpp
@@ -7,7 +7,7 @@
**
*****************************************************************************/
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <ntqpainter.h>
#include <ntqapplication.h>
#include <stdlib.h> // defines rand() function
diff --git a/examples/hello/hello.cpp b/examples/hello/hello.cpp
index a1f5f9edb..34c02af49 100644
--- a/examples/hello/hello.cpp
+++ b/examples/hello/hello.cpp
@@ -9,7 +9,7 @@
#include "hello.h"
#include <ntqpushbutton.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <ntqpainter.h>
#include <ntqpixmap.h>
diff --git a/examples/life/lifedlg.cpp b/examples/life/lifedlg.cpp
index c24f7d508..8fcb0c231 100644
--- a/examples/life/lifedlg.cpp
+++ b/examples/life/lifedlg.cpp
@@ -13,7 +13,7 @@
#include <ntqlabel.h>
#include <ntqslider.h>
#include <ntqcombobox.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
#include <stdlib.h>
#include "patterns.cpp"
diff --git a/examples/life/lifedlg.h b/examples/life/lifedlg.h
index be50675c1..e00724e7d 100644
--- a/examples/life/lifedlg.h
+++ b/examples/life/lifedlg.h
@@ -10,7 +10,7 @@
#ifndef LIFEDLG_H
#define LIFEDLG_H
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <tqwidget.h>
class TQSlider;
diff --git a/examples/listviews/listviews.h b/examples/listviews/listviews.h
index afd989019..1b2539f88 100644
--- a/examples/listviews/listviews.h
+++ b/examples/listviews/listviews.h
@@ -13,7 +13,7 @@
#include <ntqsplitter.h>
#include <tqstring.h>
#include <tqobject.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
#include <tqptrlist.h>
#include <ntqlistview.h>
diff --git a/examples/network/ftpclient/ftpviewitem.h b/examples/network/ftpclient/ftpviewitem.h
index 28dcbb87e..e048b6183 100644
--- a/examples/network/ftpclient/ftpviewitem.h
+++ b/examples/network/ftpclient/ftpviewitem.h
@@ -11,7 +11,7 @@
#define FTPVIEWITEM_H
#include <ntqlistview.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
class FtpViewItem : public TQListViewItem
{
diff --git a/examples/network/mail/smtp.cpp b/examples/network/mail/smtp.cpp
index 99d5d206e..487cba04e 100644
--- a/examples/network/mail/smtp.cpp
+++ b/examples/network/mail/smtp.cpp
@@ -12,7 +12,7 @@
#include <tqtextstream.h>
#include <ntqsocket.h>
#include <ntqdns.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <ntqapplication.h>
#include <ntqmessagebox.h>
#include <ntqregexp.h>
diff --git a/examples/opengl/texture/gltexobj.cpp b/examples/opengl/texture/gltexobj.cpp
index f9528620c..a6f7f80cd 100644
--- a/examples/opengl/texture/gltexobj.cpp
+++ b/examples/opengl/texture/gltexobj.cpp
@@ -18,7 +18,7 @@
#include "gltexobj.h"
#include <tqimage.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
const int redrawWait = 50;
diff --git a/examples/progressbar/progressbar.h b/examples/progressbar/progressbar.h
index 8ec073571..5f51a474f 100644
--- a/examples/progressbar/progressbar.h
+++ b/examples/progressbar/progressbar.h
@@ -11,7 +11,7 @@
#define PROGRESSBAR_H
#include <ntqbuttongroup.h>
-#include <ntqtimer.h>
+#include <tqtimer.h>
class TQRadioButton;
class TQPushButton;
diff --git a/examples/sql/overview/subclass5/main.h b/examples/sql/overview/subclass5/main.h
index 4bd686031..13d3b3697 100644
--- a/examples/sql/overview/subclass5/main.h
+++ b/examples/sql/overview/subclass5/main.h
@@ -8,7 +8,7 @@
*****************************************************************************/
#include <ntqapplication.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
#include <tqsqldatabase.h>
#include <tqsqlcursor.h>
#include "../connection.h"
diff --git a/examples/tabdialog/tabdialog.cpp b/examples/tabdialog/tabdialog.cpp
index e3cfece57..8813d7757 100644
--- a/examples/tabdialog/tabdialog.cpp
+++ b/examples/tabdialog/tabdialog.cpp
@@ -12,7 +12,7 @@
#include <ntqvbox.h>
#include <ntqlabel.h>
#include <ntqlineedit.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
#include <ntqbuttongroup.h>
#include <ntqcheckbox.h>
#include <ntqlistbox.h>
diff --git a/examples/tetrix/qtetrix.cpp b/examples/tetrix/qtetrix.cpp
index 84941cbec..309a1095b 100644
--- a/examples/tetrix/qtetrix.cpp
+++ b/examples/tetrix/qtetrix.cpp
@@ -10,7 +10,7 @@
#include "qtetrix.h"
#include <ntqapplication.h>
#include <ntqlabel.h>
-#include <ntqdatetime.h>
+#include <tqdatetime.h>
void drawTetrixButton( TQPainter *p, int x, int y, int w, int h,
diff --git a/examples/tetrix/qtetrixb.cpp b/examples/tetrix/qtetrixb.cpp
index e3df48d70..f6a8fc9b6 100644
--- a/examples/tetrix/qtetrixb.cpp
+++ b/examples/tetrix/qtetrixb.cpp
@@ -9,7 +9,7 @@
#include "qtetrixb.h"
#include "qtetrix.h"
-#include <ntqtimer.h>
+#include <tqtimer.h>
#include <ntqpainter.h>
const int waitAfterLineTime = 500;
diff --git a/examples/tictac/tictac.cpp b/examples/tictac/tictac.cpp
index 988df2385..64923a5b6 100644
--- a/examples/tictac/tictac.cpp
+++ b/examples/tictac/tictac.cpp
@@ -16,7 +16,7 @@
#include <ntqlabel.h>
#include <ntqlayout.h>
#include <stdlib.h> // rand() function
-#include <ntqdatetime.h> // seed for rand()
+#include <tqdatetime.h> // seed for rand()
//***************************************************************************