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.html50
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/html/themes-example.html b/doc/html/themes-example.html
index b74b3029c..85b5d5bc2 100644
--- a/doc/html/themes-example.html
+++ b/doc/html/themes-example.html
@@ -1137,11 +1137,11 @@ void NorwegianWoodStyle::<a href="tqstyle.html#unPolish">unPolish</a>( <a href="
btn = ( const <a href="tqpushbutton.html">TQPushButton</a> * )widget;
<a href="tqcolorgroup.html">TQColorGroup</a> myCg( cg );
SFlags flags = Style_Default;
-<a name="x189"></a> if ( btn-&gt;<a href="ntqbutton.html#isOn">isOn</a>() )
+<a name="x189"></a> if ( btn-&gt;<a href="tqbutton.html#isOn">isOn</a>() )
flags |= Style_On;
-<a name="x188"></a> if ( btn-&gt;<a href="ntqbutton.html#isDown">isDown</a>() )
+<a name="x188"></a> if ( btn-&gt;<a href="tqbutton.html#isDown">isDown</a>() )
flags |= Style_Down;
- if ( btn-&gt;<a href="ntqbutton.html#isOn">isOn</a>() || btn-&gt;<a href="ntqbutton.html#isDown">isDown</a>() )
+ if ( btn-&gt;<a href="tqbutton.html#isOn">isOn</a>() || btn-&gt;<a href="tqbutton.html#isDown">isDown</a>() )
flags |= Style_Sunken;
<a name="x233"></a> if ( btn-&gt;<a href="tqpushbutton.html#isDefault">isDefault</a>() )
flags |= Style_Default;
@@ -1155,9 +1155,9 @@ void NorwegianWoodStyle::<a href="tqstyle.html#unPolish">unPolish</a>( <a href="
<a name="x219"></a><a name="x196"></a> p-&gt;<a href="tqpainter.html#setBrush">setBrush</a>( TQBrush( cg.<a href="tqcolorgroup.html#button">button</a>(), NoBrush ) );
<a href="tqbrush.html">TQBrush</a> fill;
- if ( btn-&gt;<a href="ntqbutton.html#isDown">isDown</a>() )
+ if ( btn-&gt;<a href="tqbutton.html#isDown">isDown</a>() )
fill = cg.<a href="tqcolorgroup.html#brush">brush</a>( TQColorGroup::Mid );
- else if ( btn-&gt;<a href="ntqbutton.html#isOn">isOn</a>() )
+ else if ( btn-&gt;<a href="tqbutton.html#isOn">isOn</a>() )
<a name="x201"></a> fill = TQBrush( cg.<a href="tqcolorgroup.html#mid">mid</a>(), Dense4Pattern );
else
fill = cg.<a href="tqcolorgroup.html#brush">brush</a>( TQColorGroup::Button );
@@ -1221,8 +1221,8 @@ void NorwegianWoodStyle::<a href="tqstyle.html#unPolish">unPolish</a>( <a href="
<a href="tqstyle.html#drawItem">drawItem</a>( p, TQRect( x, y, w, h ),
AlignCenter | ShowPrefix,
cg, btn-&gt;<a href="tqwidget.html#isEnabled">isEnabled</a>(),
-<a name="x191"></a><a name="x190"></a> btn-&gt;<a href="ntqbutton.html#pixmap">pixmap</a>(), btn-&gt;<a href="ntqbutton.html#text">text</a>(), -1,
-<a name="x194"></a> (btn-&gt;<a href="ntqbutton.html#isDown">isDown</a>() || btn-&gt;<a href="ntqbutton.html#isOn">isOn</a>()) ? &amp;cg.<a href="tqcolorgroup.html#brightText">brightText</a>()
+<a name="x191"></a><a name="x190"></a> btn-&gt;<a href="tqbutton.html#pixmap">pixmap</a>(), btn-&gt;<a href="tqbutton.html#text">text</a>(), -1,
+<a name="x194"></a> (btn-&gt;<a href="tqbutton.html#isDown">isDown</a>() || btn-&gt;<a href="tqbutton.html#isOn">isOn</a>()) ? &amp;cg.<a href="tqcolorgroup.html#brightText">brightText</a>()
<a name="x197"></a> : &amp;cg.<a href="tqcolorgroup.html#buttonText">buttonText</a>() );
if ( dx || dy )
p-&gt;<a href="tqpainter.html#translate">translate</a>( -dx, -dy );
@@ -1845,9 +1845,9 @@ void MetalStyle::<a href="tqstyle.html#unPolish">unPolish</a>( <a href="tqwidget
<a href="tqbrush.html">TQBrush</a> fill;
-<a name="x268"></a> if ( btn-&gt;<a href="ntqbutton.html#isDown">isDown</a>() )
+<a name="x268"></a> if ( btn-&gt;<a href="tqbutton.html#isDown">isDown</a>() )
<a name="x274"></a> fill = cg.<a href="tqcolorgroup.html#brush">brush</a>( TQColorGroup::Mid );
-<a name="x269"></a> else if ( btn-&gt;<a href="ntqbutton.html#isOn">isOn</a>() )
+<a name="x269"></a> else if ( btn-&gt;<a href="tqbutton.html#isOn">isOn</a>() )
<a name="x278"></a> fill = TQBrush( cg.<a href="tqcolorgroup.html#mid">mid</a>(), Dense4Pattern );
else
fill = cg.<a href="tqcolorgroup.html#brush">brush</a>( TQColorGroup::Button );
@@ -1865,11 +1865,11 @@ void MetalStyle::<a href="tqstyle.html#unPolish">unPolish</a>( <a href="tqwidget
y2 -= 2;
}
SFlags flags = Style_Default;
- if ( btn-&gt;<a href="ntqbutton.html#isOn">isOn</a>() )
+ if ( btn-&gt;<a href="tqbutton.html#isOn">isOn</a>() )
flags |= Style_On;
- if ( btn-&gt;<a href="ntqbutton.html#isDown">isDown</a>() )
+ if ( btn-&gt;<a href="tqbutton.html#isDown">isDown</a>() )
flags |= Style_Down;
-<a name="x295"></a> if ( !btn-&gt;<a href="tqpushbutton.html#isFlat">isFlat</a>() &amp;&amp; !btn-&gt;<a href="ntqbutton.html#isDown">isDown</a>() )
+<a name="x295"></a> if ( !btn-&gt;<a href="tqpushbutton.html#isFlat">isFlat</a>() &amp;&amp; !btn-&gt;<a href="tqbutton.html#isDown">isDown</a>() )
flags |= Style_Raised;
<a href="tqstyle.html#drawPrimitive">drawPrimitive</a>( PE_ButtonCommand, p,
TQRect( x1, y1, x2 - x1 + 1, y2 - y1 + 1),
@@ -1902,7 +1902,7 @@ void MetalStyle::<a href="tqstyle.html#unPolish">unPolish</a>( <a href="tqwidget
int dy = 0;
if ( btn-&gt;<a href="tqpushbutton.html#isMenuButton">isMenuButton</a>() )
dx = ( y2 - y1 ) / 3;
- if ( btn-&gt;<a href="ntqbutton.html#isOn">isOn</a>() || btn-&gt;<a href="ntqbutton.html#isDown">isDown</a>() ) {
+ if ( btn-&gt;<a href="tqbutton.html#isOn">isOn</a>() || btn-&gt;<a href="tqbutton.html#isDown">isDown</a>() ) {
dx--;
dy--;
}
@@ -1915,8 +1915,8 @@ void MetalStyle::<a href="tqstyle.html#unPolish">unPolish</a>( <a href="tqwidget
<a href="tqstyle.html#drawItem">drawItem</a>( p, TQRect( x, y, w, h ),
AlignCenter|ShowPrefix,
cg, btn-&gt;<a href="tqwidget.html#isEnabled">isEnabled</a>(),
-<a name="x271"></a><a name="x270"></a> btn-&gt;<a href="ntqbutton.html#pixmap">pixmap</a>(), btn-&gt;<a href="ntqbutton.html#text">text</a>(), -1,
-<a name="x276"></a><a name="x273"></a> (btn-&gt;<a href="ntqbutton.html#isDown">isDown</a>() || btn-&gt;<a href="ntqbutton.html#isOn">isOn</a>())? &amp;cg.<a href="tqcolorgroup.html#brightText">brightText</a>() : &amp;cg.<a href="tqcolorgroup.html#buttonText">buttonText</a>() );
+<a name="x271"></a><a name="x270"></a> btn-&gt;<a href="tqbutton.html#pixmap">pixmap</a>(), btn-&gt;<a href="tqbutton.html#text">text</a>(), -1,
+<a name="x276"></a><a name="x273"></a> (btn-&gt;<a href="tqbutton.html#isDown">isDown</a>() || btn-&gt;<a href="tqbutton.html#isOn">isOn</a>())? &amp;cg.<a href="tqcolorgroup.html#brightText">brightText</a>() : &amp;cg.<a href="tqcolorgroup.html#buttonText">buttonText</a>() );
if ( dx || dy )
p-&gt;<a href="tqpainter.html#translate">translate</a>( -dx, -dy );
break;
@@ -2147,7 +2147,7 @@ public:
Themes( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = WType_TopLevel );
protected:
- <a href="ntqtabwidget.html">TQTabWidget</a> *tabwidget;
+ <a href="tqtabwidget.html">TQTabWidget</a> *tabwidget;
protected slots:
void makeStyle(const <a href="tqstring.html">TQString</a> &amp;);
@@ -2186,7 +2186,7 @@ private:
#include "../rangecontrols/rangecontrols.h"
#include "../richtext/richtext.h"
-#include &lt;<a href="qtabwidget-h.html">ntqtabwidget.h</a>&gt;
+#include &lt;<a href="tqtabwidget-h.html">tqtabwidget.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>&gt;
#include &lt;<a href="tqmenubar-h.html">tqmenubar.h</a>&gt;
@@ -2201,18 +2201,18 @@ private:
: <a href="tqmainwindow.html">TQMainWindow</a>( parent, name, f )
{
<a name="x321"></a> appFont = TQApplication::<a href="ntqapplication.html#font">font</a>();
- tabwidget = new <a href="ntqtabwidget.html">TQTabWidget</a>( this );
+ tabwidget = new <a href="tqtabwidget.html">TQTabWidget</a>( this );
-<a name="x343"></a> tabwidget-&gt;<a href="ntqtabwidget.html#addTab">addTab</a>( new ButtonsGroups( tabwidget ), "Buttons/Groups" );
+<a name="x343"></a> tabwidget-&gt;<a href="tqtabwidget.html#addTab">addTab</a>( new ButtonsGroups( tabwidget ), "Buttons/Groups" );
<a href="ntqhbox.html">TQHBox</a> *hbox = new <a href="ntqhbox.html">TQHBox</a>( tabwidget );
- hbox-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 5 );
+ hbox-&gt;<a href="tqframe.html#setMargin">setMargin</a>( 5 );
(void)new LineEdits( hbox );
(void)new ProgressBar( hbox );
- tabwidget-&gt;<a href="ntqtabwidget.html#addTab">addTab</a>( hbox, "Lineedits/Progressbar" );
- tabwidget-&gt;<a href="ntqtabwidget.html#addTab">addTab</a>( new ListBoxCombo( tabwidget ), "Listboxes/Comboboxes" );
- tabwidget-&gt;<a href="ntqtabwidget.html#addTab">addTab</a>( new CheckLists( tabwidget ), "Listviews" );
- tabwidget-&gt;<a href="ntqtabwidget.html#addTab">addTab</a>( new RangeControls( tabwidget ), "Rangecontrols" );
- tabwidget-&gt;<a href="ntqtabwidget.html#addTab">addTab</a>( new MyRichText( tabwidget ), "Fortune" );
+ tabwidget-&gt;<a href="tqtabwidget.html#addTab">addTab</a>( hbox, "Lineedits/Progressbar" );
+ tabwidget-&gt;<a href="tqtabwidget.html#addTab">addTab</a>( new ListBoxCombo( tabwidget ), "Listboxes/Comboboxes" );
+ tabwidget-&gt;<a href="tqtabwidget.html#addTab">addTab</a>( new CheckLists( tabwidget ), "Listviews" );
+ tabwidget-&gt;<a href="tqtabwidget.html#addTab">addTab</a>( new RangeControls( tabwidget ), "Rangecontrols" );
+ tabwidget-&gt;<a href="tqtabwidget.html#addTab">addTab</a>( new MyRichText( tabwidget ), "Fortune" );
<a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>( tabwidget );