summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/aclock/aclock.h2
-rw-r--r--examples/action/application.h2
-rw-r--r--examples/addressbook/centralwidget.h2
-rw-r--r--examples/addressbook/mainwindow.h2
-rw-r--r--examples/application/application.h2
-rw-r--r--examples/biff/biff.h2
-rw-r--r--examples/buttongroups/buttongroups.h2
-rw-r--r--examples/canvas/canvas.h4
-rw-r--r--examples/chart/canvasview.h2
-rw-r--r--examples/chart/chartform.h2
-rw-r--r--examples/chart/optionsform.h2
-rw-r--r--examples/chart/setdataform.h2
-rw-r--r--examples/checklists/checklists.h2
-rw-r--r--examples/dclock/dclock.h2
-rw-r--r--examples/demo/categoryinterface.h2
-rw-r--r--examples/demo/display.h6
-rw-r--r--examples/demo/dnd/dnd.h2
-rw-r--r--examples/demo/dnd/iconview.h2
-rw-r--r--examples/demo/dnd/listview.h2
-rw-r--r--examples/demo/dnd/styledbutton.h2
-rw-r--r--examples/demo/frame.h2
-rw-r--r--examples/demo/graph.h2
-rw-r--r--examples/demo/i18n/i18n.cpp2
-rw-r--r--examples/demo/i18n/i18n.h2
-rw-r--r--examples/demo/main.cpp20
-rw-r--r--examples/demo/opengl/glbox.h2
-rw-r--r--examples/demo/opengl/glcontrolwidget.h2
-rw-r--r--examples/demo/opengl/glgear.h2
-rw-r--r--examples/demo/opengl/gllandscape.h2
-rw-r--r--examples/demo/opengl/gltexobj.h2
-rw-r--r--examples/demo/opengl/glworkspace.h2
-rw-r--r--examples/demo/qasteroids/ledmeter.h2
-rw-r--r--examples/demo/qasteroids/toplevel.h2
-rw-r--r--examples/demo/qasteroids/view.h2
-rw-r--r--examples/demo/qthumbwheel.h2
-rw-r--r--examples/demo/textdrawing/helpwindow.h2
-rw-r--r--examples/demo/textdrawing/textedit.h2
-rw-r--r--examples/dirview/dirview.h2
-rw-r--r--examples/distributor/distributor.ui.h2
-rw-r--r--examples/dragdrop/dropsite.h4
-rw-r--r--examples/drawdemo/drawdemo.cpp2
-rw-r--r--examples/fileiconview/mainwindow.h2
-rw-r--r--examples/fileiconview/qfileiconview.h4
-rw-r--r--examples/fonts/simple-qfont-demo/viewer.h2
-rw-r--r--examples/forever/forever.h2
-rw-r--r--examples/hello/hello.h2
-rw-r--r--examples/helpdemo/helpdemo.h2
-rw-r--r--examples/helpsystem/mainwindow.h2
-rw-r--r--examples/helpsystem/whatsthis.h2
-rw-r--r--examples/helpviewer/helpwindow.h2
-rw-r--r--examples/i18n/mywidget.h2
-rw-r--r--examples/iconview/main.cpp2
-rw-r--r--examples/iconview/simple_dd/main.h4
-rw-r--r--examples/life/life.h2
-rw-r--r--examples/life/lifedlg.h4
-rw-r--r--examples/lineedits/lineedits.h2
-rw-r--r--examples/listbox/listbox.h2
-rw-r--r--examples/listboxcombo/listboxcombo.h2
-rw-r--r--examples/listviews/listviews.h4
-rw-r--r--examples/mdi/application.h4
-rw-r--r--examples/menu/menu.cpp20
-rw-r--r--examples/menu/menu.h2
-rw-r--r--examples/movies/main.cpp4
-rw-r--r--examples/network/clientserver/client/client.cpp2
-rw-r--r--examples/network/clientserver/server/server.cpp6
-rw-r--r--examples/network/httpd/httpd.cpp4
-rw-r--r--examples/network/infoprotocol/infoclient/client.h2
-rw-r--r--examples/network/infoprotocol/infoserver/server.h6
-rw-r--r--examples/network/infoprotocol/infourlclient/client.h2
-rw-r--r--examples/network/infoprotocol/infourlclient/qip.h2
-rw-r--r--examples/network/mail/composer.h2
-rw-r--r--examples/network/mail/smtp.h2
-rw-r--r--examples/network/networkprotocol/nntp.h2
-rw-r--r--examples/network/networkprotocol/view.h2
-rw-r--r--examples/network/remotecontrol/ipcserver.cpp2
-rw-r--r--examples/network/remotecontrol/ipcserver.h2
-rw-r--r--examples/network/remotecontrol/remotectrlimpl.h2
-rw-r--r--examples/network/remotecontrol/startup.h2
-rw-r--r--examples/opengl/box/glbox.h2
-rw-r--r--examples/opengl/box/globjwin.h2
-rw-r--r--examples/opengl/glpixmap/glbox.h2
-rw-r--r--examples/opengl/glpixmap/globjwin.h2
-rw-r--r--examples/opengl/overlay/globjwin.h2
-rw-r--r--examples/opengl/overlay/glteapots.h2
-rw-r--r--examples/opengl/overlay_x11/main.cpp2
-rw-r--r--examples/opengl/sharedbox/glbox.h2
-rw-r--r--examples/opengl/sharedbox/globjwin.h2
-rw-r--r--examples/opengl/texture/globjwin.h2
-rw-r--r--examples/opengl/texture/gltexobj.h2
-rw-r--r--examples/popup/popup.h4
-rw-r--r--examples/process/process.cpp2
-rw-r--r--examples/progress/progress.cpp8
-rw-r--r--examples/progressbar/progressbar.h2
-rw-r--r--examples/qdir/ntqdir.h8
-rw-r--r--examples/qfd/fontdisplayer.h4
-rw-r--r--examples/qmag/qmag.cpp14
-rw-r--r--examples/qwerty/qwerty.cpp4
-rw-r--r--examples/qwerty/qwerty.h2
-rw-r--r--examples/rangecontrols/rangecontrols.h2
-rw-r--r--examples/regexptester/regexptester.h2
-rw-r--r--examples/richtext/richtext.h2
-rw-r--r--examples/rot13/rot13.h2
-rw-r--r--examples/scribble/scribble.h4
-rw-r--r--examples/scrollview/scrollview.cpp18
-rw-r--r--examples/showimg/imagefip.h2
-rw-r--r--examples/showimg/imagetexteditor.h2
-rw-r--r--examples/showimg/showimg.h2
-rw-r--r--examples/sound/sound.h2
-rw-r--r--examples/sql/overview/custom1/main.h4
-rw-r--r--examples/sql/overview/form2/main.h2
-rw-r--r--examples/sql/overview/table3/main.h4
-rw-r--r--examples/sql/overview/table4/main.h6
-rw-r--r--examples/tabdialog/tabdialog.h2
-rw-r--r--examples/table/statistics/statistics.h2
-rw-r--r--examples/tablet/canvas.h2
-rw-r--r--examples/tablet/scribble.h2
-rw-r--r--examples/tablet/tabletstats.h6
-rw-r--r--examples/tetrix/qdragapp.cpp4
-rw-r--r--examples/tetrix/qdragapp.h2
-rw-r--r--examples/tetrix/qtetrix.h4
-rw-r--r--examples/tetrix/qtetrixb.h2
-rw-r--r--examples/textedit/textedit.h2
-rw-r--r--examples/themes/themes.h2
-rw-r--r--examples/thread/prodcons/prodcons.cpp2
-rw-r--r--examples/thread/semaphores/main.cpp2
-rw-r--r--examples/tictac/tictac.h6
-rw-r--r--examples/tooltip/tooltip.h2
-rw-r--r--examples/widgets/widgets.h4
-rw-r--r--examples/wizard/wizard.h2
-rw-r--r--examples/xform/xform.cpp6
-rw-r--r--examples/xml/outliner/outlinetree.h2
131 files changed, 201 insertions, 201 deletions
diff --git a/examples/aclock/aclock.h b/examples/aclock/aclock.h
index e28c6528..f786363a 100644
--- a/examples/aclock/aclock.h
+++ b/examples/aclock/aclock.h
@@ -16,7 +16,7 @@
class TQTimer;
class AnalogClock : public TQWidget // analog clock widget
{
- Q_OBJECT
+ TQ_OBJECT
public:
AnalogClock( TQWidget *parent=0, const char *name=0 );
void setAutoMask(bool b);
diff --git a/examples/action/application.h b/examples/action/application.h
index 06620533..b3e864ea 100644
--- a/examples/action/application.h
+++ b/examples/action/application.h
@@ -16,7 +16,7 @@ class TQTextEdit;
class ApplicationWindow: public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
ApplicationWindow();
diff --git a/examples/addressbook/centralwidget.h b/examples/addressbook/centralwidget.h
index cf190d47..7f2018c6 100644
--- a/examples/addressbook/centralwidget.h
+++ b/examples/addressbook/centralwidget.h
@@ -23,7 +23,7 @@ class TQCheckBox;
class ABCentralWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ABCentralWidget( TQWidget *parent, const char *name = 0 );
diff --git a/examples/addressbook/mainwindow.h b/examples/addressbook/mainwindow.h
index e3a453ea..631d82a7 100644
--- a/examples/addressbook/mainwindow.h
+++ b/examples/addressbook/mainwindow.h
@@ -19,7 +19,7 @@ class ABCentralWidget;
class ABMainWindow: public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
ABMainWindow();
diff --git a/examples/application/application.h b/examples/application/application.h
index 06620533..b3e864ea 100644
--- a/examples/application/application.h
+++ b/examples/application/application.h
@@ -16,7 +16,7 @@ class TQTextEdit;
class ApplicationWindow: public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
ApplicationWindow();
diff --git a/examples/biff/biff.h b/examples/biff/biff.h
index eed7dc08..ae60b43a 100644
--- a/examples/biff/biff.h
+++ b/examples/biff/biff.h
@@ -17,7 +17,7 @@
class Biff : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Biff( TQWidget *parent=0, const char *name=0 );
diff --git a/examples/buttongroups/buttongroups.h b/examples/buttongroups/buttongroups.h
index 93830499..c25415bf 100644
--- a/examples/buttongroups/buttongroups.h
+++ b/examples/buttongroups/buttongroups.h
@@ -17,7 +17,7 @@ class TQRadioButton;
class ButtonsGroups : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ButtonsGroups( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/canvas/canvas.h b/examples/canvas/canvas.h
index cc269037..5bbb5088 100644
--- a/examples/canvas/canvas.h
+++ b/examples/canvas/canvas.h
@@ -17,7 +17,7 @@ public:
class FigureEditor : public TQCanvasView {
- Q_OBJECT
+ TQ_OBJECT
public:
FigureEditor(TQCanvas&, TQWidget* parent=0, const char* name=0, WFlags f=0);
@@ -36,7 +36,7 @@ private:
};
class Main : public TQMainWindow {
- Q_OBJECT
+ TQ_OBJECT
public:
Main(TQCanvas&, TQWidget* parent=0, const char* name=0, WFlags f=0);
diff --git a/examples/chart/canvasview.h b/examples/chart/canvasview.h
index d51ba6b5..a066c1b1 100644
--- a/examples/chart/canvasview.h
+++ b/examples/chart/canvasview.h
@@ -12,7 +12,7 @@ class TQPoint;
class CanvasView : public TQCanvasView
{
- Q_OBJECT
+ TQ_OBJECT
public:
CanvasView( TQCanvas *canvas, ElementVector *elements,
TQWidget* parent = 0, const char* name = "canvas view",
diff --git a/examples/chart/chartform.h b/examples/chart/chartform.h
index b2d30c01..926bd69b 100644
--- a/examples/chart/chartform.h
+++ b/examples/chart/chartform.h
@@ -18,7 +18,7 @@ class TQString;
class ChartForm: public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum { MAX_ELEMENTS = 100 };
enum { MAX_RECENTFILES = 9 }; // Must not exceed 9
diff --git a/examples/chart/optionsform.h b/examples/chart/optionsform.h
index c160f777..8277ad37 100644
--- a/examples/chart/optionsform.h
+++ b/examples/chart/optionsform.h
@@ -17,7 +17,7 @@ class TQVBoxLayout;
class OptionsForm : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
OptionsForm( TQWidget* parent = 0, const char* name = "options form",
bool modal = FALSE, WFlags f = 0 );
diff --git a/examples/chart/setdataform.h b/examples/chart/setdataform.h
index 88eb98f9..7759f615 100644
--- a/examples/chart/setdataform.h
+++ b/examples/chart/setdataform.h
@@ -13,7 +13,7 @@ class TQVBoxLayout;
class SetDataForm: public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
SetDataForm( ElementVector *elements, int decimalPlaces,
TQWidget *parent = 0, const char *name = "set data form",
diff --git a/examples/checklists/checklists.h b/examples/checklists/checklists.h
index 5235f830..d2097dd1 100644
--- a/examples/checklists/checklists.h
+++ b/examples/checklists/checklists.h
@@ -17,7 +17,7 @@ class TQLabel;
class CheckLists : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
CheckLists( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/dclock/dclock.h b/examples/dclock/dclock.h
index a98a6965..bffaab21 100644
--- a/examples/dclock/dclock.h
+++ b/examples/dclock/dclock.h
@@ -15,7 +15,7 @@
class DigitalClock : public TQLCDNumber // digital clock widget
{
- Q_OBJECT
+ TQ_OBJECT
public:
DigitalClock( TQWidget *parent=0, const char *name=0 );
diff --git a/examples/demo/categoryinterface.h b/examples/demo/categoryinterface.h
index 978e1380..a51018a6 100644
--- a/examples/demo/categoryinterface.h
+++ b/examples/demo/categoryinterface.h
@@ -9,7 +9,7 @@ class TQWidgetStack;
class CategoryInterface : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
CategoryInterface( TQWidgetStack *s ) : stack( s ) {}
diff --git a/examples/demo/display.h b/examples/demo/display.h
index 3a86e236..c3241150 100644
--- a/examples/demo/display.h
+++ b/examples/demo/display.h
@@ -24,7 +24,7 @@ class Screen;
class Curve;
class DisplayWidget : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
DisplayWidget( TQWidget *parent=0, const char *name=0 );
@@ -51,7 +51,7 @@ private:
};
class Screen : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
enum { FrameWidth = 3 };
Screen( TQWidget *parent=0, const char *name=0 );
@@ -74,7 +74,7 @@ private:
};
class Curve : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
enum { FrameWidth = 3 };
public:
Curve( TQWidget *parent=0, const char *name=0 );
diff --git a/examples/demo/dnd/dnd.h b/examples/demo/dnd/dnd.h
index 7860cac5..05d0587c 100644
--- a/examples/demo/dnd/dnd.h
+++ b/examples/demo/dnd/dnd.h
@@ -25,7 +25,7 @@ private:
class DnDDemo : public DnDDemoBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
DnDDemo( TQWidget* parent = 0, const char* name = 0 );
diff --git a/examples/demo/dnd/iconview.h b/examples/demo/dnd/iconview.h
index b02949a8..3a5ee29c 100644
--- a/examples/demo/dnd/iconview.h
+++ b/examples/demo/dnd/iconview.h
@@ -18,7 +18,7 @@ private:
class IconView : public TQIconView
{
- Q_OBJECT
+ TQ_OBJECT
public:
IconView( TQWidget* parent = 0, const char* name = 0 );
diff --git a/examples/demo/dnd/listview.h b/examples/demo/dnd/listview.h
index c4574951..f82f2cb3 100644
--- a/examples/demo/dnd/listview.h
+++ b/examples/demo/dnd/listview.h
@@ -17,7 +17,7 @@ private:
class ListView : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
ListView( TQWidget* parent = 0, const char* name = 0 );
diff --git a/examples/demo/dnd/styledbutton.h b/examples/demo/dnd/styledbutton.h
index ae99f5cf..2cd6c0ae 100644
--- a/examples/demo/dnd/styledbutton.h
+++ b/examples/demo/dnd/styledbutton.h
@@ -42,7 +42,7 @@ class TQBrush;
class StyledButton : public TQButton
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( TQColor color READ color WRITE setColor )
Q_PROPERTY( TQPixmap pixmap READ pixmap WRITE setPixmap )
diff --git a/examples/demo/frame.h b/examples/demo/frame.h
index 4097692a..6a2ede5c 100644
--- a/examples/demo/frame.h
+++ b/examples/demo/frame.h
@@ -17,7 +17,7 @@ class TQWidgetStack;
class Frame : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
Frame( TQWidget *parent=0, const char *name=0 );
diff --git a/examples/demo/graph.h b/examples/demo/graph.h
index 58221b8b..1cb0f501 100644
--- a/examples/demo/graph.h
+++ b/examples/demo/graph.h
@@ -17,7 +17,7 @@ class GraphWidgetPrivate;
class GraphWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GraphWidget( TQWidget *parent=0, const char *name=0 );
~GraphWidget();
diff --git a/examples/demo/i18n/i18n.cpp b/examples/demo/i18n/i18n.cpp
index 79f92826..1fba8925 100644
--- a/examples/demo/i18n/i18n.cpp
+++ b/examples/demo/i18n/i18n.cpp
@@ -137,7 +137,7 @@ void I18nDemo::newSlot(int id)
"portability across Windows 95/98/NT/2000, Mac OS X, Linux, Solaris, "
"HP-UX and many other versions of Unix with X11.</p>"
"<p>See <tt>http://www.trolltech.com/qt/</tt> for more "
- "information.</p>").arg(QT_VERSION_STR));
+ "information.</p>").arg(TQT_VERSION_STR));
qApp->removeTranslator(&wrapper->translator);
diff --git a/examples/demo/i18n/i18n.h b/examples/demo/i18n/i18n.h
index 29663e1f..b716fc04 100644
--- a/examples/demo/i18n/i18n.h
+++ b/examples/demo/i18n/i18n.h
@@ -11,7 +11,7 @@ class Wrapper;
class I18nDemo : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
I18nDemo(TQWidget *, const char * = 0);
diff --git a/examples/demo/main.cpp b/examples/demo/main.cpp
index 4ce61ad9..295847ac 100644
--- a/examples/demo/main.cpp
+++ b/examples/demo/main.cpp
@@ -19,17 +19,17 @@
#include <ntqmodules.h>
-#if defined(QT_MODULE_OPENGL)
+#if defined(TQT_MODULE_OPENGL)
#include "opengl/glworkspace.h"
#include "opengl/gllandscapeviewer.h"
#include "opengl/glinfotext.h"
#endif
-#if defined(QT_MODULE_CANVAS)
+#if defined(TQT_MODULE_CANVAS)
#include "qasteroids/toplevel.h"
#endif
-#if defined(QT_MODULE_TABLE)
+#if defined(TQT_MODULE_TABLE)
#include "widgets/widgetsbase.h"
#else
#include "widgets/widgetsbase_pro.h"
@@ -45,7 +45,7 @@
#include <ntqworkspace.h>
#include <ntqwidgetstack.h>
-#if defined(QT_MODULE_SQL)
+#if defined(TQT_MODULE_SQL)
#include <ntqsqldatabase.h>
#include "sql/sqlex.h"
#endif
@@ -107,7 +107,7 @@ private:
};
-#if defined(QT_MODULE_SQL)
+#if defined(TQT_MODULE_SQL)
class DatabaseCategory : public CategoryInterface
{
public:
@@ -145,7 +145,7 @@ private:
};
#endif
-#if defined(QT_MODULE_CANVAS)
+#if defined(TQT_MODULE_CANVAS)
class CanvasCategory : public CategoryInterface
{
public:
@@ -187,7 +187,7 @@ private:
};
#endif
-#if defined(QT_MODULE_OPENGL)
+#if defined(TQT_MODULE_OPENGL)
class OpenGLCategory : public CategoryInterface
{
public:
@@ -310,7 +310,7 @@ private:
};
-#if defined(QT_MODULE_CANVAS)
+#if defined(TQT_MODULE_CANVAS)
class GameCategory : public CategoryInterface
{
public:
@@ -358,11 +358,11 @@ int main( int argc, char **argv )
TQPtrList<CategoryInterface> categories;
categories.append( new WidgetCategory( frame.widgetStack() ) );
-#if defined(QT_MODULE_SQL)
+#if defined(TQT_MODULE_SQL)
categories.append( new DatabaseCategory( frame.widgetStack() ) );
#endif
categories.append( new CanvasCategory( frame.widgetStack() ) );
-#if defined(QT_MODULE_OPENGL)
+#if defined(TQT_MODULE_OPENGL)
categories.append( new OpenGLCategory( frame.widgetStack() ) );
#endif
categories.append( new TextCategory( frame.widgetStack() ) );
diff --git a/examples/demo/opengl/glbox.h b/examples/demo/opengl/glbox.h
index 2667cfa3..d702665f 100644
--- a/examples/demo/opengl/glbox.h
+++ b/examples/demo/opengl/glbox.h
@@ -20,7 +20,7 @@
class GLBox : public GLControlWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/examples/demo/opengl/glcontrolwidget.h b/examples/demo/opengl/glcontrolwidget.h
index 97a99f65..7942c31e 100644
--- a/examples/demo/opengl/glcontrolwidget.h
+++ b/examples/demo/opengl/glcontrolwidget.h
@@ -5,7 +5,7 @@
class GLControlWidget : public TQGLWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLControlWidget( TQWidget *parent, const char *name = 0, TQGLWidget *share = 0, WFlags f = 0 );
diff --git a/examples/demo/opengl/glgear.h b/examples/demo/opengl/glgear.h
index fed4256c..9e21a753 100644
--- a/examples/demo/opengl/glgear.h
+++ b/examples/demo/opengl/glgear.h
@@ -5,7 +5,7 @@
class GLGear : public GLControlWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLGear( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
diff --git a/examples/demo/opengl/gllandscape.h b/examples/demo/opengl/gllandscape.h
index e4f457e7..54a03c01 100644
--- a/examples/demo/opengl/gllandscape.h
+++ b/examples/demo/opengl/gllandscape.h
@@ -5,7 +5,7 @@
class GLLandscape : public TQGLWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLLandscape( TQWidget * parent = 0, const char * name = 0 );
diff --git a/examples/demo/opengl/gltexobj.h b/examples/demo/opengl/gltexobj.h
index 5d235dcf..a5e48a32 100644
--- a/examples/demo/opengl/gltexobj.h
+++ b/examples/demo/opengl/gltexobj.h
@@ -20,7 +20,7 @@
class GLTexobj : public GLControlWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLTexobj( TQWidget* parent, const char* name = 0, WFlags f = 0 );
diff --git a/examples/demo/opengl/glworkspace.h b/examples/demo/opengl/glworkspace.h
index 3739b24a..6ad1ecb5 100644
--- a/examples/demo/opengl/glworkspace.h
+++ b/examples/demo/opengl/glworkspace.h
@@ -8,7 +8,7 @@ class TQPrinter;
class GLWorkspace : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLWorkspace( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
~GLWorkspace();
diff --git a/examples/demo/qasteroids/ledmeter.h b/examples/demo/qasteroids/ledmeter.h
index 93bae087..720afd6e 100644
--- a/examples/demo/qasteroids/ledmeter.h
+++ b/examples/demo/qasteroids/ledmeter.h
@@ -13,7 +13,7 @@
class KALedMeter : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
KALedMeter( TQWidget *parent );
diff --git a/examples/demo/qasteroids/toplevel.h b/examples/demo/qasteroids/toplevel.h
index 6b347806..2d9cc5ee 100644
--- a/examples/demo/qasteroids/toplevel.h
+++ b/examples/demo/qasteroids/toplevel.h
@@ -19,7 +19,7 @@ class TQLCDNumber;
class KAstTopLevel : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
KAstTopLevel( TQWidget *parent=0, const char *name=0 );
virtual ~KAstTopLevel();
diff --git a/examples/demo/qasteroids/view.h b/examples/demo/qasteroids/view.h
index 6ab92a1c..35b360ab 100644
--- a/examples/demo/qasteroids/view.h
+++ b/examples/demo/qasteroids/view.h
@@ -18,7 +18,7 @@
class KAsteroidsView : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
KAsteroidsView( TQWidget *parent = 0, const char *name = 0 );
virtual ~KAsteroidsView();
diff --git a/examples/demo/qthumbwheel.h b/examples/demo/qthumbwheel.h
index 50ee44ed..45b7afa1 100644
--- a/examples/demo/qthumbwheel.h
+++ b/examples/demo/qthumbwheel.h
@@ -50,7 +50,7 @@
class TQThumbWheel : public TQFrame, public TQRangeControl
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQThumbWheel( TQWidget *parent=0, const char *name=0 );
diff --git a/examples/demo/textdrawing/helpwindow.h b/examples/demo/textdrawing/helpwindow.h
index c9d9a336..af73b475 100644
--- a/examples/demo/textdrawing/helpwindow.h
+++ b/examples/demo/textdrawing/helpwindow.h
@@ -21,7 +21,7 @@ class TQPopupMenu;
class HelpWindow : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
HelpWindow( const TQString& home_, const TQString& path, TQWidget* parent = 0, const char *name=0 );
~HelpWindow();
diff --git a/examples/demo/textdrawing/textedit.h b/examples/demo/textdrawing/textedit.h
index 9627c69a..43aea5cd 100644
--- a/examples/demo/textdrawing/textedit.h
+++ b/examples/demo/textdrawing/textedit.h
@@ -20,7 +20,7 @@ class TQTextEdit;
class TextEdit : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
TextEdit( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/dirview/dirview.h b/examples/dirview/dirview.h
index 98853450..d0857497 100644
--- a/examples/dirview/dirview.h
+++ b/examples/dirview/dirview.h
@@ -71,7 +71,7 @@ private:
class DirectoryView : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
DirectoryView( TQWidget *parent = 0, const char *name = 0, bool sdo = FALSE );
diff --git a/examples/distributor/distributor.ui.h b/examples/distributor/distributor.ui.h
index 1d21f19f..01c6b9bd 100644
--- a/examples/distributor/distributor.ui.h
+++ b/examples/distributor/distributor.ui.h
@@ -121,7 +121,7 @@ static char *find_pattern( char *h, const char *n, ulong hlen )
if ( nlen > hlen )
return 0;
- } while ( qstrncmp( h, n, nlen ) != 0 );
+ } while ( tqstrncmp( h, n, nlen ) != 0 );
return h + nlen;
}
diff --git a/examples/dragdrop/dropsite.h b/examples/dragdrop/dropsite.h
index 26843c1e..7f23f1b3 100644
--- a/examples/dragdrop/dropsite.h
+++ b/examples/dragdrop/dropsite.h
@@ -22,7 +22,7 @@ class TQDragObject;
class DropSite: public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
DropSite( TQWidget * parent = 0, const char * name = 0 );
~DropSite();
@@ -42,7 +42,7 @@ protected:
};
class DragMoviePlayer : public TQObject {
- Q_OBJECT
+ TQ_OBJECT
TQDragObject* dobj;
TQMovie movie;
public:
diff --git a/examples/drawdemo/drawdemo.cpp b/examples/drawdemo/drawdemo.cpp
index 013da846..915e218b 100644
--- a/examples/drawdemo/drawdemo.cpp
+++ b/examples/drawdemo/drawdemo.cpp
@@ -130,7 +130,7 @@ DrawThing ourDrawFunctions[] = {
class DrawView : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
DrawView();
~DrawView();
diff --git a/examples/fileiconview/mainwindow.h b/examples/fileiconview/mainwindow.h
index e9f9a891..38feec78 100644
--- a/examples/fileiconview/mainwindow.h
+++ b/examples/fileiconview/mainwindow.h
@@ -21,7 +21,7 @@ class TQToolButton;
class FileMainWindow : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
FileMainWindow();
diff --git a/examples/fileiconview/qfileiconview.h b/examples/fileiconview/qfileiconview.h
index 304456e9..898f26bf 100644
--- a/examples/fileiconview/qfileiconview.h
+++ b/examples/fileiconview/qfileiconview.h
@@ -30,7 +30,7 @@ class TQResizeEvent;
class TQtFileIconDrag : public TQIconDrag
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQtFileIconDrag( TQWidget * dragSource, const char* name = 0 );
@@ -53,7 +53,7 @@ private:
class TQtFileIconViewItem;
class TQtFileIconView : public TQIconView
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQtFileIconView( const TQString &dir, TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/fonts/simple-qfont-demo/viewer.h b/examples/fonts/simple-qfont-demo/viewer.h
index 77b71e0c..e69a3f15 100644
--- a/examples/fonts/simple-qfont-demo/viewer.h
+++ b/examples/fonts/simple-qfont-demo/viewer.h
@@ -11,7 +11,7 @@ class TQPushButton;
class Viewer : public TQWidget
{
-Q_OBJECT
+TQ_OBJECT
public:
Viewer();
diff --git a/examples/forever/forever.h b/examples/forever/forever.h
index 93ec0b47..0580fa21 100644
--- a/examples/forever/forever.h
+++ b/examples/forever/forever.h
@@ -22,7 +22,7 @@ const int numColors = 120;
class Forever : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Forever( TQWidget *parent=0, const char *name=0 );
protected:
diff --git a/examples/hello/hello.h b/examples/hello/hello.h
index 50929944..3d17dbf0 100644
--- a/examples/hello/hello.h
+++ b/examples/hello/hello.h
@@ -15,7 +15,7 @@
class Hello : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Hello( const char *text, TQWidget *parent=0, const char *name=0 );
signals:
diff --git a/examples/helpdemo/helpdemo.h b/examples/helpdemo/helpdemo.h
index cb60371f..c6d40ac4 100644
--- a/examples/helpdemo/helpdemo.h
+++ b/examples/helpdemo/helpdemo.h
@@ -10,7 +10,7 @@ class TQPopupMenu;
class HelpDemo : public HelpDemoBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
HelpDemo( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/helpsystem/mainwindow.h b/examples/helpsystem/mainwindow.h
index 00f4da5a..2566bae1 100644
--- a/examples/helpsystem/mainwindow.h
+++ b/examples/helpsystem/mainwindow.h
@@ -15,7 +15,7 @@ class TQAssistantClient;
class MainWindow : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
MainWindow();
~MainWindow();
diff --git a/examples/helpsystem/whatsthis.h b/examples/helpsystem/whatsthis.h
index 5280567d..85a77fee 100644
--- a/examples/helpsystem/whatsthis.h
+++ b/examples/helpsystem/whatsthis.h
@@ -17,7 +17,7 @@ class TQTable;
class WhatsThis : public TQObject, public TQWhatsThis
{
- Q_OBJECT
+ TQ_OBJECT
public:
WhatsThis( TQWidget *w, TQWidget *watch = 0 );
diff --git a/examples/helpviewer/helpwindow.h b/examples/helpviewer/helpwindow.h
index fbb4da20..d2203fb8 100644
--- a/examples/helpviewer/helpwindow.h
+++ b/examples/helpviewer/helpwindow.h
@@ -21,7 +21,7 @@ class TQPopupMenu;
class HelpWindow : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
HelpWindow( const TQString& home_, const TQString& path, TQWidget* parent = 0, const char *name=0 );
~HelpWindow();
diff --git a/examples/i18n/mywidget.h b/examples/i18n/mywidget.h
index 9cf4690d..7d0b81a7 100644
--- a/examples/i18n/mywidget.h
+++ b/examples/i18n/mywidget.h
@@ -15,7 +15,7 @@
class MyWidget : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
MyWidget( TQWidget* parent=0, const char* name = 0 );
diff --git a/examples/iconview/main.cpp b/examples/iconview/main.cpp
index 2738f127..f797dd01 100644
--- a/examples/iconview/main.cpp
+++ b/examples/iconview/main.cpp
@@ -18,7 +18,7 @@
class ListenDND : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
ListenDND( TQWidget *w )
diff --git a/examples/iconview/simple_dd/main.h b/examples/iconview/simple_dd/main.h
index a752a2d4..57f7e036 100644
--- a/examples/iconview/simple_dd/main.h
+++ b/examples/iconview/simple_dd/main.h
@@ -20,7 +20,7 @@ class TQDragDropEvent;
class DDListBox : public TQListBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
DDListBox( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 );
// Low-level drag and drop
@@ -48,7 +48,7 @@ public:
class DDIconView : public TQIconView
{
- Q_OBJECT
+ TQ_OBJECT
public:
DDIconView( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ) :
TQIconView( parent, name, f ) {}
diff --git a/examples/life/life.h b/examples/life/life.h
index f7481e25..90fe8657 100644
--- a/examples/life/life.h
+++ b/examples/life/life.h
@@ -15,7 +15,7 @@
class LifeWidget : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
LifeWidget( int s = 10, TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/life/lifedlg.h b/examples/life/lifedlg.h
index cb4c8532..38e83526 100644
--- a/examples/life/lifedlg.h
+++ b/examples/life/lifedlg.h
@@ -23,7 +23,7 @@ class TQComboBox;
class LifeTimer : public TQTimer
{
- Q_OBJECT
+ TQ_OBJECT
public:
LifeTimer( TQWidget *parent );
enum { MAXSPEED = 1000 };
@@ -39,7 +39,7 @@ private:
class LifeDialog : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
LifeDialog( int scale = 10, TQWidget *parent = 0, const char *name = 0 );
public slots:
diff --git a/examples/lineedits/lineedits.h b/examples/lineedits/lineedits.h
index 96c79b14..d957c064 100644
--- a/examples/lineedits/lineedits.h
+++ b/examples/lineedits/lineedits.h
@@ -17,7 +17,7 @@ class TQComboBox;
class LineEdits : public TQGroupBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
LineEdits( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/listbox/listbox.h b/examples/listbox/listbox.h
index 06581e0a..b618e941 100644
--- a/examples/listbox/listbox.h
+++ b/examples/listbox/listbox.h
@@ -20,7 +20,7 @@ class TQButtonGroup;
class ListBoxDemo: public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ListBoxDemo();
~ListBoxDemo();
diff --git a/examples/listboxcombo/listboxcombo.h b/examples/listboxcombo/listboxcombo.h
index 5131fe35..63a40776 100644
--- a/examples/listboxcombo/listboxcombo.h
+++ b/examples/listboxcombo/listboxcombo.h
@@ -17,7 +17,7 @@ class TQLabel;
class ListBoxCombo : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
ListBoxCombo( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/listviews/listviews.h b/examples/listviews/listviews.h
index 8eb462ac..7ef9b438 100644
--- a/examples/listviews/listviews.h
+++ b/examples/listviews/listviews.h
@@ -79,7 +79,7 @@ protected:
class Folder : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
Folder( Folder *parent, const TQString &name );
@@ -138,7 +138,7 @@ protected:
class ListViews : public TQSplitter
{
- Q_OBJECT
+ TQ_OBJECT
public:
ListViews( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/mdi/application.h b/examples/mdi/application.h
index 82bcdb3d..33e87fac 100644
--- a/examples/mdi/application.h
+++ b/examples/mdi/application.h
@@ -22,7 +22,7 @@ class TQMovie;
class MDIWindow: public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
MDIWindow( TQWidget* parent, const char* name, int wflags );
~MDIWindow();
@@ -47,7 +47,7 @@ private:
class ApplicationWindow: public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
ApplicationWindow();
~ApplicationWindow();
diff --git a/examples/menu/menu.cpp b/examples/menu/menu.cpp
index 70eda9b5..12460172 100644
--- a/examples/menu/menu.cpp
+++ b/examples/menu/menu.cpp
@@ -120,7 +120,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
TQPixmap p2( p2_xpm );
TQPixmap p3( p3_xpm );
TQPopupMenu *print = new TQPopupMenu( this );
- Q_CHECK_PTR( print );
+ TQ_CHECK_PTR( print );
print->insertTearOffHandle();
print->insertItem( "&Print to printer", this, SLOT(printer()) );
print->insertItem( "Print to &file", this, SLOT(file()) );
@@ -129,7 +129,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
print->insertItem( "Printer &Setup", this, SLOT(printerSetup()) );
TQPopupMenu *file = new TQPopupMenu( this );
- Q_CHECK_PTR( file );
+ TQ_CHECK_PTR( file );
file->insertItem( p1, "&Open", this, SLOT(open()), CTRL+Key_O );
file->insertItem( p2, "&New", this, SLOT(news()), CTRL+Key_N );
file->insertItem( p3, "&Save", this, SLOT(save()), CTRL+Key_S );
@@ -140,14 +140,14 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
file->insertItem( "E&xit", qApp, SLOT(quit()), CTRL+Key_Q );
TQPopupMenu *edit = new TQPopupMenu( this );
- Q_CHECK_PTR( edit );
+ TQ_CHECK_PTR( edit );
int undoID = edit->insertItem( "&Undo", this, SLOT(undo()) );
int redoID = edit->insertItem( "&Redo", this, SLOT(redo()) );
edit->setItemEnabled( undoID, FALSE );
edit->setItemEnabled( redoID, FALSE );
TQPopupMenu* options = new TQPopupMenu( this );
- Q_CHECK_PTR( options );
+ TQ_CHECK_PTR( options );
options->insertTearOffHandle();
options->setCaption("Options");
options->insertItem( "&Normal Font", this, SLOT(normal()) );
@@ -171,13 +171,13 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
TQPopupMenu *help = new TQPopupMenu( this );
- Q_CHECK_PTR( help );
+ TQ_CHECK_PTR( help );
help->insertItem( "&About", this, SLOT(about()), CTRL+Key_H );
help->insertItem( "About &TQt", this, SLOT(aboutTQt()) );
// If we used a TQMainWindow we could use its built-in menuBar().
menu = new TQMenuBar( this );
- Q_CHECK_PTR( menu );
+ TQ_CHECK_PTR( menu );
menu->insertItem( "&File", file );
menu->insertItem( "&Edit", edit );
menu->insertItem( "&Options", options );
@@ -187,7 +187,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
TQLabel *msg = new TQLabel( this );
- Q_CHECK_PTR( msg );
+ TQ_CHECK_PTR( msg );
msg->setText( "A context menu is available.\n"
"Invoke it by right-clicking or by"
" pressing the 'context' button." );
@@ -195,7 +195,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
msg->setAlignment( AlignCenter );
label = new TQLabel( this );
- Q_CHECK_PTR( label );
+ TQ_CHECK_PTR( label );
label->setGeometry( 20, rect().center().y()-20, width()-40, 40 );
label->setFrameStyle( TQFrame::Box | TQFrame::Raised );
label->setLineWidth( 1 );
@@ -212,7 +212,7 @@ MenuExample::MenuExample( TQWidget *parent, const char *name )
void MenuExample::contextMenuEvent( TQContextMenuEvent * )
{
TQPopupMenu* contextMenu = new TQPopupMenu( this );
- Q_CHECK_PTR( contextMenu );
+ TQ_CHECK_PTR( contextMenu );
TQLabel *caption = new TQLabel( "<font color=darkblue><u><b>"
"Context Menu</b></u></font>", this );
caption->setAlignment( TQt::AlignCenter );
@@ -221,7 +221,7 @@ void MenuExample::contextMenuEvent( TQContextMenuEvent * )
contextMenu->insertItem( "&Open...", this, SLOT(open()), CTRL+Key_O );
contextMenu->insertItem( "&Save", this, SLOT(save()), CTRL+Key_S );
TQPopupMenu *submenu = new TQPopupMenu( this );
- Q_CHECK_PTR( submenu );
+ TQ_CHECK_PTR( submenu );
submenu->insertItem( "&Print to printer", this, SLOT(printer()) );
submenu->insertItem( "Print to &file", this, SLOT(file()) );
submenu->insertItem( "Print to fa&x", this, SLOT(fax()) );
diff --git a/examples/menu/menu.h b/examples/menu/menu.h
index 0f3eb396..20fdf0a4 100644
--- a/examples/menu/menu.h
+++ b/examples/menu/menu.h
@@ -17,7 +17,7 @@
class MenuExample : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
MenuExample( TQWidget *parent=0, const char *name=0 );
diff --git a/examples/movies/main.cpp b/examples/movies/main.cpp
index cabfc555..93fbeb43 100644
--- a/examples/movies/main.cpp
+++ b/examples/movies/main.cpp
@@ -18,7 +18,7 @@
class MovieScreen : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
TQMovie movie;
TQString filename;
TQSize sh;
@@ -218,7 +218,7 @@ public:
// A TQFileDialog that chooses movies.
//
class MovieStarter: public TQFileDialog {
- Q_OBJECT
+ TQ_OBJECT
public:
MovieStarter(const char *dir);
diff --git a/examples/network/clientserver/client/client.cpp b/examples/network/clientserver/client/client.cpp
index 6a1a8eb0..26daf93b 100644
--- a/examples/network/clientserver/client/client.cpp
+++ b/examples/network/clientserver/client/client.cpp
@@ -20,7 +20,7 @@
class Client : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
Client( const TQString &host, Q_UINT16 port )
{
diff --git a/examples/network/clientserver/server/server.cpp b/examples/network/clientserver/server/server.cpp
index cde5cc7c..c7644b10 100644
--- a/examples/network/clientserver/server/server.cpp
+++ b/examples/network/clientserver/server/server.cpp
@@ -26,7 +26,7 @@
*/
class ClientSocket : public TQSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClientSocket( int sock, TQObject *parent=0, const char *name=0 ) :
TQSocket( parent, name )
@@ -73,7 +73,7 @@ private:
*/
class SimpleServer : public TQServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
SimpleServer( TQObject* parent=0 ) :
TQServerSocket( 4242, 1, parent )
@@ -105,7 +105,7 @@ signals:
*/
class ServerInfo : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
ServerInfo()
{
diff --git a/examples/network/httpd/httpd.cpp b/examples/network/httpd/httpd.cpp
index 6f7146b1..3c8b94b3 100644
--- a/examples/network/httpd/httpd.cpp
+++ b/examples/network/httpd/httpd.cpp
@@ -21,7 +21,7 @@
// HttpDaemon is the the class that implements the simple HTTP server.
class HttpDaemon : public TQServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
HttpDaemon( TQObject* parent=0 ) :
TQServerSocket(8080,1,parent)
@@ -84,7 +84,7 @@ private slots:
// the actions of the server.
class HttpInfo : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
HttpInfo()
{
diff --git a/examples/network/infoprotocol/infoclient/client.h b/examples/network/infoprotocol/infoclient/client.h
index 50a31bda..e2590686 100644
--- a/examples/network/infoprotocol/infoclient/client.h
+++ b/examples/network/infoprotocol/infoclient/client.h
@@ -22,7 +22,7 @@ static const Q_UINT16 infoPort = 42417;
class ClientInfo : public ClientInfoBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClientInfo( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/network/infoprotocol/infoserver/server.h b/examples/network/infoprotocol/infoserver/server.h
index 87683b89..33fb6782 100644
--- a/examples/network/infoprotocol/infoserver/server.h
+++ b/examples/network/infoprotocol/infoserver/server.h
@@ -25,7 +25,7 @@ static const Q_UINT16 infoPort = 42417;
*/
class ServerInfo : public ServerInfoBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ServerInfo( Q_UINT16 port = infoPort, TQWidget *parent = 0, const char *name = 0 );
@@ -36,7 +36,7 @@ private slots:
class SimpleServer : public TQServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
SimpleServer( Q_UINT16 port = infoPort, TQObject* parent = 0, const char *name = 0 );
void newConnection( int socket );
@@ -51,7 +51,7 @@ private:
class ClientSocket : public TQSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClientSocket( int sock, InfoData *i, TQObject *parent = 0, const char *name = 0 );
diff --git a/examples/network/infoprotocol/infourlclient/client.h b/examples/network/infoprotocol/infourlclient/client.h
index 42e1e303..43641efb 100644
--- a/examples/network/infoprotocol/infourlclient/client.h
+++ b/examples/network/infoprotocol/infourlclient/client.h
@@ -17,7 +17,7 @@
class ClientInfo : public ClientInfoBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ClientInfo( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/network/infoprotocol/infourlclient/qip.h b/examples/network/infoprotocol/infourlclient/qip.h
index cb748a3b..ee70383d 100644
--- a/examples/network/infoprotocol/infourlclient/qip.h
+++ b/examples/network/infoprotocol/infourlclient/qip.h
@@ -19,7 +19,7 @@ static const Q_UINT16 infoPort = 42417;
class Qip : public TQNetworkProtocol
{
- Q_OBJECT
+ TQ_OBJECT
public:
Qip();
diff --git a/examples/network/mail/composer.h b/examples/network/mail/composer.h
index dcf46fc5..0a29dcf7 100644
--- a/examples/network/mail/composer.h
+++ b/examples/network/mail/composer.h
@@ -21,7 +21,7 @@ class TQPushButton;
class Composer : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Composer( TQWidget *parent = 0 );
diff --git a/examples/network/mail/smtp.h b/examples/network/mail/smtp.h
index f8c787e1..deb84890 100644
--- a/examples/network/mail/smtp.h
+++ b/examples/network/mail/smtp.h
@@ -19,7 +19,7 @@ class TQDns;
class Smtp : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
Smtp( const TQString &from, const TQString &to,
diff --git a/examples/network/networkprotocol/nntp.h b/examples/network/networkprotocol/nntp.h
index 0e9fa280..c09a3ea4 100644
--- a/examples/network/networkprotocol/nntp.h
+++ b/examples/network/networkprotocol/nntp.h
@@ -15,7 +15,7 @@
class Nntp : public TQNetworkProtocol
{
- Q_OBJECT
+ TQ_OBJECT
public:
Nntp();
diff --git a/examples/network/networkprotocol/view.h b/examples/network/networkprotocol/view.h
index d76a7f4f..b69138e2 100644
--- a/examples/network/networkprotocol/view.h
+++ b/examples/network/networkprotocol/view.h
@@ -18,7 +18,7 @@ class TQMultiLineEdit;
class View : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
View();
diff --git a/examples/network/remotecontrol/ipcserver.cpp b/examples/network/remotecontrol/ipcserver.cpp
index 6a1d10cd..f7f52ab4 100644
--- a/examples/network/remotecontrol/ipcserver.cpp
+++ b/examples/network/remotecontrol/ipcserver.cpp
@@ -8,7 +8,7 @@
class IpcSocket : public TQSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
IpcSocket( TQObject *parent) : TQSocket( parent )
diff --git a/examples/network/remotecontrol/ipcserver.h b/examples/network/remotecontrol/ipcserver.h
index d9188f1e..b2b17f61 100644
--- a/examples/network/remotecontrol/ipcserver.h
+++ b/examples/network/remotecontrol/ipcserver.h
@@ -5,7 +5,7 @@
class IpcServer : public TQServerSocket
{
- Q_OBJECT
+ TQ_OBJECT
public:
IpcServer( Q_UINT16 port, TQObject *parent );
diff --git a/examples/network/remotecontrol/remotectrlimpl.h b/examples/network/remotecontrol/remotectrlimpl.h
index a14d1be7..a48d5431 100644
--- a/examples/network/remotecontrol/remotectrlimpl.h
+++ b/examples/network/remotecontrol/remotectrlimpl.h
@@ -7,7 +7,7 @@ class TQSocket;
class RemoteCtrlImpl : public RemoteCtrl
{
- Q_OBJECT
+ TQ_OBJECT
public:
RemoteCtrlImpl( TQSocket * );
diff --git a/examples/network/remotecontrol/startup.h b/examples/network/remotecontrol/startup.h
index 10922d26..a3359f57 100644
--- a/examples/network/remotecontrol/startup.h
+++ b/examples/network/remotecontrol/startup.h
@@ -9,7 +9,7 @@ class MainDialog;
class StartUp : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
StartUp();
diff --git a/examples/opengl/box/glbox.h b/examples/opengl/box/glbox.h
index 93b4d757..9d8bebc9 100644
--- a/examples/opengl/box/glbox.h
+++ b/examples/opengl/box/glbox.h
@@ -21,7 +21,7 @@
class GLBox : public TQGLWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/examples/opengl/box/globjwin.h b/examples/opengl/box/globjwin.h
index e6a279f0..d2385d9c 100644
--- a/examples/opengl/box/globjwin.h
+++ b/examples/opengl/box/globjwin.h
@@ -22,7 +22,7 @@
class GLObjectWindow : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );
diff --git a/examples/opengl/glpixmap/glbox.h b/examples/opengl/glpixmap/glbox.h
index a7ec8fc2..9903c23d 100644
--- a/examples/opengl/glpixmap/glbox.h
+++ b/examples/opengl/glpixmap/glbox.h
@@ -21,7 +21,7 @@
class GLBox : public TQGLWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/examples/opengl/glpixmap/globjwin.h b/examples/opengl/glpixmap/globjwin.h
index 7f8952f7..574b6b5f 100644
--- a/examples/opengl/glpixmap/globjwin.h
+++ b/examples/opengl/glpixmap/globjwin.h
@@ -25,7 +25,7 @@ class TQPopupMenu;
class GLObjectWindow : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );
diff --git a/examples/opengl/overlay/globjwin.h b/examples/opengl/overlay/globjwin.h
index ffcd72bb..82fe14ec 100644
--- a/examples/opengl/overlay/globjwin.h
+++ b/examples/opengl/overlay/globjwin.h
@@ -22,7 +22,7 @@
class GLObjectWindow : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );
diff --git a/examples/opengl/overlay/glteapots.h b/examples/opengl/overlay/glteapots.h
index 57595397..24f27367 100644
--- a/examples/opengl/overlay/glteapots.h
+++ b/examples/opengl/overlay/glteapots.h
@@ -22,7 +22,7 @@
class GLTeapots : public TQGLWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/examples/opengl/overlay_x11/main.cpp b/examples/opengl/overlay_x11/main.cpp
index 5925d271..c96e3d9b 100644
--- a/examples/opengl/overlay_x11/main.cpp
+++ b/examples/opengl/overlay_x11/main.cpp
@@ -28,7 +28,7 @@ TQColor findOverlayTransparentColor()
Visual* appVisual;
// The static methods are called 'App' in TQt 2.x
-#if QT_VERSION < 200
+#if TQT_VERSION < 200
appDisplay = TQPaintDevice::x__Display();
appVisual = (Visual*)TQPaintDevice::x11Visual();
#else
diff --git a/examples/opengl/sharedbox/glbox.h b/examples/opengl/sharedbox/glbox.h
index 548457ce..f7565979 100644
--- a/examples/opengl/sharedbox/glbox.h
+++ b/examples/opengl/sharedbox/glbox.h
@@ -21,7 +21,7 @@
class GLBox : public TQGLWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/examples/opengl/sharedbox/globjwin.h b/examples/opengl/sharedbox/globjwin.h
index 5832ee68..f09d2440 100644
--- a/examples/opengl/sharedbox/globjwin.h
+++ b/examples/opengl/sharedbox/globjwin.h
@@ -22,7 +22,7 @@ class GLBox;
class GLObjectWindow : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );
diff --git a/examples/opengl/texture/globjwin.h b/examples/opengl/texture/globjwin.h
index e6a279f0..d2385d9c 100644
--- a/examples/opengl/texture/globjwin.h
+++ b/examples/opengl/texture/globjwin.h
@@ -22,7 +22,7 @@
class GLObjectWindow : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
GLObjectWindow( TQWidget* parent = 0, const char* name = 0 );
diff --git a/examples/opengl/texture/gltexobj.h b/examples/opengl/texture/gltexobj.h
index 8d167228..0f86b268 100644
--- a/examples/opengl/texture/gltexobj.h
+++ b/examples/opengl/texture/gltexobj.h
@@ -21,7 +21,7 @@
class GLTexobj : public TQGLWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/examples/popup/popup.h b/examples/popup/popup.h
index 10e4b669..d8a28236 100644
--- a/examples/popup/popup.h
+++ b/examples/popup/popup.h
@@ -19,7 +19,7 @@
class FancyPopup : public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
FancyPopup( TQWidget* parent = 0, const char* name=0);
@@ -37,7 +37,7 @@ private:
class Frame : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
Frame( TQWidget *parent=0, const char* name=0);
diff --git a/examples/process/process.cpp b/examples/process/process.cpp
index 945017fe..0ff879ac 100644
--- a/examples/process/process.cpp
+++ b/examples/process/process.cpp
@@ -19,7 +19,7 @@
class UicManager : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
UicManager();
diff --git a/examples/progress/progress.cpp b/examples/progress/progress.cpp
index 917366cb..54887170 100644
--- a/examples/progress/progress.cpp
+++ b/examples/progress/progress.cpp
@@ -119,7 +119,7 @@ private:
class CPUWaster : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
enum { first_draw_item = 1000, last_draw_item = 1006 };
@@ -142,10 +142,10 @@ public:
pb(0)
{
menubar = new TQMenuBar( this, "menu" );
- Q_CHECK_PTR( menubar );
+ TQ_CHECK_PTR( menubar );
TQPopupMenu* file = new TQPopupMenu();
- Q_CHECK_PTR( file );
+ TQ_CHECK_PTR( file );
menubar->insertItem( "&File", file );
for (int i=first_draw_item; i<=last_draw_item; i++)
file->insertItem( drawItemText(i), i );
@@ -154,7 +154,7 @@ public:
file->insertItem( "Quit", qApp, SLOT(quit()) );
options = new TQPopupMenu();
- Q_CHECK_PTR( options );
+ TQ_CHECK_PTR( options );
menubar->insertItem( "&Options", options );
td_id = options->insertItem( "Timer driven", this, SLOT(timerDriven()) );
ld_id = options->insertItem( "Loop driven", this, SLOT(loopDriven()) );
diff --git a/examples/progressbar/progressbar.h b/examples/progressbar/progressbar.h
index f8477778..8ec07357 100644
--- a/examples/progressbar/progressbar.h
+++ b/examples/progressbar/progressbar.h
@@ -19,7 +19,7 @@ class TQProgressBar;
class ProgressBar : public TQButtonGroup
{
- Q_OBJECT
+ TQ_OBJECT
public:
ProgressBar( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/qdir/ntqdir.h b/examples/qdir/ntqdir.h
index 9b591345..82c91d3c 100644
--- a/examples/qdir/ntqdir.h
+++ b/examples/qdir/ntqdir.h
@@ -27,7 +27,7 @@ class TQPopupMenu;
class PixmapView : public TQScrollView
{
- Q_OBJECT
+ TQ_OBJECT
public:
PixmapView( TQWidget *parent );
@@ -41,7 +41,7 @@ private:
class Preview : public TQWidgetStack
{
- Q_OBJECT
+ TQ_OBJECT
public:
Preview( TQWidget *parent );
@@ -57,7 +57,7 @@ private:
class PreviewWidget : public TQVBox,
public TQFilePreview
{
- Q_OBJECT
+ TQ_OBJECT
public:
PreviewWidget( TQWidget *parent );
@@ -71,7 +71,7 @@ private:
class CustomFileDialog : public TQFileDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
CustomFileDialog();
diff --git a/examples/qfd/fontdisplayer.h b/examples/qfd/fontdisplayer.h
index 3ae0a9d6..612e5f22 100644
--- a/examples/qfd/fontdisplayer.h
+++ b/examples/qfd/fontdisplayer.h
@@ -16,7 +16,7 @@
class TQSlider;
class FontRowTable : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
FontRowTable( TQWidget* parent=0, const char* name=0 );
@@ -39,7 +39,7 @@ private:
};
class FontDisplayer : public TQMainWindow {
- Q_OBJECT
+ TQ_OBJECT
public:
FontDisplayer( TQWidget* parent=0, const char* name=0 );
};
diff --git a/examples/qmag/qmag.cpp b/examples/qmag/qmag.cpp
index b87820ae..34504300 100644
--- a/examples/qmag/qmag.cpp
+++ b/examples/qmag/qmag.cpp
@@ -22,7 +22,7 @@
class MagWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
MagWidget( TQWidget *parent=0, const char *name=0 );
@@ -88,12 +88,12 @@ MagWidget::MagWidget( TQWidget *parent, const char *name )
int w=0, x=0, n;
zoom = new TQComboBox( FALSE, this );
- Q_CHECK_PTR(zoom);
+ TQ_CHECK_PTR(zoom);
zoom->insertStrList( zoomfactors, 9 );
connect( zoom, SIGNAL(activated(int)), SLOT(setZoom(int)) );
refresh = new TQComboBox( FALSE, this );
- Q_CHECK_PTR(refresh);
+ TQ_CHECK_PTR(refresh);
refresh->insertStrList( refreshrates, 9 );
connect( refresh, SIGNAL(activated(int)), SLOT(setRefresh(int)) );
@@ -112,7 +112,7 @@ MagWidget::MagWidget( TQWidget *parent, const char *name )
refresh->setGeometry( x, 2, w+30, 20 );
saveButton = new TQPushButton( this );
- Q_CHECK_PTR(saveButton);
+ TQ_CHECK_PTR(saveButton);
connect( saveButton, SIGNAL(clicked()), this, SLOT(save()) );
saveButton->setText( "Save" );
saveButton->setGeometry( x+w+30+2, 2,
@@ -120,14 +120,14 @@ MagWidget::MagWidget( TQWidget *parent, const char *name )
multiSaveButton = new TQPushButton( this );
multiSaveButton->setToggleButton(TRUE);
- Q_CHECK_PTR(multiSaveButton);
+ TQ_CHECK_PTR(multiSaveButton);
connect( multiSaveButton, SIGNAL(clicked()), this, SLOT(multiSave()) );
multiSaveButton->setText( "MultiSave" );
multiSaveButton->setGeometry( saveButton->geometry().right() + 2, 2,
10+multiSaveButton->fontMetrics().width("MultiSave"), 20 );
quitButton = new TQPushButton( this );
- Q_CHECK_PTR(quitButton);
+ TQ_CHECK_PTR(quitButton);
connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) );
quitButton->setText( "Quit" );
quitButton->setGeometry( multiSaveButton->geometry().right() + 2, 2,
@@ -141,7 +141,7 @@ MagWidget::MagWidget( TQWidget *parent, const char *name )
setZoom(5);
rgb = new TQLabel( this );
- Q_CHECK_PTR( rgb );
+ TQ_CHECK_PTR( rgb );
rgb->setText( "" );
rgb->setAlignment( AlignVCenter );
rgb->resize( width(), rgb->fontMetrics().height() + 4 );
diff --git a/examples/qwerty/qwerty.cpp b/examples/qwerty/qwerty.cpp
index 93dcc2eb..4d791127 100644
--- a/examples/qwerty/qwerty.cpp
+++ b/examples/qwerty/qwerty.cpp
@@ -34,7 +34,7 @@ Editor::Editor( TQWidget * parent , const char * name )
m = new TQMenuBar( this, "menu" );
TQPopupMenu * file = new TQPopupMenu();
- Q_CHECK_PTR( file );
+ TQ_CHECK_PTR( file );
m->insertItem( "&File", file );
file->insertItem( "&New", this, SLOT(newDoc()), ALT+Key_N );
@@ -59,7 +59,7 @@ Editor::Editor( TQWidget * parent , const char * name )
rebuildCodecList();
TQPopupMenu * edit = new TQPopupMenu();
- Q_CHECK_PTR( edit );
+ TQ_CHECK_PTR( edit );
m->insertItem( "&Edit", edit );
edit->insertItem( "To &Uppercase", this, SLOT(toUpper()), ALT+Key_U );
diff --git a/examples/qwerty/qwerty.h b/examples/qwerty/qwerty.h
index a20b965c..efd2202f 100644
--- a/examples/qwerty/qwerty.h
+++ b/examples/qwerty/qwerty.h
@@ -17,7 +17,7 @@
class Editor : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Editor( TQWidget *parent=0, const char *name="qwerty" );
~Editor();
diff --git a/examples/rangecontrols/rangecontrols.h b/examples/rangecontrols/rangecontrols.h
index 59d4b9ff..2542111d 100644
--- a/examples/rangecontrols/rangecontrols.h
+++ b/examples/rangecontrols/rangecontrols.h
@@ -16,7 +16,7 @@ class TQCheckBox;
class RangeControls : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
RangeControls( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/regexptester/regexptester.h b/examples/regexptester/regexptester.h
index 8eb6a7e5..d3256f55 100644
--- a/examples/regexptester/regexptester.h
+++ b/examples/regexptester/regexptester.h
@@ -12,7 +12,7 @@ class TQTable;
class RegexpTester : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
RegexpTester(TQWidget* parent=0, const char* name=0, bool modal=false,
diff --git a/examples/richtext/richtext.h b/examples/richtext/richtext.h
index dde6771a..77913f76 100644
--- a/examples/richtext/richtext.h
+++ b/examples/richtext/richtext.h
@@ -17,7 +17,7 @@ class TQPushButton;
class MyRichText : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
MyRichText( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/rot13/rot13.h b/examples/rot13/rot13.h
index 7e9d2850..3933e6fe 100644
--- a/examples/rot13/rot13.h
+++ b/examples/rot13/rot13.h
@@ -19,7 +19,7 @@
class TQMultiLineEdit;
class Rot13: public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
Rot13();
diff --git a/examples/scribble/scribble.h b/examples/scribble/scribble.h
index 72e58b24..e19a49a4 100644
--- a/examples/scribble/scribble.h
+++ b/examples/scribble/scribble.h
@@ -26,7 +26,7 @@ class TQSpinBox;
class Canvas : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Canvas( TQWidget *parent = 0, const char *name = 0 );
@@ -65,7 +65,7 @@ protected:
class Scribble : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
Scribble( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/scrollview/scrollview.cpp b/examples/scrollview/scrollview.cpp
index e3711164..e7db2d2f 100644
--- a/examples/scrollview/scrollview.cpp
+++ b/examples/scrollview/scrollview.cpp
@@ -32,7 +32,7 @@ static const int max_mw = 10;
class BigShrinker : public TQFrame {
- Q_OBJECT
+ TQ_OBJECT
public:
BigShrinker(TQWidget* parent) :
TQFrame(parent)
@@ -195,22 +195,22 @@ private:
};
class ScrollViewExample : public TQWidget {
- Q_OBJECT
+ TQ_OBJECT
public:
ScrollViewExample(int technique, TQWidget* parent=0, const char* name=0) :
TQWidget(parent,name)
{
TQMenuBar* menubar = new TQMenuBar(this);
- Q_CHECK_PTR( menubar );
+ TQ_CHECK_PTR( menubar );
TQPopupMenu* file = new TQPopupMenu( menubar );
- Q_CHECK_PTR( file );
+ TQ_CHECK_PTR( file );
menubar->insertItem( "&File", file );
file->insertItem( "Quit", qApp, SLOT(quit()) );
vp_options = new TQPopupMenu( menubar );
- Q_CHECK_PTR( vp_options );
+ TQ_CHECK_PTR( vp_options );
vp_options->setCheckable( TRUE );
menubar->insertItem( "&ScrollView", vp_options );
connect( vp_options, SIGNAL(activated(int)),
@@ -248,7 +248,7 @@ public:
}
f_options = new TQPopupMenu( menubar );
- Q_CHECK_PTR( f_options );
+ TQ_CHECK_PTR( f_options );
f_options->setCheckable( TRUE );
menubar->insertItem( "F&rame", f_options );
connect( f_options, SIGNAL(activated(int)),
@@ -265,7 +265,7 @@ public:
f_options->insertItem( "Sunken", style_id|TQFrame::Sunken ));
f_options->insertSeparator();
lw_options = new TQPopupMenu( menubar );
- Q_CHECK_PTR( lw_options );
+ TQ_CHECK_PTR( lw_options );
lw_options->setCheckable( TRUE );
for (int lw = 1; lw <= max_lw; lw++) {
TQString str;
@@ -276,7 +276,7 @@ public:
connect( lw_options, SIGNAL(activated(int)),
this, SLOT(doFMenuItem(int)) );
mlw_options = new TQPopupMenu( menubar );
- Q_CHECK_PTR( mlw_options );
+ TQ_CHECK_PTR( mlw_options );
mlw_options->setCheckable( TRUE );
for (int mlw = 0; mlw <= max_mlw; mlw++) {
TQString str;
@@ -287,7 +287,7 @@ public:
connect( mlw_options, SIGNAL(activated(int)),
this, SLOT(doFMenuItem(int)) );
mw_options = new TQPopupMenu( menubar );
- Q_CHECK_PTR( mw_options );
+ TQ_CHECK_PTR( mw_options );
mw_options->setCheckable( TRUE );
for (int mw = 0; mw <= max_mw; mw++) {
TQString str;
diff --git a/examples/showimg/imagefip.h b/examples/showimg/imagefip.h
index e6ef0fb9..09e22de2 100644
--- a/examples/showimg/imagefip.h
+++ b/examples/showimg/imagefip.h
@@ -16,7 +16,7 @@
class ImageIconProvider : public TQFileIconProvider
{
- Q_OBJECT
+ TQ_OBJECT
TQStrList fmts;
TQPixmap imagepm;
diff --git a/examples/showimg/imagetexteditor.h b/examples/showimg/imagetexteditor.h
index 6af9e6eb..21664d27 100644
--- a/examples/showimg/imagetexteditor.h
+++ b/examples/showimg/imagetexteditor.h
@@ -20,7 +20,7 @@ class TQMultiLineEdit;
class ImageTextEditor : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
ImageTextEditor( TQImage& i, TQWidget *parent=0, const char *name=0, WFlags f=0 );
~ImageTextEditor();
diff --git a/examples/showimg/showimg.h b/examples/showimg/showimg.h
index 362b1c2d..f51fa607 100644
--- a/examples/showimg/showimg.h
+++ b/examples/showimg/showimg.h
@@ -20,7 +20,7 @@ class TQPopupMenu;
class ImageViewer : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ImageViewer( TQWidget *parent=0, const char *name=0, int wFlags=0 );
~ImageViewer();
diff --git a/examples/sound/sound.h b/examples/sound/sound.h
index 573e8713..ee4bc585 100644
--- a/examples/sound/sound.h
+++ b/examples/sound/sound.h
@@ -13,7 +13,7 @@
#include <ntqmainwindow.h>
class SoundPlayer : public TQMainWindow {
- Q_OBJECT
+ TQ_OBJECT
public:
SoundPlayer();
diff --git a/examples/sql/overview/custom1/main.h b/examples/sql/overview/custom1/main.h
index 3ffd1c1c..7ee9d5dd 100644
--- a/examples/sql/overview/custom1/main.h
+++ b/examples/sql/overview/custom1/main.h
@@ -21,7 +21,7 @@
class CustomEdit : public TQLineEdit
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( TQString upperLine READ upperLine WRITE setUpperLine )
public:
CustomEdit( TQWidget *parent=0, const char *name=0 );
@@ -36,7 +36,7 @@ class CustomEdit : public TQLineEdit
class FormDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
FormDialog();
~FormDialog();
diff --git a/examples/sql/overview/form2/main.h b/examples/sql/overview/form2/main.h
index ddd91039..c3d251e6 100644
--- a/examples/sql/overview/form2/main.h
+++ b/examples/sql/overview/form2/main.h
@@ -20,7 +20,7 @@
class FormDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
FormDialog();
~FormDialog();
diff --git a/examples/sql/overview/table3/main.h b/examples/sql/overview/table3/main.h
index e93e6ee7..8720dbb6 100644
--- a/examples/sql/overview/table3/main.h
+++ b/examples/sql/overview/table3/main.h
@@ -18,7 +18,7 @@
class StatusPicker : public TQComboBox
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( int statusid READ statusId WRITE setStatusId )
public:
StatusPicker( TQWidget *parent=0, const char *name=0 );
@@ -31,7 +31,7 @@ class StatusPicker : public TQComboBox
class CustomSqlEditorFactory : public TQSqlEditorFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQWidget *createEditor( TQWidget *parent, const TQSqlField *field );
};
diff --git a/examples/sql/overview/table4/main.h b/examples/sql/overview/table4/main.h
index ecd878b1..184d6977 100644
--- a/examples/sql/overview/table4/main.h
+++ b/examples/sql/overview/table4/main.h
@@ -20,7 +20,7 @@
class StatusPicker : public TQComboBox
{
- Q_OBJECT
+ TQ_OBJECT
Q_PROPERTY( int statusid READ statusId WRITE setStatusId )
public:
StatusPicker( TQWidget *parent=0, const char *name=0 );
@@ -33,7 +33,7 @@ private:
class CustomTable : public TQDataTable
{
- Q_OBJECT
+ TQ_OBJECT
public:
CustomTable(
TQSqlCursor *cursor, bool autoPopulate = FALSE,
@@ -47,7 +47,7 @@ public:
class CustomSqlEditorFactory : public TQSqlEditorFactory
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQWidget *createEditor( TQWidget *parent, const TQSqlField *field );
};
diff --git a/examples/tabdialog/tabdialog.h b/examples/tabdialog/tabdialog.h
index 0d2634cc..a501ae8b 100644
--- a/examples/tabdialog/tabdialog.h
+++ b/examples/tabdialog/tabdialog.h
@@ -16,7 +16,7 @@
class TabDialog : public TQTabDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
TabDialog( TQWidget *parent, const char *name, const TQString &_filename );
diff --git a/examples/table/statistics/statistics.h b/examples/table/statistics/statistics.h
index a5225d99..abc15cf8 100644
--- a/examples/table/statistics/statistics.h
+++ b/examples/table/statistics/statistics.h
@@ -35,7 +35,7 @@ private:
class Table : public TQTable
{
- Q_OBJECT
+ TQ_OBJECT
public:
Table();
diff --git a/examples/tablet/canvas.h b/examples/tablet/canvas.h
index bc76dad7..bc0267d0 100644
--- a/examples/tablet/canvas.h
+++ b/examples/tablet/canvas.h
@@ -20,7 +20,7 @@
class Canvas : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Canvas( TQWidget *parent = 0, const char *name = 0, WFlags fl = 0 );
diff --git a/examples/tablet/scribble.h b/examples/tablet/scribble.h
index 36eaa7ed..9f505d75 100644
--- a/examples/tablet/scribble.h
+++ b/examples/tablet/scribble.h
@@ -27,7 +27,7 @@ class Canvas;
class Scribble : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
Scribble( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/tablet/tabletstats.h b/examples/tablet/tabletstats.h
index 473866e9..8e1e2c9f 100644
--- a/examples/tablet/tabletstats.h
+++ b/examples/tablet/tabletstats.h
@@ -19,7 +19,7 @@ class TQLabel;
class MyOrientation : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
public:
MyOrientation( TQWidget *parent = 0, const char *name = 0 );
virtual ~MyOrientation();
@@ -31,7 +31,7 @@ public slots:
class StatsCanvas : public Canvas
{
- Q_OBJECT
+ TQ_OBJECT
public:
StatsCanvas( TQWidget *parent = 0, const char* name = 0 );
~StatsCanvas();
@@ -54,7 +54,7 @@ private:
class TabletStats : public TabletStatsBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
TabletStats( TQWidget *parent, const char* name );
~TabletStats();
diff --git a/examples/tetrix/qdragapp.cpp b/examples/tetrix/qdragapp.cpp
index d9903e79..41fd5eb3 100644
--- a/examples/tetrix/qdragapp.cpp
+++ b/examples/tetrix/qdragapp.cpp
@@ -25,7 +25,7 @@ class TQDragger;
class DropWindow : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
void paintEvent( TQPaintEvent * );
void closeEvent( TQCloseEvent * );
@@ -50,7 +50,7 @@ struct DraggedInfo {
class TQDragger : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQDragger();
~TQDragger();
diff --git a/examples/tetrix/qdragapp.h b/examples/tetrix/qdragapp.h
index 85f3b9dd..c710bd97 100644
--- a/examples/tetrix/qdragapp.h
+++ b/examples/tetrix/qdragapp.h
@@ -16,7 +16,7 @@ class TQDragger;
class TQDragApplication : public TQApplication
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQDragApplication( int &argc, char **argv );
virtual ~TQDragApplication();
diff --git a/examples/tetrix/qtetrix.h b/examples/tetrix/qtetrix.h
index 1c81fcdf..3fc9f429 100644
--- a/examples/tetrix/qtetrix.h
+++ b/examples/tetrix/qtetrix.h
@@ -20,7 +20,7 @@
class ShowNextPiece : public TQFrame
{
- Q_OBJECT
+ TQ_OBJECT
friend class TQTetrix;
public:
ShowNextPiece( TQWidget *parent=0, const char *name=0 );
@@ -39,7 +39,7 @@ private:
class TQTetrix : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQTetrix( TQWidget *parent=0, const char *name=0 );
void startGame() { board->startGame(); }
diff --git a/examples/tetrix/qtetrixb.h b/examples/tetrix/qtetrixb.h
index 0e9812e8..6c2bd228 100644
--- a/examples/tetrix/qtetrixb.h
+++ b/examples/tetrix/qtetrixb.h
@@ -17,7 +17,7 @@ class TQTimer;
class TQTetrixBoard : public TQFrame, public GenericTetrix
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQTetrixBoard( TQWidget *parent=0, const char *name=0 );
diff --git a/examples/textedit/textedit.h b/examples/textedit/textedit.h
index 226e0e0e..77447b2a 100644
--- a/examples/textedit/textedit.h
+++ b/examples/textedit/textedit.h
@@ -20,7 +20,7 @@ class TQTextEdit;
class TextEdit : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
TextEdit( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/themes/themes.h b/examples/themes/themes.h
index e3789c6e..a11b6c79 100644
--- a/examples/themes/themes.h
+++ b/examples/themes/themes.h
@@ -17,7 +17,7 @@ class TQTabWidget;
class Themes: public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
Themes( TQWidget *parent = 0, const char *name = 0, WFlags f = WType_TopLevel );
diff --git a/examples/thread/prodcons/prodcons.cpp b/examples/thread/prodcons/prodcons.cpp
index ec4e68c5..7f182f85 100644
--- a/examples/thread/prodcons/prodcons.cpp
+++ b/examples/thread/prodcons/prodcons.cpp
@@ -220,7 +220,7 @@ void ConsThread::run()
class ProdCons : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
ProdCons();
diff --git a/examples/thread/semaphores/main.cpp b/examples/thread/semaphores/main.cpp
index a32873a9..d31baf3d 100644
--- a/examples/thread/semaphores/main.cpp
+++ b/examples/thread/semaphores/main.cpp
@@ -141,7 +141,7 @@ void GreenThread::stop()
class SemaphoreExample : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
SemaphoreExample();
~SemaphoreExample();
diff --git a/examples/tictac/tictac.h b/examples/tictac/tictac.h
index e2c1917e..1bf3927e 100644
--- a/examples/tictac/tictac.h
+++ b/examples/tictac/tictac.h
@@ -24,7 +24,7 @@ class TQLabel;
class TicTacButton : public TQPushButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
TicTacButton( TQWidget *parent );
enum Type { Blank, Circle, Cross };
@@ -55,7 +55,7 @@ typedef TQMemArray<int> TicTacArray;
class TicTacGameBoard : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TicTacGameBoard( int n, TQWidget *parent=0, const char *name=0 );
~TicTacGameBoard();
@@ -88,7 +88,7 @@ private:
class TicTacToe : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TicTacToe( int boardSize=3, TQWidget *parent=0, const char *name=0 );
private slots:
diff --git a/examples/tooltip/tooltip.h b/examples/tooltip/tooltip.h
index 7cd868eb..67c586d5 100644
--- a/examples/tooltip/tooltip.h
+++ b/examples/tooltip/tooltip.h
@@ -23,7 +23,7 @@ protected:
class TellMe : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TellMe( TQWidget * parent = 0, const char * name = 0 );
~TellMe();
diff --git a/examples/widgets/widgets.h b/examples/widgets/widgets.h
index 8fc9cca5..12e814a6 100644
--- a/examples/widgets/widgets.h
+++ b/examples/widgets/widgets.h
@@ -27,7 +27,7 @@ class TQPopupMenu;
class MyListView : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
MyListView( TQWidget * parent = 0, const char *name = 0 )
: TQListView( parent, name ), selected(0)
@@ -64,7 +64,7 @@ private:
class WidgetView : public TQMainWindow
{
- Q_OBJECT
+ TQ_OBJECT
public:
WidgetView( TQWidget *parent=0, const char *name=0 );
diff --git a/examples/wizard/wizard.h b/examples/wizard/wizard.h
index 332f1896..2bfbe7de 100644
--- a/examples/wizard/wizard.h
+++ b/examples/wizard/wizard.h
@@ -19,7 +19,7 @@ class TQLabel;
class Wizard : public TQWizard
{
- Q_OBJECT
+ TQ_OBJECT
public:
Wizard( TQWidget *parent = 0, const char *name = 0 );
diff --git a/examples/xform/xform.cpp b/examples/xform/xform.cpp
index bad40c30..8335660c 100644
--- a/examples/xform/xform.cpp
+++ b/examples/xform/xform.cpp
@@ -39,7 +39,7 @@ public:
class XFormControl : public TQVBox, public ModeNames
{
- Q_OBJECT
+ TQ_OBJECT
public:
XFormControl( const TQFont &initialFont, TQWidget *parent=0, const char *name=0 );
~XFormControl() {}
@@ -83,7 +83,7 @@ private:
class ShowXForm : public TQWidget, public ModeNames
{
- Q_OBJECT
+ TQ_OBJECT
public:
ShowXForm( const TQFont &f, TQWidget *parent=0, const char *name=0 );
~ShowXForm() {}
@@ -434,7 +434,7 @@ void ShowXForm::showIt()
class XFormCenter : public TQHBox, public ModeNames
{
- Q_OBJECT
+ TQ_OBJECT
public:
XFormCenter( TQWidget *parent=0, const char *name=0 );
public slots:
diff --git a/examples/xml/outliner/outlinetree.h b/examples/xml/outliner/outlinetree.h
index 891a44d3..e5fcb0d4 100644
--- a/examples/xml/outliner/outlinetree.h
+++ b/examples/xml/outliner/outlinetree.h
@@ -15,7 +15,7 @@
class OutlineTree : public TQListView
{
- Q_OBJECT
+ TQ_OBJECT
public:
OutlineTree( const TQString fileName, TQWidget *parent = 0, const char *name = 0 );