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/t12-lcdrange-cpp.html | 44 +++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'doc/html/t12-lcdrange-cpp.html') diff --git a/doc/html/t12-lcdrange-cpp.html b/doc/html/t12-lcdrange-cpp.html index e17d4b4fd..076684920 100644 --- a/doc/html/t12-lcdrange-cpp.html +++ b/doc/html/t12-lcdrange-cpp.html @@ -40,13 +40,13 @@ body { background: #ffffff; color: black; } #include "lcdrange.h" -#include <qslider.h> -#include <qlcdnumber.h> -#include <qlabel.h> +#include <ntqslider.h> +#include <ntqlcdnumber.h> +#include <ntqlabel.h> -LCDRange::LCDRange( TQWidget *parent, const char *name ) - : TQVBox( parent, name ) +LCDRange::LCDRange( TQWidget *parent, const char *name ) + : TQVBox( parent, name ) { init(); } @@ -54,7 +54,7 @@ body { background: #ffffff; color: black; } LCDRange::LCDRange( const char *s, TQWidget *parent, const char *name ) - : TQVBox( parent, name ) + : TQVBox( parent, name ) { init(); setText( s ); @@ -63,57 +63,57 @@ LCDRange::LCDRange( const char *s, TQWidget *parent, void LCDRange::init() { - TQLCDNumber *lcd = new TQLCDNumber( 2, this, "lcd" ); - slider = new TQSlider( Horizontal, this, "slider" ); - slider->setRange( 0, 99 ); - slider->setValue( 0 ); + TQLCDNumber *lcd = new TQLCDNumber( 2, this, "lcd" ); + slider = new TQSlider( Horizontal, this, "slider" ); + slider->setRange( 0, 99 ); + slider->setValue( 0 ); - label = new TQLabel( " ", this, "label" ); - label->setAlignment( AlignCenter ); + label = new TQLabel( " ", this, "label" ); + label->setAlignment( AlignCenter ); - connect( slider, SIGNAL(valueChanged(int)), - lcd, SLOT(display(int)) ); - connect( slider, SIGNAL(valueChanged(int)), + 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(); } const char *LCDRange::text() const { - return label->text(); + return label->text(); } 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 ); } void LCDRange::setText( const char *s ) { - label->setText( s ); + label->setText( s ); }


-- cgit v1.2.1