diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
commit | 42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch) | |
tree | 0928f4e01a3dcc0698b46c7608d8310e471bdb49 /doc/html/themes-example.html | |
parent | fef846914f8db6dc117e206ef913d519bf6bb33e (diff) | |
download | tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip |
Rename more widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/themes-example.html')
-rw-r--r-- | doc/html/themes-example.html | 50 |
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-><a href="ntqbutton.html#isOn">isOn</a>() ) +<a name="x189"></a> if ( btn-><a href="tqbutton.html#isOn">isOn</a>() ) flags |= Style_On; -<a name="x188"></a> if ( btn-><a href="ntqbutton.html#isDown">isDown</a>() ) +<a name="x188"></a> if ( btn-><a href="tqbutton.html#isDown">isDown</a>() ) flags |= Style_Down; - if ( btn-><a href="ntqbutton.html#isOn">isOn</a>() || btn-><a href="ntqbutton.html#isDown">isDown</a>() ) + if ( btn-><a href="tqbutton.html#isOn">isOn</a>() || btn-><a href="tqbutton.html#isDown">isDown</a>() ) flags |= Style_Sunken; <a name="x233"></a> if ( btn-><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-><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-><a href="ntqbutton.html#isDown">isDown</a>() ) + if ( btn-><a href="tqbutton.html#isDown">isDown</a>() ) fill = cg.<a href="tqcolorgroup.html#brush">brush</a>( TQColorGroup::Mid ); - else if ( btn-><a href="ntqbutton.html#isOn">isOn</a>() ) + else if ( btn-><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-><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="tqcolorgroup.html#brightText">brightText</a>() +<a name="x191"></a><a name="x190"></a> btn-><a href="tqbutton.html#pixmap">pixmap</a>(), btn-><a href="tqbutton.html#text">text</a>(), -1, +<a name="x194"></a> (btn-><a href="tqbutton.html#isDown">isDown</a>() || btn-><a href="tqbutton.html#isOn">isOn</a>()) ? &cg.<a href="tqcolorgroup.html#brightText">brightText</a>() <a name="x197"></a> : &cg.<a href="tqcolorgroup.html#buttonText">buttonText</a>() ); if ( dx || dy ) p-><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-><a href="ntqbutton.html#isDown">isDown</a>() ) +<a name="x268"></a> if ( btn-><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-><a href="ntqbutton.html#isOn">isOn</a>() ) +<a name="x269"></a> else if ( btn-><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-><a href="ntqbutton.html#isOn">isOn</a>() ) + if ( btn-><a href="tqbutton.html#isOn">isOn</a>() ) flags |= Style_On; - if ( btn-><a href="ntqbutton.html#isDown">isDown</a>() ) + if ( btn-><a href="tqbutton.html#isDown">isDown</a>() ) flags |= Style_Down; -<a name="x295"></a> if ( !btn-><a href="tqpushbutton.html#isFlat">isFlat</a>() && !btn-><a href="ntqbutton.html#isDown">isDown</a>() ) +<a name="x295"></a> if ( !btn-><a href="tqpushbutton.html#isFlat">isFlat</a>() && !btn-><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-><a href="tqpushbutton.html#isMenuButton">isMenuButton</a>() ) dx = ( y2 - y1 ) / 3; - if ( btn-><a href="ntqbutton.html#isOn">isOn</a>() || btn-><a href="ntqbutton.html#isDown">isDown</a>() ) { + if ( btn-><a href="tqbutton.html#isOn">isOn</a>() || btn-><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-><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="tqcolorgroup.html#brightText">brightText</a>() : &cg.<a href="tqcolorgroup.html#buttonText">buttonText</a>() ); +<a name="x271"></a><a name="x270"></a> btn-><a href="tqbutton.html#pixmap">pixmap</a>(), btn-><a href="tqbutton.html#text">text</a>(), -1, +<a name="x276"></a><a name="x273"></a> (btn-><a href="tqbutton.html#isDown">isDown</a>() || btn-><a href="tqbutton.html#isOn">isOn</a>())? &cg.<a href="tqcolorgroup.html#brightText">brightText</a>() : &cg.<a href="tqcolorgroup.html#buttonText">buttonText</a>() ); if ( dx || dy ) p-><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> &); @@ -2186,7 +2186,7 @@ private: #include "../rangecontrols/rangecontrols.h" #include "../richtext/richtext.h" -#include <<a href="qtabwidget-h.html">ntqtabwidget.h</a>> +#include <<a href="tqtabwidget-h.html">tqtabwidget.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> #include <<a href="tqmenubar-h.html">tqmenubar.h</a>> @@ -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-><a href="ntqtabwidget.html#addTab">addTab</a>( new ButtonsGroups( tabwidget ), "Buttons/Groups" ); +<a name="x343"></a> tabwidget-><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-><a href="ntqframe.html#setMargin">setMargin</a>( 5 ); + hbox-><a href="tqframe.html#setMargin">setMargin</a>( 5 ); (void)new LineEdits( hbox ); (void)new ProgressBar( hbox ); - tabwidget-><a href="ntqtabwidget.html#addTab">addTab</a>( hbox, "Lineedits/Progressbar" ); - tabwidget-><a href="ntqtabwidget.html#addTab">addTab</a>( new ListBoxCombo( tabwidget ), "Listboxes/Comboboxes" ); - tabwidget-><a href="ntqtabwidget.html#addTab">addTab</a>( new CheckLists( tabwidget ), "Listviews" ); - tabwidget-><a href="ntqtabwidget.html#addTab">addTab</a>( new RangeControls( tabwidget ), "Rangecontrols" ); - tabwidget-><a href="ntqtabwidget.html#addTab">addTab</a>( new MyRichText( tabwidget ), "Fortune" ); + tabwidget-><a href="tqtabwidget.html#addTab">addTab</a>( hbox, "Lineedits/Progressbar" ); + tabwidget-><a href="tqtabwidget.html#addTab">addTab</a>( new ListBoxCombo( tabwidget ), "Listboxes/Comboboxes" ); + tabwidget-><a href="tqtabwidget.html#addTab">addTab</a>( new CheckLists( tabwidget ), "Listviews" ); + tabwidget-><a href="tqtabwidget.html#addTab">addTab</a>( new RangeControls( tabwidget ), "Rangecontrols" ); + tabwidget-><a href="tqtabwidget.html#addTab">addTab</a>( new MyRichText( tabwidget ), "Fortune" ); <a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>( tabwidget ); |