diff options
Diffstat (limited to 'kpresenter/KPrRectProperty.cpp')
-rw-r--r-- | kpresenter/KPrRectProperty.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kpresenter/KPrRectProperty.cpp b/kpresenter/KPrRectProperty.cpp index 5608a323..5e6dc5c2 100644 --- a/kpresenter/KPrRectProperty.cpp +++ b/kpresenter/KPrRectProperty.cpp @@ -38,9 +38,9 @@ KPrRectProperty::KPrRectProperty( TQWidget *parent, const char *name, KPrRectVal KoImageResource kir; m_ui->combineButton->setPixmap(kir.chain()); - connect( m_ui->xRndInput, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( slotRndChanged() ) ); - connect( m_ui->yRndInput, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( slotRndChanged() ) ); - connect( m_ui->combineButton, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( combineToggled( bool ) ) ); + connect( m_ui->xRndInput, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( slotRndChanged() ) ); + connect( m_ui->yRndInput, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( slotRndChanged() ) ); + connect( m_ui->combineButton, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( combineToggled( bool ) ) ); slotReset(); } @@ -126,17 +126,17 @@ void KPrRectProperty::combineToggled( bool on) if( on ) { formerVerticalValue = getYRnd(); m_ui->yRndInput->setValue( getXRnd() ); - connect(m_ui->yRndInput, TQT_SIGNAL( valueChanged ( int ) ), - m_ui->xRndInput, TQT_SLOT( setValue ( int ) )); - connect(m_ui->xRndInput, TQT_SIGNAL( valueChanged ( int ) ), - m_ui->yRndInput, TQT_SLOT( setValue ( int ) )); + connect(m_ui->yRndInput, TQ_SIGNAL( valueChanged ( int ) ), + m_ui->xRndInput, TQ_SLOT( setValue ( int ) )); + connect(m_ui->xRndInput, TQ_SIGNAL( valueChanged ( int ) ), + m_ui->yRndInput, TQ_SLOT( setValue ( int ) )); m_ui->combineButton->setPixmap(kir.chain()); } else { - disconnect(m_ui->yRndInput, TQT_SIGNAL( valueChanged ( int ) ), - m_ui->xRndInput, TQT_SLOT( setValue ( int ) )); - disconnect(m_ui->xRndInput, TQT_SIGNAL( valueChanged ( int ) ), - m_ui->yRndInput, TQT_SLOT( setValue ( int ) )); + disconnect(m_ui->yRndInput, TQ_SIGNAL( valueChanged ( int ) ), + m_ui->xRndInput, TQ_SLOT( setValue ( int ) )); + disconnect(m_ui->xRndInput, TQ_SIGNAL( valueChanged ( int ) ), + m_ui->yRndInput, TQ_SLOT( setValue ( int ) )); if(formerVerticalValue != 0) m_ui->yRndInput->setValue( formerVerticalValue ); m_ui->combineButton->setPixmap(kir.chainBroken()); |