From 520c05ef06ce203ad32470730f68402bc7719157 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 02:13:42 -0600 Subject: Automated update from qt3 --- doc/html/themes-example.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'doc/html/themes-example.html') diff --git a/doc/html/themes-example.html b/doc/html/themes-example.html index 820ea49ac..93ee95927 100644 --- a/doc/html/themes-example.html +++ b/doc/html/themes-example.html @@ -2253,7 +2253,7 @@ private: } ag->addTo(style); style->insertSeparator(); - style->insertItem("&Quit", qApp, SLOT( quit() ), CTRL | Key_Q ); + style->insertItem("&Quit", tqApp, SLOT( quit() ), CTRL | Key_Q ); TQPopupMenu * help = new TQPopupMenu( this ); menuBar()->insertSeparator(); @@ -2262,7 +2262,7 @@ private: help->insertItem( "About &TQt", this, SLOT(aboutTQt())); #ifndef QT_NO_STYLE_WINDOWS - qApp->setStyle( new NorwegianWoodStyle ); + tqApp->setStyle( new NorwegianWoodStyle ); #endif } @@ -2270,20 +2270,20 @@ void Themes::makeStyle(const TQStrin { if(style == "Norwegian Wood") { #ifndef QT_NO_STYLE_WINDOWS - qApp->setStyle( new NorwegianWoodStyle ); + tqApp->setStyle( new NorwegianWoodStyle ); #endif } else if( style == "Metal" ) { #ifndef QT_NO_STYLE_WINDOWS - qApp->setStyle( new MetalStyle ); + tqApp->setStyle( new MetalStyle ); #endif } else { - qApp->setStyle(style); + tqApp->setStyle(style); if(style == "Platinum") { TQPalette p( TQColor( 239, 239, 239 ) ); - qApp->setPalette( p, TRUE ); - qApp->setFont( appFont, TRUE ); + tqApp->setPalette( p, TRUE ); + tqApp->setFont( appFont, TRUE ); } else if(style == "Windows") { - qApp->setFont( appFont, TRUE ); + tqApp->setFont( appFont, TRUE ); } else if(style == "CDE") { TQPalette p( TQColor( 75, 123, 130 ) ); p.setColor( TQPalette::Active, TQColorGroup::Base, TQColor( 55, 77, 78 ) ); @@ -2304,12 +2304,12 @@ void Themes::makeStyle(const TQStrin p.setColor( TQPalette::Disabled, TQColorGroup::Foreground, TQt::lightGray ); p.setColor( TQPalette::Disabled, TQColorGroup::Text, TQt::lightGray ); p.setColor( TQPalette::Disabled, TQColorGroup::ButtonText, TQt::lightGray ); - qApp->setPalette( p, TRUE ); - qApp->setFont( TQFont( "times", appFont.pointSize() ), TRUE ); + tqApp->setPalette( p, TRUE ); + tqApp->setFont( TQFont( "times", appFont.pointSize() ), TRUE ); } else if(style == "Motif" || style == "MotifPlus") { TQPalette p( TQColor( 192, 192, 192 ) ); - qApp->setPalette( p, TRUE ); - qApp->setFont( appFont, TRUE ); + tqApp->setPalette( p, TRUE ); + tqApp->setFont( appFont, TRUE ); } } } -- cgit v1.2.1