summaryrefslogtreecommitdiffstats
path: root/doc/html/themes-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-06-02 23:07:22 +0900
committerMichele Calgaro <[email protected]>2024-06-02 23:22:42 +0900
commit8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch)
treeb95884617b9a37accc843676d5d42be4116a3f54 /doc/html/themes-example.html
parent68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff)
downloadtqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz
tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/themes-example.html')
-rw-r--r--doc/html/themes-example.html122
1 files changed, 61 insertions, 61 deletions
diff --git a/doc/html/themes-example.html b/doc/html/themes-example.html
index 0c4d0c11e..1ab5e80a6 100644
--- a/doc/html/themes-example.html
+++ b/doc/html/themes-example.html
@@ -69,8 +69,8 @@ class NorwegianWoodStyle : public <a href="ntqwindowsstyle.html">TQWindowsStyle<
public:
NorwegianWoodStyle();
void polish( <a href="ntqapplication.html">TQApplication</a>*);
- void polish( <a href="ntqwidget.html">TQWidget</a>* );
- void unPolish( <a href="ntqwidget.html">TQWidget</a>* );
+ void polish( <a href="tqwidget.html">TQWidget</a>* );
+ void unPolish( <a href="tqwidget.html">TQWidget</a>* );
void unPolish( <a href="ntqapplication.html">TQApplication</a>*);
void drawPrimitive( PrimitiveElement pe,
@@ -82,7 +82,7 @@ public:
void drawControl( ControlElement element,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp;cg,
SFlags how = Style_Default,
@@ -90,13 +90,13 @@ public:
void drawControlMask( ControlElement element,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qstyleoption.html">TQStyleOption</a>&amp; = TQStyleOption::Default ) const;
void drawComplexControl( ComplexControl cc,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp;cg,
SFlags how = Style_Default,
@@ -106,16 +106,16 @@ public:
void drawComplexControlMask( ComplexControl control,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qstyleoption.html">TQStyleOption</a>&amp; = TQStyleOption::Default ) const;
<a href="ntqrect.html">TQRect</a> querySubControlMetrics( ComplexControl control,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
SubControl sc,
const <a href="qstyleoption.html">TQStyleOption</a>&amp; = TQStyleOption::Default ) const;
- <a href="ntqrect.html">TQRect</a> subRect( SubRect r, const <a href="ntqwidget.html">TQWidget</a> *widget ) const;
+ <a href="ntqrect.html">TQRect</a> subRect( SubRect r, const <a href="tqwidget.html">TQWidget</a> *widget ) const;
private:
@@ -154,11 +154,11 @@ private:
#include "ntqdrawutil.h" // for now
#include "ntqpixmap.h" // for now
#include "ntqpalette.h" // for now
-#include "ntqwidget.h"
+#include "tqwidget.h"
#include "ntqlabel.h"
#include "ntqimage.h"
#include "ntqpushbutton.h"
-#include "ntqwidget.h"
+#include "tqwidget.h"
#include "ntqrangecontrol.h"
#include "ntqscrollbar.h"
#include &lt;limits.h&gt;
@@ -1018,39 +1018,39 @@ enum { PointUp, PointDown, PointLeft, PointRight };
/*!
Reimplementation from TQStyle
*/
-void NorwegianWoodStyle::<a href="ntqstyle.html#polish">polish</a>( <a href="ntqwidget.html">TQWidget</a>* w)
+void NorwegianWoodStyle::<a href="ntqstyle.html#polish">polish</a>( <a href="tqwidget.html">TQWidget</a>* w)
{
// the polish function sets some widgets to transparent mode and
// some to translate background mode in order to get the full
// benefit from the nice pixmaps in the color group.
-<a name="x253"></a> if ( !w-&gt;<a href="ntqwidget.html#isTopLevel">isTopLevel</a>() ) {
+<a name="x253"></a> if ( !w-&gt;<a href="tqwidget.html#isTopLevel">isTopLevel</a>() ) {
<a name="x211"></a> if ( w-&gt;<a href="tqobject.html#inherits">inherits</a>("TQPushButton")
|| w-&gt;<a href="tqobject.html#inherits">inherits</a>("TQToolButton")
|| w-&gt;<a href="tqobject.html#inherits">inherits</a>("TQComboBox") ) {
-<a name="x255"></a> w-&gt;<a href="ntqwidget.html#setAutoMask">setAutoMask</a>( TRUE );
+<a name="x255"></a> w-&gt;<a href="tqwidget.html#setAutoMask">setAutoMask</a>( TRUE );
return;
}
-<a name="x250"></a> if ( w-&gt;<a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() )
-<a name="x256"></a> w-&gt;<a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WindowOrigin );
+<a name="x250"></a> if ( w-&gt;<a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() )
+<a name="x256"></a> w-&gt;<a href="tqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WindowOrigin );
}
}
-void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="ntqwidget.html">TQWidget</a>* w)
+void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="tqwidget.html">TQWidget</a>* w)
{
// the polish function sets some widgets to transparent mode and
// some to translate background mode in order to get the full
// benefit from the nice pixmaps in the color group.
- if ( !w-&gt;<a href="ntqwidget.html#isTopLevel">isTopLevel</a>() ) {
+ if ( !w-&gt;<a href="tqwidget.html#isTopLevel">isTopLevel</a>() ) {
if ( w-&gt;<a href="tqobject.html#inherits">inherits</a>("TQPushButton")
|| w-&gt;<a href="tqobject.html#inherits">inherits</a>("TQToolButton")
|| w-&gt;<a href="tqobject.html#inherits">inherits</a>("TQComboBox") ) {
- w-&gt;<a href="ntqwidget.html#setAutoMask">setAutoMask</a>( FALSE );
+ w-&gt;<a href="tqwidget.html#setAutoMask">setAutoMask</a>( FALSE );
return;
}
- if ( w-&gt;<a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() )
- w-&gt;<a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WidgetOrigin );
+ if ( w-&gt;<a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() )
+ w-&gt;<a href="tqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WidgetOrigin );
}
}
@@ -1125,7 +1125,7 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
<a name="x259"></a>void NorwegianWoodStyle::<a href="ntqstyle.html#drawControl">drawControl</a>( ControlElement element,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp;cg,
SFlags how, const <a href="qstyleoption.html">TQStyleOption</a>&amp; opt ) const
@@ -1187,7 +1187,7 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
// reset the flags
flags = Style_Default;
-<a name="x252"></a> if ( btn-&gt;<a href="ntqwidget.html#isEnabled">isEnabled</a>() )
+<a name="x252"></a> if ( btn-&gt;<a href="tqwidget.html#isEnabled">isEnabled</a>() )
flags |= Style_Enabled;
<a href="ntqstyle.html#drawPrimitive">drawPrimitive</a>( PE_ArrowDown, p,
TQRect( x2 - dx, dx, y1, y2 - y1),
@@ -1220,7 +1220,7 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
h -= 4;
<a href="ntqstyle.html#drawItem">drawItem</a>( p, TQRect( x, y, w, h ),
AlignCenter | ShowPrefix,
- cg, btn-&gt;<a href="ntqwidget.html#isEnabled">isEnabled</a>(),
+ 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="qcolorgroup.html#brightText">brightText</a>()
<a name="x197"></a> : &amp;cg.<a href="qcolorgroup.html#buttonText">buttonText</a>() );
@@ -1236,7 +1236,7 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
<a name="x205"></a>void NorwegianWoodStyle::<a href="ntqstyle.html#drawControlMask">drawControlMask</a>( ControlElement element,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qstyleoption.html">TQStyleOption</a>&amp; opt ) const
{
@@ -1257,7 +1257,7 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
<a name="x258"></a>void NorwegianWoodStyle::<a href="ntqstyle.html#drawComplexControl">drawComplexControl</a>( ComplexControl cc,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp;cg,
SFlags how,
@@ -1310,7 +1310,7 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
<a name="x204"></a>void NorwegianWoodStyle::<a href="ntqstyle.html#drawComplexControlMask">drawComplexControlMask</a>( ComplexControl control,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qstyleoption.html">TQStyleOption</a>&amp; opt ) const
{
@@ -1330,7 +1330,7 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
}
<a name="x206"></a>TQRect NorwegianWoodStyle::<a href="ntqstyle.html#querySubControlMetrics">querySubControlMetrics</a>( ComplexControl control,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
SubControl sc,
const <a href="qstyleoption.html">TQStyleOption</a>&amp; opt ) const
{
@@ -1360,15 +1360,15 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
sb = (const <a href="ntqscrollbar.html">TQScrollBar</a>*)widget;
bool horz = sb-&gt;<a href="ntqscrollbar.html#orientation">orientation</a>() == TQScrollBar::Horizontal;
int b = 2;
-<a name="x257"></a> int w = horz ? sb-&gt;<a href="ntqwidget.html#height">height</a>() : sb-&gt;<a href="ntqwidget.html#width">width</a>();
+<a name="x257"></a> int w = horz ? sb-&gt;<a href="tqwidget.html#height">height</a>() : sb-&gt;<a href="tqwidget.html#width">width</a>();
switch ( sc ) {
case SC_ScrollBarAddLine:
rect.<a href="ntqrect.html#setRect">setRect</a>( b, b, w - 2 * b, w - 2 * b );
if ( horz )
-<a name="x239"></a> rect.<a href="ntqrect.html#moveBy">moveBy</a>( sb-&gt;<a href="ntqwidget.html#width">width</a>() - w, 0 );
+<a name="x239"></a> rect.<a href="ntqrect.html#moveBy">moveBy</a>( sb-&gt;<a href="tqwidget.html#width">width</a>() - w, 0 );
else
- rect.<a href="ntqrect.html#moveBy">moveBy</a>( 0, sb-&gt;<a href="ntqwidget.html#height">height</a>() - w );
+ rect.<a href="ntqrect.html#moveBy">moveBy</a>( 0, sb-&gt;<a href="tqwidget.html#height">height</a>() - w );
break;
case SC_ScrollBarSubLine:
rect.<a href="ntqrect.html#setRect">setRect</a>( b, b, w - 2 * b, w - 2 * b );
@@ -1388,7 +1388,7 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
return rect;
}
-<a name="x262"></a>TQRect NorwegianWoodStyle::<a href="ntqstyle.html#subRect">subRect</a>( SubRect sr, const <a href="ntqwidget.html">TQWidget</a> * widget ) const
+<a name="x262"></a>TQRect NorwegianWoodStyle::<a href="ntqstyle.html#subRect">subRect</a>( SubRect sr, const <a href="tqwidget.html">TQWidget</a> * widget ) const
{
<a href="ntqrect.html">TQRect</a> r;
switch ( sr ) {
@@ -1396,7 +1396,7 @@ void NorwegianWoodStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href=
{
const <a href="ntqpushbutton.html">TQPushButton</a> *btn;
btn = (const <a href="ntqpushbutton.html">TQPushButton</a>*)widget;
-<a name="x254"></a> r = btn-&gt;<a href="ntqwidget.html#rect">rect</a>();
+<a name="x254"></a> r = btn-&gt;<a href="tqwidget.html#rect">rect</a>();
int d = TQMIN( r.<a href="ntqrect.html#width">width</a>(), r.<a href="ntqrect.html#height">height</a>() ) / 2;
int b = buttonthickness( d );
@@ -1584,8 +1584,8 @@ public:
MetalStyle();
void polish( <a href="ntqapplication.html">TQApplication</a>*);
void unPolish( <a href="ntqapplication.html">TQApplication</a>*);
- void polish( <a href="ntqwidget.html">TQWidget</a>* );
- void unPolish( <a href="ntqwidget.html">TQWidget</a>* );
+ void polish( <a href="tqwidget.html">TQWidget</a>* );
+ void unPolish( <a href="tqwidget.html">TQWidget</a>* );
void drawPrimitive( PrimitiveElement pe,
<a href="ntqpainter.html">TQPainter</a> *p,
@@ -1596,7 +1596,7 @@ public:
void drawControl( ControlElement element,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp;cg,
SFlags how = Style_Default,
@@ -1604,14 +1604,14 @@ public:
void drawComplexControl( ComplexControl cc,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp;cg,
SFlags how = Style_Default,
SCFlags sub = SC_All,
SCFlags subActive = SC_None,
const <a href="qstyleoption.html">TQStyleOption</a>&amp; = TQStyleOption::Default ) const;
- int pixelMetric( PixelMetric, const <a href="ntqwidget.html">TQWidget</a> * ) const;
+ int pixelMetric( PixelMetric, const <a href="tqwidget.html">TQWidget</a> * ) const;
private:
@@ -1650,11 +1650,11 @@ private:
#include "ntqdrawutil.h" // for now
#include "ntqpixmap.h" // for now
#include "ntqpalette.h" // for now
-#include "ntqwidget.h"
+#include "tqwidget.h"
#include "ntqlabel.h"
#include "ntqimage.h"
#include "ntqpushbutton.h"
-#include "ntqwidget.h"
+#include "tqwidget.h"
#include "ntqrangecontrol.h"
#include "ntqscrollbar.h"
#include "ntqslider.h"
@@ -1743,7 +1743,7 @@ private:
/*!
Reimplementation from TQStyle
*/
-void MetalStyle::<a href="ntqstyle.html#polish">polish</a>( <a href="ntqwidget.html">TQWidget</a>* w)
+void MetalStyle::<a href="ntqstyle.html#polish">polish</a>( <a href="tqwidget.html">TQWidget</a>* w)
{
// the polish function sets some widgets to transparent mode and
@@ -1751,17 +1751,17 @@ void MetalStyle::<a href="ntqstyle.html#polish">polish</a>( <a href="ntqwidget.h
// benefit from the nice pixmaps in the color group.
<a name="x282"></a> if (w-&gt;<a href="tqobject.html#inherits">inherits</a>("TQPushButton")){
-<a name="x308"></a> w-&gt;<a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>( TQWidget::NoBackground );
+<a name="x308"></a> w-&gt;<a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>( TQWidget::NoBackground );
return;
}
-<a name="x307"></a> if ( !w-&gt;<a href="ntqwidget.html#isTopLevel">isTopLevel</a>() ) {
-<a name="x305"></a> if ( w-&gt;<a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() )
-<a name="x309"></a> w-&gt;<a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WindowOrigin );
+<a name="x307"></a> if ( !w-&gt;<a href="tqwidget.html#isTopLevel">isTopLevel</a>() ) {
+<a name="x305"></a> if ( w-&gt;<a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() )
+<a name="x309"></a> w-&gt;<a href="tqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WindowOrigin );
}
}
-void MetalStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="ntqwidget.html">TQWidget</a>* w)
+void MetalStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="tqwidget.html">TQWidget</a>* w)
{
// the polish function sets some widgets to transparent mode and
@@ -1769,12 +1769,12 @@ void MetalStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="ntqwidg
// benefit from the nice pixmaps in the color group.
if (w-&gt;<a href="tqobject.html#inherits">inherits</a>("TQPushButton")){
- w-&gt;<a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>( TQWidget::PaletteButton );
+ w-&gt;<a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>( TQWidget::PaletteButton );
return;
}
- if ( !w-&gt;<a href="ntqwidget.html#isTopLevel">isTopLevel</a>() ) {
- if ( w-&gt;<a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() )
- w-&gt;<a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WidgetOrigin );
+ if ( !w-&gt;<a href="tqwidget.html#isTopLevel">isTopLevel</a>() ) {
+ if ( w-&gt;<a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() )
+ w-&gt;<a href="tqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WidgetOrigin );
}
}
@@ -1825,7 +1825,7 @@ void MetalStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="ntqwidg
<a name="x311"></a>void MetalStyle::<a href="ntqstyle.html#drawControl">drawControl</a>( ControlElement element,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp;cg,
SFlags how,
@@ -1877,7 +1877,7 @@ void MetalStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="ntqwidg
<a name="x296"></a> if ( btn-&gt;<a href="ntqpushbutton.html#isMenuButton">isMenuButton</a>() ) {
flags = Style_Default;
-<a name="x306"></a> if ( btn-&gt;<a href="ntqwidget.html#isEnabled">isEnabled</a>() )
+<a name="x306"></a> if ( btn-&gt;<a href="tqwidget.html#isEnabled">isEnabled</a>() )
flags |= Style_Enabled;
int dx = ( y1 - y2 - 4 ) / 3;
@@ -1914,7 +1914,7 @@ void MetalStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="ntqwidg
h -= 4;
<a href="ntqstyle.html#drawItem">drawItem</a>( p, TQRect( x, y, w, h ),
AlignCenter|ShowPrefix,
- cg, btn-&gt;<a href="ntqwidget.html#isEnabled">isEnabled</a>(),
+ 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="qcolorgroup.html#brightText">brightText</a>() : &amp;cg.<a href="qcolorgroup.html#buttonText">buttonText</a>() );
if ( dx || dy )
@@ -1928,7 +1928,7 @@ void MetalStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="ntqwidg
}
<a name="x310"></a>void MetalStyle::<a href="ntqstyle.html#drawComplexControl">drawComplexControl</a>( ComplexControl cc,
<a href="ntqpainter.html">TQPainter</a> *p,
- const <a href="ntqwidget.html">TQWidget</a> *widget,
+ const <a href="tqwidget.html">TQWidget</a> *widget,
const <a href="ntqrect.html">TQRect</a> &amp;r,
const <a href="qcolorgroup.html">TQColorGroup</a> &amp;cg,
SFlags how,
@@ -1957,7 +1957,7 @@ void MetalStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="ntqwidg
const <a href="ntqcombobox.html">TQComboBox</a> *cmb = ( const <a href="ntqcombobox.html">TQComboBox</a>* ) widget;
<a href="ntqpainter.html#qDrawWinPanel">qDrawWinPanel</a>( p, r.<a href="ntqrect.html#x">x</a>(), r.<a href="ntqrect.html#y">y</a>(), r.<a href="ntqrect.html#width">width</a>(), r.<a href="ntqrect.html#height">height</a>(), cg, TRUE,
- cmb-&gt;<a href="ntqwidget.html#isEnabled">isEnabled</a>() ? &amp;cg.<a href="qcolorgroup.html#brush">brush</a>( TQColorGroup::Base ) :
+ cmb-&gt;<a href="tqwidget.html#isEnabled">isEnabled</a>() ? &amp;cg.<a href="qcolorgroup.html#brush">brush</a>( TQColorGroup::Base ) :
&amp;cg.<a href="qcolorgroup.html#brush">brush</a>( TQColorGroup::Background ) );
drawMetalButton( p, r.<a href="ntqrect.html#x">x</a>() + r.<a href="ntqrect.html#width">width</a>() - 2 - 16, r.<a href="ntqrect.html#y">y</a>() + 2, 16, r.<a href="ntqrect.html#height">height</a>() - 4,
how &amp; Style_Sunken, TRUE );
@@ -1965,7 +1965,7 @@ void MetalStyle::<a href="ntqstyle.html#unPolish">unPolish</a>( <a href="ntqwidg
TQRect( r.<a href="ntqrect.html#x">x</a>() + r.<a href="ntqrect.html#width">width</a>() - 2 - 16 + 2,
r.<a href="ntqrect.html#y">y</a>() + 2 + 2, 16 - 4, r.<a href="ntqrect.html#height">height</a>() - 4 -4 ),
cg,
- cmb-&gt;<a href="ntqwidget.html#isEnabled">isEnabled</a>() ? Style_Enabled : Style_Default,
+ cmb-&gt;<a href="tqwidget.html#isEnabled">isEnabled</a>() ? Style_Enabled : Style_Default,
opt );
break;
}
@@ -2106,7 +2106,7 @@ void <a name="f230"></a>MetalStyle::drawMetalGradient( <a href="ntqpainter.html"
-<a name="x313"></a>int MetalStyle::<a href="ntqstyle.html#pixelMetric">pixelMetric</a>( PixelMetric metric, const <a href="ntqwidget.html">TQWidget</a> *w ) const
+<a name="x313"></a>int MetalStyle::<a href="ntqstyle.html#pixelMetric">pixelMetric</a>( PixelMetric metric, const <a href="tqwidget.html">TQWidget</a> *w ) const
{
switch ( metric ) {
case PM_MenuBarFrameWidth:
@@ -2144,7 +2144,7 @@ class Themes: public <a href="ntqmainwindow.html">TQMainWindow</a>
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
- Themes( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0, WFlags f = WType_TopLevel );
+ 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;
@@ -2197,7 +2197,7 @@ private:
#include &lt;<a href="qsignalmapper-h.html">ntqsignalmapper.h</a>&gt;
#include &lt;<a href="qdict-h.html">ntqdict.h</a>&gt;
-<a name="f231"></a>Themes::Themes( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name, WFlags f )
+<a name="f231"></a>Themes::Themes( <a href="tqwidget.html">TQWidget</a> *parent, const char *name, WFlags f )
: <a href="ntqmainwindow.html">TQMainWindow</a>( parent, name, f )
{
<a name="x321"></a> appFont = TQApplication::<a href="ntqapplication.html#font">font</a>();
@@ -2355,10 +2355,10 @@ int main( int argc, char ** argv )
<a href="ntqapplication.html">TQApplication</a> a( argc, argv );
Themes themes;
- themes.<a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Themes (TQStyle)" );
- themes.<a href="ntqwidget.html#resize">resize</a>( 640, 400 );
+ themes.<a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Themes (TQStyle)" );
+ themes.<a href="tqwidget.html#resize">resize</a>( 640, 400 );
a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;themes );
-<a name="x350"></a> themes.<a href="ntqwidget.html#show">show</a>();
+<a name="x350"></a> themes.<a href="tqwidget.html#show">show</a>();
return a.<a href="ntqapplication.html#exec">exec</a>();
}