summaryrefslogtreecommitdiffstats
path: root/ksirc/KSTicker/speeddialogData.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/KSTicker/speeddialogData.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/KSTicker/speeddialogData.cpp')
-rw-r--r--ksirc/KSTicker/speeddialogData.cpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/ksirc/KSTicker/speeddialogData.cpp b/ksirc/KSTicker/speeddialogData.cpp
index 0dbb1c0b..822d6f7f 100644
--- a/ksirc/KSTicker/speeddialogData.cpp
+++ b/ksirc/KSTicker/speeddialogData.cpp
@@ -12,76 +12,76 @@
#include "speeddialogData.h"
-#include <qlabel.h>
+#include <tqlabel.h>
#include <klocale.h>
#include <kpushbutton.h>
#include <kstdguiitem.h>
-#include <qlayout.h>
+#include <tqlayout.h>
#include <kdialog.h>
-speeddialogData::speeddialogData ( QWidget* parent, const char* name )
- :QDialog( parent, name, 0 )
+speeddialogData::speeddialogData ( TQWidget* parent, const char* name )
+ :TQDialog( parent, name, 0 )
{
- QGridLayout *grid = new QGridLayout( this, 3, 2 , KDialog::marginHint(), KDialog::spacingHint());
- sliderTick = new QSlider( this, "Slider_1" );
+ TQGridLayout *grid = new TQGridLayout( this, 3, 2 , KDialog::marginHint(), KDialog::spacingHint());
+ sliderTick = new TQSlider( this, "Slider_1" );
grid->addWidget( sliderTick, 0, 1 );
- connect( sliderTick, SIGNAL(valueChanged(int)), SLOT(updateTick(int)) );
- sliderTick->setOrientation( QSlider::Horizontal );
+ connect( sliderTick, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateTick(int)) );
+ sliderTick->setOrientation( TQSlider::Horizontal );
sliderTick->setRange( 10, 200 );
sliderTick->setSteps( 10, 50 );
sliderTick->setValue( 30 );
sliderTick->setTracking( TRUE );
- sliderTick->setTickmarks( QSlider::NoMarks );
+ sliderTick->setTickmarks( TQSlider::NoMarks );
sliderTick->setTickInterval( 0 );
- sliderStep = new QSlider( this, "Slider_2" );
+ sliderStep = new TQSlider( this, "Slider_2" );
grid->addWidget( sliderStep, 1, 1 );
- connect( sliderStep, SIGNAL(valueChanged(int)), SLOT(updateStep(int)) );
- sliderStep->setOrientation( QSlider::Horizontal );
+ connect( sliderStep, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateStep(int)) );
+ sliderStep->setOrientation( TQSlider::Horizontal );
sliderStep->setRange( 1, 10 );
sliderStep->setSteps( 1, 2 );
sliderStep->setValue( 3 );
sliderStep->setTracking( TRUE );
- sliderStep->setTickmarks( QSlider::NoMarks );
+ sliderStep->setTickmarks( TQSlider::NoMarks );
sliderStep->setTickInterval( 0 );
- lcdTick = new QLCDNumber( this, "LCDNumber_1" );
+ lcdTick = new TQLCDNumber( this, "LCDNumber_1" );
lcdTick->setFrameStyle( 33 );
lcdTick->setSmallDecimalPoint( FALSE );
lcdTick->setNumDigits( 3 );
- lcdTick->setMode( QLCDNumber::DEC );
- lcdTick->setSegmentStyle( QLCDNumber::Outline );
+ lcdTick->setMode( TQLCDNumber::DEC );
+ lcdTick->setSegmentStyle( TQLCDNumber::Outline );
grid->addWidget( lcdTick, 0, 2 );
- lcdStep = new QLCDNumber( this, "LCDNumber_2" );
+ lcdStep = new TQLCDNumber( this, "LCDNumber_2" );
lcdStep->setFrameStyle( 33 );
lcdStep->setSmallDecimalPoint( FALSE );
lcdStep->setNumDigits( 3 );
- lcdStep->setMode( QLCDNumber::DEC );
- lcdStep->setSegmentStyle( QLCDNumber::Outline );
+ lcdStep->setMode( TQLCDNumber::DEC );
+ lcdStep->setSegmentStyle( TQLCDNumber::Outline );
grid->addWidget( lcdStep, 1, 2 );
- QLabel* dlgedit_Label_1;
- dlgedit_Label_1 = new QLabel( this, "Label_1" );
+ TQLabel* dlgedit_Label_1;
+ dlgedit_Label_1 = new TQLabel( this, "Label_1" );
dlgedit_Label_1->setText( i18n("Tick interval:") );
dlgedit_Label_1->setAlignment( 289 );
dlgedit_Label_1->setMargin( -1 );
grid->addWidget( dlgedit_Label_1, 0, 0 );
- QLabel* dlgedit_Label_2;
- dlgedit_Label_2 = new QLabel( this, "Label_2" );
+ TQLabel* dlgedit_Label_2;
+ dlgedit_Label_2 = new TQLabel( this, "Label_2" );
dlgedit_Label_2->setText( i18n("Step size:") );
dlgedit_Label_2->setAlignment( 289 );
dlgedit_Label_2->setMargin( -1 );
grid->addWidget( dlgedit_Label_2, 1, 0 );
- QPushButton* dlgedit_PushButton_2;
+ TQPushButton* dlgedit_PushButton_2;
dlgedit_PushButton_2 = new KPushButton( KStdGuiItem::close(), this, "PushButton_2" );
- connect( dlgedit_PushButton_2, SIGNAL(pressed()), SLOT(terminate()) );
+ connect( dlgedit_PushButton_2, TQT_SIGNAL(pressed()), TQT_SLOT(terminate()) );
// dlgedit_PushButton_2->setAutoRepeat( FALSE );
// dlgedit_PushButton_2->setAutoResize( FALSE );
grid->addWidget( dlgedit_PushButton_2, 2, 2 );