From ea318d1431c89e647598c510c4245c6571aa5f46 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 26 Jan 2012 23:32:43 -0600 Subject: Update to latest tqt3 automated conversion --- doc/html/t9-lcdrange-cpp.html | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'doc/html/t9-lcdrange-cpp.html') diff --git a/doc/html/t9-lcdrange-cpp.html b/doc/html/t9-lcdrange-cpp.html index 790fe4af7..e9a67925d 100644 --- a/doc/html/t9-lcdrange-cpp.html +++ b/doc/html/t9-lcdrange-cpp.html @@ -40,44 +40,44 @@ body { background: #ffffff; color: black; } #include "lcdrange.h" -#include <qslider.h> -#include <qlcdnumber.h> +#include <ntqslider.h> +#include <ntqlcdnumber.h> -LCDRange::LCDRange( TQWidget *parent, const char *name ) - : TQVBox( parent, name ) +LCDRange::LCDRange( TQWidget *parent, const char *name ) + : TQVBox( parent, name ) { - TQLCDNumber *lcd = new TQLCDNumber( 2, this, "lcd" ); - slider = new TQSlider( Horizontal, this, "slider" ); - slider->setRange( 0, 99 ); - slider->setValue( 0 ); - connect( slider, SIGNAL(valueChanged(int)), - lcd, SLOT(display(int)) ); - connect( slider, SIGNAL(valueChanged(int)), + TQLCDNumber *lcd = new TQLCDNumber( 2, this, "lcd" ); + slider = new TQSlider( Horizontal, this, "slider" ); + slider->setRange( 0, 99 ); + slider->setValue( 0 ); + connect( slider, SIGNAL(valueChanged(int)), + lcd, SLOT(display(int)) ); + connect( slider, SIGNAL(valueChanged(int)), SIGNAL(valueChanged(int)) ); - setFocusProxy( slider ); + setFocusProxy( slider ); } int LCDRange::value() const { - return slider->value(); + return slider->value(); } void LCDRange::setValue( int value ) { - slider->setValue( value ); + slider->setValue( value ); } void LCDRange::setRange( int minVal, int maxVal ) { if ( minVal < 0 || maxVal > 99 || minVal > maxVal ) { - qWarning( "LCDRange::setRange(%d,%d)\n" + qWarning( "LCDRange::setRange(%d,%d)\n" "\tRange must be 0..99\n" "\tand minVal must not be greater than maxVal", minVal, maxVal ); return; } - slider->setRange( minVal, maxVal ); + slider->setRange( minVal, maxVal ); }


-- cgit v1.2.1