summaryrefslogtreecommitdiffstats
path: root/examples/themes/themes.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
committerMichele Calgaro <[email protected]>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /examples/themes/themes.cpp
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <[email protected]>
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 {