diff options
Diffstat (limited to 'examples')
131 files changed, 201 insertions, 201 deletions
diff --git a/examples/aclock/aclock.h b/examples/aclock/aclock.h index e28c6528d..f786363a1 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 066205336..b3e864ea0 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 cf190d478..7f2018c66 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 e3a453eae..631d82a71 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 066205336..b3e864ea0 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 eed7dc080..ae60b43a3 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 938304995..c25415bf9 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 cc269037c..5bbb50883 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 d51ba6b5f..a066c1b1f 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 b2d30c01e..926bd69be 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 c160f777b..8277ad376 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 88eb98f92..7759f6158 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 5235f830c..d2097dd18 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 a98a69650..bffaab21f 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 978e1380d..a51018a61 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 3a86e2368..c3241150b 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 7860cac53..05d0587c4 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 b02949a83..3a5ee29cd 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 c45749516..f82f2cb35 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 ae99f5cf7..2cd6c0ae6 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 4097692af..6a2ede5cc 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 58221b8b4..1cb0f5017 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 79f928268..1fba89252 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 29663e1f5..b716fc04e 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 4ce61ad9c..295847ac5 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 2667cfa3b..d702665fb 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 97a99f656..7942c31ef 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 fed4256ca..9e21a7539 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 e4f457e7c..54a03c012 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 5d235dcff..a5e48a32b 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 3739b24a1..6ad1ecb5b 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 93bae087d..720afd6e0 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 6b3478064..2d9cc5eee 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 6ab92a1c2..35b360ab0 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 50ee44ed3..45b7afa13 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 c9d9a336a..af73b4752 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 9627c69a3..43aea5cd7 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 988534509..d08574976 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 1d21f19f9..01c6b9bd8 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 26843c1e6..7f23f1b36 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 013da8466..915e218bf 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 e9f9a8918..38feec781 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 304456e97..898f26bf9 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 77b71e0c9..e69a3f15a 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 93ec0b474..0580fa21c 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 50929944d..3d17dbf05 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 cb60371f3..c6d40ac48 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 00f4da5a9..2566bae18 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 5280567d4..85a77fee5 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 fbb4da20f..d2203fb85 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 9cf4690de..7d0b81a71 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 2738f1276..f797dd013 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 a752a2d4e..57f7e0365 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 f7481e256..90fe86578 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 cb4c8532c..38e835260 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 96c79b142..d957c064d 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 06581e0a0..b618e9413 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 5131fe35f..63a407768 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 8eb462ac5..7ef9b438d 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 82bcdb3d1..33e87fac1 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 70eda9b5b..124601720 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 0f3eb396a..20fdf0a48 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 cabfc5553..93fbeb438 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 6a1a8eb00..26daf93b0 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 cde5cc7c0..c7644b107 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 6f7146b1a..3c8b94b38 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 50a31bdad..e25906864 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 87683b89a..33fb67821 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 42e1e303b..43641efb5 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 cb748a3ba..ee70383d4 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 dcf46fc54..0a29dcf7d 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 f8c787e13..deb84890a 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 0e9fa2808..c09a3ea4a 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 d76a7f4fb..b69138e27 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 6a1d10cd7..f7f52ab48 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 d9188f1e5..b2b17f615 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 a14d1be76..a48d5431f 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 10922d267..a3359f573 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 93b4d7579..9d8bebc99 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 e6a279f06..d2385d9cd 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 a7ec8fc2b..9903c23d9 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 7f8952f7d..574b6b5fe 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 ffcd72bbf..82fe14ec5 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 575953975..24f27367f 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 5925d271b..c96e3d9b0 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 548457ce3..f7565979f 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 5832ee685..f09d2440e 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 e6a279f06..d2385d9cd 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 8d167228a..0f86b2684 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 10e4b669c..d8a282363 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 945017fe9..0ff879ace 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 917366cbb..548871708 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 f8477778f..8ec073571 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 9b591345e..82c91d3c4 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 3ae0a9d6f..612e5f22e 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 b87820ae0..34504300c 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 93dcc2eb8..4d7911271 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 a20b965c3..efd2202fc 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 59d4b9ff0..2542111d3 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 8eb6a7e5a..d3256f556 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 dde6771ab..77913f76d 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 7e9d28500..3933e6fe3 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 72e58b242..e19a49a46 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 e37111644..e7db2d2fc 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 e6ef0fb9e..09e22de22 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 6af9e6eb1..21664d278 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 362b1c2db..f51fa607a 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 573e87136..ee4bc5853 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 3ffd1c1c6..7ee9d5ddc 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 ddd91039e..c3d251e6b 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 e93e6ee7b..8720dbb6f 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 ecd878b1c..184d69777 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 0d2634cc3..a501ae8b7 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 a5225d998..abc15cf8d 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 bc76dad7f..bc0267d06 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 36eaa7ed6..9f505d754 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 473866e94..8e1e2c9f1 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 d9903e797..41fd5eb33 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 85f3b9dd6..c710bd974 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 1c81fcdf1..3fc9f4297 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 0e9812e89..6c2bd228a 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 226e0e0eb..77447b2a3 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 e3789c6e0..a11b6c796 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 ec4e68c5a..7f182f850 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 a32873a95..d31baf3dc 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 e2c1917ed..1bf3927e6 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 7cd868eb5..67c586d5e 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 8fc9cca55..12e814a6e 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 332f18966..2bfbe7ded 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 bad40c303..8335660c1 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 891a44d37..e5fcb0d4e 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 ); |