diff options
Diffstat (limited to 'examples/demo/main.cpp')
-rw-r--r-- | examples/demo/main.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
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() ) ); |