From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksirc/KSTicker/speeddialogData.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ksirc/KSTicker/speeddialogData.cpp') diff --git a/ksirc/KSTicker/speeddialogData.cpp b/ksirc/KSTicker/speeddialogData.cpp index 822d6f7f..ddb733df 100644 --- a/ksirc/KSTicker/speeddialogData.cpp +++ b/ksirc/KSTicker/speeddialogData.cpp @@ -1,6 +1,6 @@ /********************************************************************** - --- Qt Architect generated file --- + --- TQt Architect generated file --- File: speeddialogData.cpp Last generated: Sun Dec 21 09:13:46 1997 @@ -19,14 +19,14 @@ #include #include -speeddialogData::speeddialogData ( TQWidget* parent, const char* name ) - :TQDialog( parent, name, 0 ) +speeddialogData::speeddialogData ( TQWidget* tqparent, const char* name ) + :TQDialog( tqparent, name, 0 ) { TQGridLayout *grid = new TQGridLayout( this, 3, 2 , KDialog::marginHint(), KDialog::spacingHint()); sliderTick = new TQSlider( this, "Slider_1" ); grid->addWidget( sliderTick, 0, 1 ); connect( sliderTick, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateTick(int)) ); - sliderTick->setOrientation( TQSlider::Horizontal ); + sliderTick->setOrientation( Qt::Horizontal ); sliderTick->setRange( 10, 200 ); sliderTick->setSteps( 10, 50 ); sliderTick->setValue( 30 ); @@ -38,7 +38,7 @@ speeddialogData::speeddialogData ( TQWidget* parent, const char* name ) grid->addWidget( sliderStep, 1, 1 ); connect( sliderStep, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(updateStep(int)) ); - sliderStep->setOrientation( TQSlider::Horizontal ); + sliderStep->setOrientation( Qt::Horizontal ); sliderStep->setRange( 1, 10 ); sliderStep->setSteps( 1, 2 ); sliderStep->setValue( 3 ); @@ -66,7 +66,7 @@ speeddialogData::speeddialogData ( TQWidget* parent, const char* name ) 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->tqsetAlignment( 289 ); dlgedit_Label_1->setMargin( -1 ); grid->addWidget( dlgedit_Label_1, 0, 0 ); @@ -74,7 +74,7 @@ speeddialogData::speeddialogData ( TQWidget* parent, const char* name ) 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->tqsetAlignment( 289 ); dlgedit_Label_2->setMargin( -1 ); grid->addWidget( dlgedit_Label_2, 1, 0 ); -- cgit v1.2.1