diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 12:36:03 +0900 |
commit | c0332621bc998c9786f4841e86a62b7711fe4abf (patch) | |
tree | 38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /kpresenter/KPrRectProperty.cpp | |
parent | 6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff) | |
download | koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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()); |