summaryrefslogtreecommitdiffstats
path: root/examples/demo/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /examples/demo/main.cpp
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
Diffstat (limited to 'examples/demo/main.cpp')
-rw-r--r--examples/demo/main.cpp20
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() ) );