diff options
Diffstat (limited to 'tdescreensaver/kdesavers/science.cpp')
-rw-r--r-- | tdescreensaver/kdesavers/science.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/tdescreensaver/kdesavers/science.cpp b/tdescreensaver/kdesavers/science.cpp index 2f1534bc..6eb59a0a 100644 --- a/tdescreensaver/kdesavers/science.cpp +++ b/tdescreensaver/kdesavers/science.cpp @@ -149,7 +149,7 @@ KScienceSaver::KScienceSaver( WId id, bool s, bool gP ) do_refresh( TQRect ( 0, 0, width(), height() ) ); } - connect( &timer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotTimeout() ) ); + connect( &timer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotTimeout() ) ); timer.start( SCI_MAX_SPEED - speed[mode] ); } @@ -870,26 +870,26 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) c->insertItem( modeInfo[i].name ); c->setCurrentItem( mode ); c->setFixedHeight( 5 * c->fontMetrics().height() ); - connect( c, TQT_SIGNAL( highlighted( int ) ), TQT_SLOT( slotMode( int ) ) ); + connect( c, TQ_SIGNAL( highlighted( int ) ), TQ_SLOT( slotMode( int ) ) ); ltm->addWidget( c ); // inverse TQCheckBox *cbox = checkInverse = new TQCheckBox( i18n("Inverse"), main ); cbox->setEnabled( modeInfo[mode].inverseEnable ); cbox->setChecked( inverse[mode] ); - connect( cbox, TQT_SIGNAL( clicked() ), TQT_SLOT( slotInverse() ) ); + connect( cbox, TQ_SIGNAL( clicked() ), TQ_SLOT( slotInverse() ) ); ltm->addWidget( cbox ); // gravity cbox = checkGravity = new TQCheckBox( i18n("Gravity"), main ); cbox->setChecked( gravity[mode] ); - connect( cbox, TQT_SIGNAL( clicked() ), TQT_SLOT( slotGravity() ) ); + connect( cbox, TQ_SIGNAL( clicked() ), TQ_SLOT( slotGravity() ) ); ltm->addWidget( cbox ); // hide background cbox = checkHideBG = new TQCheckBox( i18n("Hide background"), main ); cbox->setChecked( hideBG[mode] ); - connect( cbox, TQT_SIGNAL( clicked() ), TQT_SLOT( slotHideBG() ) ); + connect( cbox, TQ_SIGNAL( clicked() ), TQ_SLOT( slotHideBG() ) ); ltm->addWidget( cbox ); ltm->addStretch(); @@ -902,12 +902,12 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) slideSize->setMinimumSize( 90, 20 ); slideSize->setTickmarks(TQSlider::Below); slideSize->setTickInterval(5); - connect( slideSize, TQT_SIGNAL( sliderMoved( int ) ), - TQT_SLOT( slotSize( int ) ) ); - connect( slideSize, TQT_SIGNAL( sliderPressed() ), - TQT_SLOT( slotSliderPressed() ) ); - connect( slideSize, TQT_SIGNAL( sliderReleased() ), - TQT_SLOT( slotSliderReleased() ) ); + connect( slideSize, TQ_SIGNAL( sliderMoved( int ) ), + TQ_SLOT( slotSize( int ) ) ); + connect( slideSize, TQ_SIGNAL( sliderPressed() ), + TQ_SLOT( slotSliderPressed() ) ); + connect( slideSize, TQ_SIGNAL( sliderReleased() ), + TQ_SLOT( slotSliderReleased() ) ); ltc->addWidget( slideSize ); @@ -920,12 +920,12 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) slideIntensity->setMinimumSize( 90, 20 ); slideIntensity->setTickmarks(TQSlider::Below); slideIntensity->setTickInterval(1); - connect( slideIntensity, TQT_SIGNAL( sliderMoved( int ) ), - TQT_SLOT( slotIntensity( int )) ); - connect( slideIntensity, TQT_SIGNAL( sliderPressed() ), - TQT_SLOT( slotSliderPressed() ) ); - connect( slideIntensity, TQT_SIGNAL( sliderReleased() ), - TQT_SLOT( slotSliderReleased() ) ); + connect( slideIntensity, TQ_SIGNAL( sliderMoved( int ) ), + TQ_SLOT( slotIntensity( int )) ); + connect( slideIntensity, TQ_SIGNAL( sliderPressed() ), + TQ_SLOT( slotSliderPressed() ) ); + connect( slideIntensity, TQ_SIGNAL( sliderReleased() ), + TQ_SLOT( slotSliderReleased() ) ); ltc->addWidget( slideIntensity ); // speed @@ -937,8 +937,8 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) slideSpeed->setMinimumSize( 90, 20 ); slideSpeed->setTickmarks(TQSlider::Below); slideSpeed->setTickInterval(10); - connect( slideSpeed, TQT_SIGNAL( sliderMoved( int ) ), - TQT_SLOT( slotSpeed( int ) ) ); + connect( slideSpeed, TQ_SIGNAL( sliderMoved( int ) ), + TQ_SLOT( slotSpeed( int ) ) ); ltc->addWidget( slideSpeed ); // motion @@ -953,8 +953,8 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) slideMoveX->setMinimumSize( 40, 20 ); slideMoveX->setTickmarks(TQSlider::Below); slideMoveX->setTickInterval(5); - connect( slideMoveX, TQT_SIGNAL( sliderMoved( int ) ), - TQT_SLOT( slotMoveX( int ) ) ); + connect( slideMoveX, TQ_SIGNAL( sliderMoved( int ) ), + TQ_SLOT( slotMoveX( int ) ) ); ltcm->addWidget( slideMoveX ); slideMoveY = new TQSlider(0, SCI_MAX_MOVE, 5, moveY[mode], @@ -962,8 +962,8 @@ KScienceSetup::KScienceSetup( TQWidget *parent, const char *name ) slideMoveY->setMinimumSize( 40, 20 ); slideMoveY->setTickmarks(TQSlider::Below); slideMoveY->setTickInterval(5); - connect( slideMoveY, TQT_SIGNAL( sliderMoved( int ) ), - TQT_SLOT( slotMoveY( int ) ) ); + connect( slideMoveY, TQ_SIGNAL( sliderMoved( int ) ), + TQ_SLOT( slotMoveY( int ) ) ); ltcm->addWidget( slideMoveY ); ltc->addStretch(); |