diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/t13-lcdrange-cpp.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/t13-lcdrange-cpp.html')
-rw-r--r-- | doc/html/t13-lcdrange-cpp.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/t13-lcdrange-cpp.html b/doc/html/t13-lcdrange-cpp.html index b4cc7bc5c..c01449123 100644 --- a/doc/html/t13-lcdrange-cpp.html +++ b/doc/html/t13-lcdrange-cpp.html @@ -40,21 +40,21 @@ body { background: #ffffff; color: black; } #include "lcdrange.h" -#include <<a href="qslider-h.html">qslider.h</a>> -#include <<a href="qlcdnumber-h.html">qlcdnumber.h</a>> -#include <<a href="qlabel-h.html">qlabel.h</a>> -#include <<a href="qlayout-h.html">qlayout.h</a>> +#include <<a href="qslider-h.html">ntqslider.h</a>> +#include <<a href="qlcdnumber-h.html">ntqlcdnumber.h</a>> +#include <<a href="qlabel-h.html">ntqlabel.h</a>> +#include <<a href="qlayout-h.html">ntqlayout.h</a>> -<a name="f87"></a>LCDRange::LCDRange( <a href="qwidget.html">TQWidget</a> *parent, const char *name ) - : <a href="qwidget.html">TQWidget</a>( parent, name ) +<a name="f87"></a>LCDRange::LCDRange( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name ) + : <a href="ntqwidget.html">TQWidget</a>( parent, name ) { init(); } LCDRange::LCDRange( const char *s, TQWidget *parent, const char *name ) - : <a href="qwidget.html">TQWidget</a>( parent, name ) + : <a href="ntqwidget.html">TQWidget</a>( parent, name ) { init(); setText( s ); @@ -63,20 +63,20 @@ LCDRange::LCDRange( const char *s, TQWidget *parent, const char *name ) void <a name="f88"></a>LCDRange::init() { - <a href="qlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="qlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); - slider = new <a href="qslider.html">TQSlider</a>( Horizontal, this, "slider" ); - slider-><a href="qrangecontrol.html#setRange">setRange</a>( 0, 99 ); - slider-><a href="qslider.html#setValue">setValue</a>( 0 ); + <a href="ntqlcdnumber.html">TQLCDNumber</a> *lcd = new <a href="ntqlcdnumber.html">TQLCDNumber</a>( 2, this, "lcd" ); + slider = new <a href="ntqslider.html">TQSlider</a>( Horizontal, this, "slider" ); + slider-><a href="ntqrangecontrol.html#setRange">setRange</a>( 0, 99 ); + slider-><a href="ntqslider.html#setValue">setValue</a>( 0 ); - label = new <a href="qlabel.html">TQLabel</a>( " ", this, "label" ); - label-><a href="qlabel.html#setAlignment">setAlignment</a>( AlignCenter ); + label = new <a href="ntqlabel.html">TQLabel</a>( " ", this, "label" ); + label-><a href="ntqlabel.html#setAlignment">setAlignment</a>( AlignCenter ); - <a href="qobject.html#connect">connect</a>( slider, SIGNAL(<a href="qslider.html#valueChanged">valueChanged</a>(int)), - lcd, SLOT(<a href="qlcdnumber.html#display">display</a>(int)) ); - <a href="qobject.html#connect">connect</a>( slider, SIGNAL(<a href="qslider.html#valueChanged">valueChanged</a>(int)), + <a href="ntqobject.html#connect">connect</a>( slider, SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), + lcd, SLOT(<a href="ntqlcdnumber.html#display">display</a>(int)) ); + <a href="ntqobject.html#connect">connect</a>( slider, SIGNAL(<a href="ntqslider.html#valueChanged">valueChanged</a>(int)), SIGNAL(valueChanged(int)) ); - <a href="qwidget.html#setFocusProxy">setFocusProxy</a>( slider ); + <a href="ntqwidget.html#setFocusProxy">setFocusProxy</a>( slider ); <a href="qvboxlayout.html">TQVBoxLayout</a> * l = new <a href="qvboxlayout.html">TQVBoxLayout</a>( this ); l-><a href="qboxlayout.html#addWidget">addWidget</a>( lcd, 1 ); @@ -87,38 +87,38 @@ void <a name="f88"></a>LCDRange::init() int <a name="f89"></a>LCDRange::value() const { - return slider-><a href="qslider.html#value">value</a>(); + return slider-><a href="ntqslider.html#value">value</a>(); } const char *<a name="f90"></a>LCDRange::text() const { - return label-><a href="qlabel.html#text">text</a>(); + return label-><a href="ntqlabel.html#text">text</a>(); } void <a name="f91"></a>LCDRange::setValue( int value ) { - slider-><a href="qslider.html#setValue">setValue</a>( value ); + slider-><a href="ntqslider.html#setValue">setValue</a>( value ); } void <a name="f92"></a>LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - <a href="qapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" + <a href="ntqapplication.html#qWarning">qWarning</a>( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); return; } - slider-><a href="qrangecontrol.html#setRange">setRange</a>( minVal, maxVal ); + slider-><a href="ntqrangecontrol.html#setRange">setRange</a>( minVal, maxVal ); } void <a name="f93"></a>LCDRange::setText( const char *s ) { - label-><a href="qlabel.html#setText">setText</a>( s ); + label-><a href="ntqlabel.html#setText">setText</a>( s ); } </pre><!-- eof --> <p><address><hr><div align=center> |