summaryrefslogtreecommitdiffstats
path: root/doc/html/themes-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/themes-example.html')
-rw-r--r--doc/html/themes-example.html24
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-&gt;<a href="qactiongroup.html#addTo">addTo</a>(style);
style-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
- style-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("&amp;Quit", qApp, SLOT( <a href="ntqapplication.html#quit">quit</a>() ), CTRL | Key_Q );
+ style-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>("&amp;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>()-&gt;insertSeparator();
@@ -2262,7 +2262,7 @@ private:
help-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "About &amp;TQt", this, SLOT(aboutTQt()));
#ifndef QT_NO_STYLE_WINDOWS
-<a name="x325"></a> qApp-&gt;<a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle );
+<a name="x325"></a> tqApp-&gt;<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-&gt;<a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle );
+ tqApp-&gt;<a href="ntqapplication.html#setStyle">setStyle</a>( new NorwegianWoodStyle );
#endif
} else if( style == "Metal" ) {
#ifndef QT_NO_STYLE_WINDOWS
- qApp-&gt;<a href="ntqapplication.html#setStyle">setStyle</a>( new MetalStyle );
+ tqApp-&gt;<a href="ntqapplication.html#setStyle">setStyle</a>( new MetalStyle );
#endif
} else {
- qApp-&gt;<a href="ntqapplication.html#setStyle">setStyle</a>(style);
+ tqApp-&gt;<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-&gt;<a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE );
-<a name="x323"></a> qApp-&gt;<a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE );
+<a name="x324"></a> tqApp-&gt;<a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE );
+<a name="x323"></a> tqApp-&gt;<a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE );
} else if(style == "Windows") {
- qApp-&gt;<a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE );
+ tqApp-&gt;<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-&gt;<a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE );
- qApp-&gt;<a href="ntqapplication.html#setFont">setFont</a>( TQFont( "times", appFont.pointSize() ), TRUE );
+ tqApp-&gt;<a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE );
+ tqApp-&gt;<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-&gt;<a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE );
- qApp-&gt;<a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE );
+ tqApp-&gt;<a href="ntqapplication.html#setPalette">setPalette</a>( p, TRUE );
+ tqApp-&gt;<a href="ntqapplication.html#setFont">setFont</a>( appFont, TRUE );
}
}
}