diff options
author | Michele Calgaro <[email protected]> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/themes-example.html | |
parent | 68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff) | |
download | tqt3-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.html | 122 |
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> &r, const <a href="qcolorgroup.html">TQColorGroup</a> &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> &r, const <a href="qstyleoption.html">TQStyleOption</a>& = 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> &r, const <a href="qcolorgroup.html">TQColorGroup</a> &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> &r, const <a href="qstyleoption.html">TQStyleOption</a>& = 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>& = 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 <limits.h> @@ -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-><a href="ntqwidget.html#isTopLevel">isTopLevel</a>() ) { +<a name="x253"></a> if ( !w-><a href="tqwidget.html#isTopLevel">isTopLevel</a>() ) { <a name="x211"></a> if ( w-><a href="tqobject.html#inherits">inherits</a>("TQPushButton") || w-><a href="tqobject.html#inherits">inherits</a>("TQToolButton") || w-><a href="tqobject.html#inherits">inherits</a>("TQComboBox") ) { -<a name="x255"></a> w-><a href="ntqwidget.html#setAutoMask">setAutoMask</a>( TRUE ); +<a name="x255"></a> w-><a href="tqwidget.html#setAutoMask">setAutoMask</a>( TRUE ); return; } -<a name="x250"></a> if ( w-><a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() ) -<a name="x256"></a> w-><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WindowOrigin ); +<a name="x250"></a> if ( w-><a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() ) +<a name="x256"></a> w-><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-><a href="ntqwidget.html#isTopLevel">isTopLevel</a>() ) { + if ( !w-><a href="tqwidget.html#isTopLevel">isTopLevel</a>() ) { if ( w-><a href="tqobject.html#inherits">inherits</a>("TQPushButton") || w-><a href="tqobject.html#inherits">inherits</a>("TQToolButton") || w-><a href="tqobject.html#inherits">inherits</a>("TQComboBox") ) { - w-><a href="ntqwidget.html#setAutoMask">setAutoMask</a>( FALSE ); + w-><a href="tqwidget.html#setAutoMask">setAutoMask</a>( FALSE ); return; } - if ( w-><a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() ) - w-><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WidgetOrigin ); + if ( w-><a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() ) + w-><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> &r, const <a href="qcolorgroup.html">TQColorGroup</a> &cg, SFlags how, const <a href="qstyleoption.html">TQStyleOption</a>& 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-><a href="ntqwidget.html#isEnabled">isEnabled</a>() ) +<a name="x252"></a> if ( btn-><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-><a href="ntqwidget.html#isEnabled">isEnabled</a>(), + cg, btn-><a href="tqwidget.html#isEnabled">isEnabled</a>(), <a name="x191"></a><a name="x190"></a> btn-><a href="ntqbutton.html#pixmap">pixmap</a>(), btn-><a href="ntqbutton.html#text">text</a>(), -1, <a name="x194"></a> (btn-><a href="ntqbutton.html#isDown">isDown</a>() || btn-><a href="ntqbutton.html#isOn">isOn</a>()) ? &cg.<a href="qcolorgroup.html#brightText">brightText</a>() <a name="x197"></a> : &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> &r, const <a href="qstyleoption.html">TQStyleOption</a>& 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> &r, const <a href="qcolorgroup.html">TQColorGroup</a> &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> &r, const <a href="qstyleoption.html">TQStyleOption</a>& 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>& 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-><a href="ntqscrollbar.html#orientation">orientation</a>() == TQScrollBar::Horizontal; int b = 2; -<a name="x257"></a> int w = horz ? sb-><a href="ntqwidget.html#height">height</a>() : sb-><a href="ntqwidget.html#width">width</a>(); +<a name="x257"></a> int w = horz ? sb-><a href="tqwidget.html#height">height</a>() : sb-><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-><a href="ntqwidget.html#width">width</a>() - w, 0 ); +<a name="x239"></a> rect.<a href="ntqrect.html#moveBy">moveBy</a>( sb-><a href="tqwidget.html#width">width</a>() - w, 0 ); else - rect.<a href="ntqrect.html#moveBy">moveBy</a>( 0, sb-><a href="ntqwidget.html#height">height</a>() - w ); + rect.<a href="ntqrect.html#moveBy">moveBy</a>( 0, sb-><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-><a href="ntqwidget.html#rect">rect</a>(); +<a name="x254"></a> r = btn-><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> &r, const <a href="qcolorgroup.html">TQColorGroup</a> &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> &r, const <a href="qcolorgroup.html">TQColorGroup</a> &cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const <a href="qstyleoption.html">TQStyleOption</a>& = 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-><a href="tqobject.html#inherits">inherits</a>("TQPushButton")){ -<a name="x308"></a> w-><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>( TQWidget::NoBackground ); +<a name="x308"></a> w-><a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>( TQWidget::NoBackground ); return; } -<a name="x307"></a> if ( !w-><a href="ntqwidget.html#isTopLevel">isTopLevel</a>() ) { -<a name="x305"></a> if ( w-><a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() ) -<a name="x309"></a> w-><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WindowOrigin ); +<a name="x307"></a> if ( !w-><a href="tqwidget.html#isTopLevel">isTopLevel</a>() ) { +<a name="x305"></a> if ( w-><a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() ) +<a name="x309"></a> w-><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-><a href="tqobject.html#inherits">inherits</a>("TQPushButton")){ - w-><a href="ntqwidget.html#setBackgroundMode">setBackgroundMode</a>( TQWidget::PaletteButton ); + w-><a href="tqwidget.html#setBackgroundMode">setBackgroundMode</a>( TQWidget::PaletteButton ); return; } - if ( !w-><a href="ntqwidget.html#isTopLevel">isTopLevel</a>() ) { - if ( w-><a href="ntqwidget.html#backgroundPixmap">backgroundPixmap</a>() ) - w-><a href="ntqwidget.html#setBackgroundOrigin">setBackgroundOrigin</a>( TQWidget::WidgetOrigin ); + if ( !w-><a href="tqwidget.html#isTopLevel">isTopLevel</a>() ) { + if ( w-><a href="tqwidget.html#backgroundPixmap">backgroundPixmap</a>() ) + w-><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> &r, const <a href="qcolorgroup.html">TQColorGroup</a> &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-><a href="ntqpushbutton.html#isMenuButton">isMenuButton</a>() ) { flags = Style_Default; -<a name="x306"></a> if ( btn-><a href="ntqwidget.html#isEnabled">isEnabled</a>() ) +<a name="x306"></a> if ( btn-><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-><a href="ntqwidget.html#isEnabled">isEnabled</a>(), + cg, btn-><a href="tqwidget.html#isEnabled">isEnabled</a>(), <a name="x271"></a><a name="x270"></a> btn-><a href="ntqbutton.html#pixmap">pixmap</a>(), btn-><a href="ntqbutton.html#text">text</a>(), -1, <a name="x276"></a><a name="x273"></a> (btn-><a href="ntqbutton.html#isDown">isDown</a>() || btn-><a href="ntqbutton.html#isOn">isOn</a>())? &cg.<a href="qcolorgroup.html#brightText">brightText</a>() : &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> &r, const <a href="qcolorgroup.html">TQColorGroup</a> &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-><a href="ntqwidget.html#isEnabled">isEnabled</a>() ? &cg.<a href="qcolorgroup.html#brush">brush</a>( TQColorGroup::Base ) : + cmb-><a href="tqwidget.html#isEnabled">isEnabled</a>() ? &cg.<a href="qcolorgroup.html#brush">brush</a>( TQColorGroup::Base ) : &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 & 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-><a href="ntqwidget.html#isEnabled">isEnabled</a>() ? Style_Enabled : Style_Default, + cmb-><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 <<a href="qsignalmapper-h.html">ntqsignalmapper.h</a>> #include <<a href="qdict-h.html">ntqdict.h</a>> -<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>( &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>(); } |