diff options
Diffstat (limited to 'doc/html/themes-example.html')
-rw-r--r-- | doc/html/themes-example.html | 24 |
1 files changed, 12 insertions, 12 deletions
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: } <a name="x318"></a> ag-><a href="qactiongroup.html#addTo">addTo</a>(style); style-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - style-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Quit", qApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL | Key_Q ); + style-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Quit", tqApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL | Key_Q ); <a href="ntqpopupmenu.html">TQPopupMenu</a> * help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertSeparator(); @@ -2262,7 +2262,7 @@ private: help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "About &TQt", this, SLOT(aboutTQt())); #ifndef QT_NO_STYLE_WINDOWS -<a name="x325"></a> qApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle ); +<a name="x325"></a> tqApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle ); #endif } @@ -2270,20 +2270,20 @@ void <a name="f232"></a>Themes::makeStyle(const <a href="ntqstring.html">TQStrin { if(style == "Norwegian Wood") { #ifndef QT_NO_STYLE_WINDOWS - qApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle ); + tqApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle ); #endif } else if( style == "Metal" ) { #ifndef QT_NO_STYLE_WINDOWS - qApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new MetalStyle ); + tqApp-><a href="ntqapplication.html#setStyle">setStyle</a>( new MetalStyle ); #endif } else { - qApp-><a href="ntqapplication.html#setStyle">setStyle</a>(style); + tqApp-><a href="ntqapplication.html#setStyle">setStyle</a>(style); if(style == "Platinum") { <a href="ntqpalette.html">TQPalette</a> p( TQColor( 239, 239, 239 ) ); -<a name="x324"></a> qApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); -<a name="x323"></a> qApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); +<a name="x324"></a> tqApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); +<a name="x323"></a> tqApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); } else if(style == "Windows") { - qApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); + tqApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); } else if(style == "CDE") { <a href="ntqpalette.html">TQPalette</a> p( TQColor( 75, 123, 130 ) ); <a name="x332"></a> p.<a href="ntqpalette.html#setColor">setColor</a>( TQPalette::Active, TQColorGroup::Base, TQColor( 55, 77, 78 ) ); @@ -2304,12 +2304,12 @@ void <a name="f232"></a>Themes::makeStyle(const <a href="ntqstring.html">TQStrin p.<a href="ntqpalette.html#setColor">setColor</a>( TQPalette::Disabled, TQColorGroup::Foreground, TQt::lightGray ); p.<a href="ntqpalette.html#setColor">setColor</a>( TQPalette::Disabled, TQColorGroup::Text, TQt::lightGray ); p.<a href="ntqpalette.html#setColor">setColor</a>( TQPalette::Disabled, TQColorGroup::ButtonText, TQt::lightGray ); - qApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); - qApp-><a href="ntqapplication.html#setFont">setFont</a>( TQFont( "times", appFont.pointSize() ), TRUE ); + tqApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); + tqApp-><a href="ntqapplication.html#setFont">setFont</a>( TQFont( "times", appFont.pointSize() ), TRUE ); } else if(style == "Motif" || style == "MotifPlus") { <a href="ntqpalette.html">TQPalette</a> p( TQColor( 192, 192, 192 ) ); - qApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); - qApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); + tqApp-><a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE ); + tqApp-><a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE ); } } } |