diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /examples/themes | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-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.cpp | 2 | ||||
-rw-r--r-- | examples/themes/metal.h | 2 | ||||
-rw-r--r-- | examples/themes/themes.cpp | 8 | ||||
-rw-r--r-- | examples/themes/wood.cpp | 2 | ||||
-rw-r--r-- | examples/themes/wood.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/examples/themes/metal.cpp b/examples/themes/metal.cpp index c3815c625..ee3b57d12 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 6ff38d300..7838bd1c5 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 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 { diff --git a/examples/themes/wood.cpp b/examples/themes/wood.cpp index dd1002bbf..b9cf6cda3 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 3c2343704..75778f55c 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> |