summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrRectProperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrRectProperty.cpp')
-rw-r--r--kpresenter/KPrRectProperty.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kpresenter/KPrRectProperty.cpp b/kpresenter/KPrRectProperty.cpp
index f1732476..73573646 100644
--- a/kpresenter/KPrRectProperty.cpp
+++ b/kpresenter/KPrRectProperty.cpp
@@ -25,23 +25,23 @@
#include <KoImageResource.h>
-#include <qspinbox.h>
-#include <qtoolbutton.h>
-#include <qlayout.h>
+#include <tqspinbox.h>
+#include <tqtoolbutton.h>
+#include <tqlayout.h>
-KPrRectProperty::KPrRectProperty( QWidget *parent, const char *name, KPrRectValueCmd::RectValues &rectValue )
-: QWidget( parent, name )
+KPrRectProperty::KPrRectProperty( TQWidget *tqparent, const char *name, KPrRectValueCmd::RectValues &rectValue )
+: TQWidget( tqparent, name )
, m_rectValue( rectValue )
{
formerVerticalValue = 0;
- QVBoxLayout *layout = new QVBoxLayout( this );
- layout->addWidget( m_ui = new RectPropertyUI( this ) );
+ TQVBoxLayout *tqlayout = new TQVBoxLayout( this );
+ tqlayout->addWidget( m_ui = new RectPropertyUI( this ) );
KoImageResource kir;
m_ui->combineButton->setPixmap(kir.chain());
- connect( m_ui->xRndInput, SIGNAL( valueChanged( int ) ), this, SLOT( slotRndChanged() ) );
- connect( m_ui->yRndInput, SIGNAL( valueChanged( int ) ), this, SLOT( slotRndChanged() ) );
- connect( m_ui->combineButton, SIGNAL( toggled( bool ) ), this, SLOT( combineToggled( bool ) ) );
+ 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 ) ) );
slotReset();
}
@@ -127,17 +127,17 @@ void KPrRectProperty::combineToggled( bool on)
if( on ) {
formerVerticalValue = getYRnd();
m_ui->yRndInput->setValue( getXRnd() );
- connect(m_ui->yRndInput, SIGNAL( valueChanged ( int ) ),
- m_ui->xRndInput, SLOT( setValue ( int ) ));
- connect(m_ui->xRndInput, SIGNAL( valueChanged ( int ) ),
- m_ui->yRndInput, SLOT( setValue ( int ) ));
+ 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 ) ));
m_ui->combineButton->setPixmap(kir.chain());
}
else {
- disconnect(m_ui->yRndInput, SIGNAL( valueChanged ( int ) ),
- m_ui->xRndInput, SLOT( setValue ( int ) ));
- disconnect(m_ui->xRndInput, SIGNAL( valueChanged ( int ) ),
- m_ui->yRndInput, SLOT( setValue ( int ) ));
+ 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 ) ));
if(formerVerticalValue != 0)
m_ui->yRndInput->setValue( formerVerticalValue );
m_ui->combineButton->setPixmap(kir.chainBroken());