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-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kpresenter/KPrRectProperty.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
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 5608a323e..5e6dc5c24 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()); |
