summaryrefslogtreecommitdiffstats
path: root/examples/themes
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /examples/themes
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/themes')
-rw-r--r--examples/themes/metal.cpp2
-rw-r--r--examples/themes/metal.h2
-rw-r--r--examples/themes/themes.cpp8
-rw-r--r--examples/themes/wood.cpp2
-rw-r--r--examples/themes/wood.h2
5 files changed, 8 insertions, 8 deletions
diff --git a/examples/themes/metal.cpp b/examples/themes/metal.cpp
index c3815c62..ee3b57d1 100644
--- a/examples/themes/metal.cpp
+++ b/examples/themes/metal.cpp
@@ -9,7 +9,7 @@
#include "metal.h"
-#ifndef QT_NO_STYLE_WINDOWS
+#ifndef TQT_NO_STYLE_WINDOWS
#include "ntqapplication.h"
#include "ntqcombobox.h"
diff --git a/examples/themes/metal.h b/examples/themes/metal.h
index 6ff38d30..7838bd1c 100644
--- a/examples/themes/metal.h
+++ b/examples/themes/metal.h
@@ -17,7 +17,7 @@
#include <ntqpalette.h>
-#ifndef QT_NO_STYLE_WINDOWS
+#ifndef TQT_NO_STYLE_WINDOWS
#include <ntqwindowsstyle.h>
diff --git a/examples/themes/themes.cpp b/examples/themes/themes.cpp
index 1f541762..88111945 100644
--- a/examples/themes/themes.cpp
+++ b/examples/themes/themes.cpp
@@ -60,7 +60,7 @@ Themes::Themes( TQWidget *parent, const char *name, WFlags f )
connect( styleMapper, SIGNAL( mapped( const TQString& ) ), this, SLOT( makeStyle( const TQString& ) ) );
TQStringList list = TQStyleFactory::keys();
list.sort();
-#ifndef QT_NO_STYLE_WINDOWS
+#ifndef TQT_NO_STYLE_WINDOWS
list.insert(list.begin(), "Norwegian Wood");
list.insert(list.begin(), "Metal");
#endif
@@ -94,7 +94,7 @@ Themes::Themes( TQWidget *parent, const char *name, WFlags f )
help->insertItem( "&About", this, SLOT(about()), Key_F1);
help->insertItem( "About &TQt", this, SLOT(aboutTQt()));
-#ifndef QT_NO_STYLE_WINDOWS
+#ifndef TQT_NO_STYLE_WINDOWS
tqApp->setStyle( new NorwegianWoodStyle );
#endif
}
@@ -102,11 +102,11 @@ Themes::Themes( TQWidget *parent, const char *name, WFlags f )
void Themes::makeStyle(const TQString &style)
{
if(style == "Norwegian Wood") {
-#ifndef QT_NO_STYLE_WINDOWS
+#ifndef TQT_NO_STYLE_WINDOWS
tqApp->setStyle( new NorwegianWoodStyle );
#endif
} else if( style == "Metal" ) {
-#ifndef QT_NO_STYLE_WINDOWS
+#ifndef TQT_NO_STYLE_WINDOWS
tqApp->setStyle( new MetalStyle );
#endif
} else {
diff --git a/examples/themes/wood.cpp b/examples/themes/wood.cpp
index dd1002bb..b9cf6cda 100644
--- a/examples/themes/wood.cpp
+++ b/examples/themes/wood.cpp
@@ -9,7 +9,7 @@
#include "wood.h"
-#ifndef QT_NO_STYLE_WINDOWS
+#ifndef TQT_NO_STYLE_WINDOWS
#include "ntqapplication.h"
#include "ntqcombobox.h"
diff --git a/examples/themes/wood.h b/examples/themes/wood.h
index 3c234370..75778f55 100644
--- a/examples/themes/wood.h
+++ b/examples/themes/wood.h
@@ -17,7 +17,7 @@
#include <ntqpalette.h>
-#ifndef QT_NO_STYLE_WINDOWS
+#ifndef TQT_NO_STYLE_WINDOWS
#include <ntqwindowsstyle.h>