diff options
Diffstat (limited to 'tdeui/tests/knuminputtest.cpp')
-rw-r--r-- | tdeui/tests/knuminputtest.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tdeui/tests/knuminputtest.cpp b/tdeui/tests/knuminputtest.cpp index 9a333dfda..8e99df1b9 100644 --- a/tdeui/tests/knuminputtest.cpp +++ b/tdeui/tests/knuminputtest.cpp @@ -26,7 +26,7 @@ void TopLevel::slotPrint( double n ) { kdDebug() << "slotPrint( " << n << " )" << endl; } -#define conn(x,y) connect( x, TQT_SIGNAL(valueChanged(y)), TQT_SLOT(slotPrint(y))) +#define conn(x,y) connect( x, TQ_SIGNAL(valueChanged(y)), TQ_SLOT(slotPrint(y))) TopLevel::TopLevel(TQWidget *parent, const char *name) : TQWidget(parent, name) { @@ -67,10 +67,10 @@ TopLevel::TopLevel(TQWidget *parent, const char *name) i6->setLabel("Height (should be 2xWidth):"); i6->setRange(0, 200, 1, false); i6->setReferencePoint( 10 ); - connect( i5, TQT_SIGNAL(relativeValueChanged(double)), - i6, TQT_SLOT(setRelativeValue(double)) ); - connect( i6, TQT_SIGNAL(relativeValueChanged(double)), - i5, TQT_SLOT(setRelativeValue(double)) ); + connect( i5, TQ_SIGNAL(relativeValueChanged(double)), + i6, TQ_SLOT(setRelativeValue(double)) ); + connect( i6, TQ_SIGNAL(relativeValueChanged(double)), + i5, TQ_SLOT(setRelativeValue(double)) ); i7 = new KIntNumInput(i6, 0, b1, 10); i7->setLabel("math test:", AlignVCenter|AlignLeft ); @@ -119,10 +119,10 @@ TopLevel::TopLevel(TQWidget *parent, const char *name) d7 = new KDoubleNumInput(d6, -30, 30, 0, 0.001, 3, b2, "d7"); d7->setReferencePoint( -3 ); - connect( d6, TQT_SIGNAL(relativeValueChanged(double)), - d7, TQT_SLOT(setRelativeValue(double)) ); - connect( d7, TQT_SIGNAL(relativeValueChanged(double)), - d6, TQT_SLOT(setRelativeValue(double)) ); + connect( d6, TQ_SIGNAL(relativeValueChanged(double)), + d7, TQ_SLOT(setRelativeValue(double)) ); + connect( d7, TQ_SIGNAL(relativeValueChanged(double)), + d6, TQ_SLOT(setRelativeValue(double)) ); l->addWidget(b2); } |