summaryrefslogtreecommitdiffstats
path: root/examples/themes/themes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/themes/themes.cpp')
-rw-r--r--examples/themes/themes.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/themes/themes.cpp b/examples/themes/themes.cpp
index 1f5417625..88111945f 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 {