diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
commit | fef846914f8db6dc117e206ef913d519bf6bb33e (patch) | |
tree | d6567b31f7f22d0c8c66eec947dff1960efa25ac /doc/html/rangecontrols-example.html | |
parent | 8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (diff) | |
download | tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.tar.gz tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.zip |
Rename basic widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/rangecontrols-example.html')
-rw-r--r-- | doc/html/rangecontrols-example.html | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/html/rangecontrols-example.html b/doc/html/rangecontrols-example.html index 5c2d2bd3c..81ea6c6b9 100644 --- a/doc/html/rangecontrols-example.html +++ b/doc/html/rangecontrols-example.html @@ -62,7 +62,7 @@ public: RangeControls( <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *name = 0 ); private: - <a href="ntqcheckbox.html">TQCheckBox</a> *notches, *wrapping; + <a href="tqcheckbox.html">TQCheckBox</a> *notches, *wrapping; }; #endif @@ -83,12 +83,12 @@ private: #include "rangecontrols.h" #include <<a href="qhbox-h.html">ntqhbox.h</a>> -#include <<a href="qlcdnumber-h.html">ntqlcdnumber.h</a>> -#include <<a href="qspinbox-h.html">ntqspinbox.h</a>> +#include <<a href="tqlcdnumber-h.html">tqlcdnumber.h</a>> +#include <<a href="tqspinbox-h.html">tqspinbox.h</a>> #include <<a href="tqlabel-h.html">tqlabel.h</a>> #include <<a href="tqstring-h.html">tqstring.h</a>> -#include <<a href="qslider-h.html">ntqslider.h</a>> -#include <<a href="qcheckbox-h.html">ntqcheckbox.h</a>> +#include <<a href="tqslider-h.html">tqslider.h</a>> +#include <<a href="tqcheckbox-h.html">tqcheckbox.h</a>> #include <limits.h> @@ -105,20 +105,20 @@ private: <a href="tqlabel.html">TQLabel</a> *label1 = new <a href="tqlabel.html">TQLabel</a>( TQString( "Enter a value between\n%1 and %2:" ).arg( -INT_MAX ).arg( INT_MAX ), cell2 ); <a name="x1391"></a><a name="x1383"></a> label1-><a href="tqwidget.html#setMaximumHeight">setMaximumHeight</a>( label1-><a href="tqwidget.html#sizeHint">sizeHint</a>().height() ); - <a href="ntqspinbox.html">TQSpinBox</a> *sb1 = new <a href="ntqspinbox.html">TQSpinBox</a>( -INT_MAX, INT_MAX, 1, cell2 ); -<a name="x1390"></a> sb1-><a href="ntqspinbox.html#setValue">setValue</a>( 0 ); + <a href="tqspinbox.html">TQSpinBox</a> *sb1 = new <a href="tqspinbox.html">TQSpinBox</a>( -INT_MAX, INT_MAX, 1, cell2 ); +<a name="x1390"></a> sb1-><a href="tqspinbox.html#setValue">setValue</a>( 0 ); <a href="tqlabel.html">TQLabel</a> *label2 = new <a href="tqlabel.html">TQLabel</a>( "Enter a zoom value:", cell2 ); label2-><a href="tqwidget.html#setMaximumHeight">setMaximumHeight</a>( label2-><a href="tqwidget.html#sizeHint">sizeHint</a>().height() ); - <a href="ntqspinbox.html">TQSpinBox</a> *sb2 = new <a href="ntqspinbox.html">TQSpinBox</a>( 0, 1000, 10, cell2 ); -<a name="x1389"></a> sb2-><a href="ntqspinbox.html#setSuffix">setSuffix</a>( " %" ); -<a name="x1388"></a> sb2-><a href="ntqspinbox.html#setSpecialValueText">setSpecialValueText</a>( "Automatic" ); + <a href="tqspinbox.html">TQSpinBox</a> *sb2 = new <a href="tqspinbox.html">TQSpinBox</a>( 0, 1000, 10, cell2 ); +<a name="x1389"></a> sb2-><a href="tqspinbox.html#setSuffix">setSuffix</a>( " %" ); +<a name="x1388"></a> sb2-><a href="tqspinbox.html#setSpecialValueText">setSpecialValueText</a>( "Automatic" ); <a href="tqlabel.html">TQLabel</a> *label3 = new <a href="tqlabel.html">TQLabel</a>( "Enter a price:", cell2 ); label3-><a href="tqwidget.html#setMaximumHeight">setMaximumHeight</a>( label3-><a href="tqwidget.html#sizeHint">sizeHint</a>().height() ); - <a href="ntqspinbox.html">TQSpinBox</a> *sb3 = new <a href="ntqspinbox.html">TQSpinBox</a>( 0, INT_MAX, 1, cell2 ); -<a name="x1387"></a> sb3-><a href="ntqspinbox.html#setPrefix">setPrefix</a>( "$" ); - sb3-><a href="ntqspinbox.html#setValue">setValue</a>( 355 ); + <a href="tqspinbox.html">TQSpinBox</a> *sb3 = new <a href="tqspinbox.html">TQSpinBox</a>( 0, INT_MAX, 1, cell2 ); +<a name="x1387"></a> sb3-><a href="tqspinbox.html#setPrefix">setPrefix</a>( "$" ); + sb3-><a href="tqspinbox.html#setValue">setValue</a>( 355 ); (void)new <a href="tqwidget.html">TQWidget</a>( cell2 ); @@ -127,19 +127,19 @@ private: <a href="ntqvbox.html">TQVBox</a> *cell3 = new <a href="ntqvbox.html">TQVBox</a>( row2 ); cell3-><a href="ntqframe.html#setMargin">setMargin</a>( 10 ); cell3-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::WinPanel | TQFrame::Sunken ); - <a href="ntqslider.html">TQSlider</a> *hslider = new <a href="ntqslider.html">TQSlider</a>( 0, 64, 1, 33, TQt::Horizontal, cell3, "horizontal_s" ); - <a href="ntqlcdnumber.html">TQLCDNumber</a> *lcd2 = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, cell3 ); -<a name="x1384"></a> lcd2-><a href="ntqlcdnumber.html#display">display</a>( 33 ); -<a name="x1385"></a> lcd2-><a href="ntqlcdnumber.html#setSegmentStyle">setSegmentStyle</a>( TQLCDNumber::Filled ); -<a name="x1386"></a> <a href="tqobject.html#connect">connect</a>( hslider, TQ_SIGNAL( <a href="ntqslider.html#valueChanged">valueChanged</a>( int ) ), lcd2, TQ_SLOT( <a href="ntqlcdnumber.html#display">display</a>( int ) ) ); + <a href="tqslider.html">TQSlider</a> *hslider = new <a href="tqslider.html">TQSlider</a>( 0, 64, 1, 33, TQt::Horizontal, cell3, "horizontal_s" ); + <a href="tqlcdnumber.html">TQLCDNumber</a> *lcd2 = new <a href="tqlcdnumber.html">TQLCDNumber</a>( 2, cell3 ); +<a name="x1384"></a> lcd2-><a href="tqlcdnumber.html#display">display</a>( 33 ); +<a name="x1385"></a> lcd2-><a href="tqlcdnumber.html#setSegmentStyle">setSegmentStyle</a>( TQLCDNumber::Filled ); +<a name="x1386"></a> <a href="tqobject.html#connect">connect</a>( hslider, TQ_SIGNAL( <a href="tqslider.html#valueChanged">valueChanged</a>( int ) ), lcd2, TQ_SLOT( <a href="tqlcdnumber.html#display">display</a>( int ) ) ); <a href="ntqhbox.html">TQHBox</a> *cell4 = new <a href="ntqhbox.html">TQHBox</a>( row2 ); cell4-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::WinPanel | TQFrame::Sunken ); cell4-><a href="ntqframe.html#setMargin">setMargin</a>( 10 ); - <a href="ntqslider.html">TQSlider</a> *vslider = new <a href="ntqslider.html">TQSlider</a>( 0, 64, 1, 8, TQt::Vertical, cell4 ); - <a href="ntqlcdnumber.html">TQLCDNumber</a> *lcd3 = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 3, cell4 ); - lcd3-><a href="ntqlcdnumber.html#display">display</a>( 8 ); - <a href="tqobject.html#connect">connect</a>( vslider, TQ_SIGNAL( <a href="ntqslider.html#valueChanged">valueChanged</a>( int ) ), lcd3, TQ_SLOT( <a href="ntqlcdnumber.html#display">display</a>( int ) ) ); + <a href="tqslider.html">TQSlider</a> *vslider = new <a href="tqslider.html">TQSlider</a>( 0, 64, 1, 8, TQt::Vertical, cell4 ); + <a href="tqlcdnumber.html">TQLCDNumber</a> *lcd3 = new <a href="tqlcdnumber.html">TQLCDNumber</a>( 3, cell4 ); + lcd3-><a href="tqlcdnumber.html#display">display</a>( 8 ); + <a href="tqobject.html#connect">connect</a>( vslider, TQ_SIGNAL( <a href="tqslider.html#valueChanged">valueChanged</a>( int ) ), lcd3, TQ_SLOT( <a href="tqlcdnumber.html#display">display</a>( int ) ) ); } </pre> |