diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:07:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-02 23:22:42 +0900 |
commit | 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch) | |
tree | b95884617b9a37accc843676d5d42be4116a3f54 /doc/html/progressbar-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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/progressbar-example.html')
-rw-r--r-- | doc/html/progressbar-example.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/html/progressbar-example.html b/doc/html/progressbar-example.html index dbd80cf30..a6813a06f 100644 --- a/doc/html/progressbar-example.html +++ b/doc/html/progressbar-example.html @@ -61,7 +61,7 @@ class ProgressBar : public <a href="ntqbuttongroup.html">TQButtonGroup</a> <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: - ProgressBar( <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 ); + ProgressBar( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 ); protected: <a href="ntqradiobutton.html">TQRadioButton</a> *slow, *normal, *fast; @@ -106,12 +106,12 @@ protected slots: * Creates child widgets of the ProgressBar widget */ -<a name="f346"></a>ProgressBar::ProgressBar( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) +<a name="f346"></a>ProgressBar::ProgressBar( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) : <a href="ntqbuttongroup.html">TQButtonGroup</a>( 0, Horizontal, "Progress Bar", parent, name ), timer() { <a href="ntqframe.html#setMargin">setMargin</a>( 10 ); - <a href="qgridlayout.html">TQGridLayout</a>* toplayout = new <a href="qgridlayout.html">TQGridLayout</a>( <a href="ntqwidget.html#layout">layout</a>(), 2, 2, 5); + <a href="qgridlayout.html">TQGridLayout</a>* toplayout = new <a href="qgridlayout.html">TQGridLayout</a>( <a href="tqwidget.html#layout">layout</a>(), 2, 2, 5); <a href="ntqbuttongroup.html#setRadioButtonExclusive">setRadioButtonExclusive</a>( TRUE ); @@ -137,7 +137,7 @@ protected slots: // Create the progressbar progress = new <a href="ntqprogressbar.html">TQProgressBar</a>( 100, this ); -<a name="x975"></a> // progress-><a href="ntqwidget.html#setStyle">setStyle</a>( new <a href="ntqmotifstyle.html">TQMotifStyle</a>() ); +<a name="x975"></a> // progress-><a href="tqwidget.html#setStyle">setStyle</a>( new <a href="ntqmotifstyle.html">TQMotifStyle</a>() ); <a name="x965"></a> toplayout-><a href="qgridlayout.html#addMultiCellWidget">addMultiCellWidget</a>( progress, 1, 1, 0, 1 ); // connect the clicked() SIGNALs of the pushbuttons to SLOTs @@ -152,8 +152,8 @@ protected slots: // some contraints -<a name="x974"></a> start-><a href="ntqwidget.html#setFixedWidth">setFixedWidth</a>( 80 ); - <a href="ntqwidget.html#setMinimumWidth">setMinimumWidth</a>( 300 ); +<a name="x974"></a> start-><a href="tqwidget.html#setFixedWidth">setFixedWidth</a>( 80 ); + <a href="tqwidget.html#setMinimumWidth">setMinimumWidth</a>( 300 ); } /* @@ -177,9 +177,9 @@ void <a name="f347"></a>ProgressBar::slotStart() progress-><a href="ntqprogressbar.html#setTotalSteps">setTotalSteps</a>( 50 ); // disable the speed-radiobuttons -<a name="x973"></a> slow-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); - normal-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); - fast-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); +<a name="x973"></a> slow-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); + normal-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); + fast-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); } // If the progress is not running... @@ -210,12 +210,12 @@ void <a name="f348"></a>ProgressBar::slotReset() // rename the start/pause/continue button to Start... start-><a href="ntqbutton.html#setText">setText</a>( "&Start" ); // ...and enable this button - start-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); + start-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); // enable the speed-radiobuttons - slow-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); - normal-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); - fast-><a href="ntqwidget.html#setEnabled">setEnabled</a>( TRUE ); + slow-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); + normal-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); + fast-><a href="tqwidget.html#setEnabled">setEnabled</a>( TRUE ); // reset the progressbar <a name="x967"></a> progress-><a href="ntqprogressbar.html#reset">reset</a>(); @@ -238,7 +238,7 @@ void <a name="f349"></a>ProgressBar::slotTimeout() // ...rename the start/pause/continue button to Start... start-><a href="ntqbutton.html#setText">setText</a>( "&Start" ); // ...and disable it... - start-><a href="ntqwidget.html#setEnabled">setEnabled</a>( FALSE ); + start-><a href="tqwidget.html#setEnabled">setEnabled</a>( FALSE ); // ...and return return; } @@ -269,9 +269,9 @@ int main(int argc,char **argv) <a href="ntqapplication.html">TQApplication</a> a(argc,argv); ProgressBar progressbar; - progressbar.<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - ProgressBar"); + progressbar.<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - ProgressBar"); a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(&progressbar); - progressbar.<a href="ntqwidget.html#show">show</a>(); + progressbar.<a href="tqwidget.html#show">show</a>(); return a.<a href="ntqapplication.html#exec">exec</a>(); } |