summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/krulertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/krulertest.cpp')
-rw-r--r--tdeui/tests/krulertest.cpp70
1 files changed, 35 insertions, 35 deletions
diff --git a/tdeui/tests/krulertest.cpp b/tdeui/tests/krulertest.cpp
index 628c5096e..28bc2a362 100644
--- a/tdeui/tests/krulertest.cpp
+++ b/tdeui/tests/krulertest.cpp
@@ -76,14 +76,14 @@ KRulerTest::KRulerTest( const char *name )
vruler->setOffset( 0 );
vruler->setRange( 0, 1000 );
- connect( bigwidget, TQT_SIGNAL(newXPos(int)),
- hruler, TQT_SLOT(slotNewValue(int)) );
- connect( bigwidget, TQT_SIGNAL(newYPos(int)),
- vruler, TQT_SLOT(slotNewValue(int)) );
- connect( bigwidget, TQT_SIGNAL(newWidth(int)),
- TQT_SLOT(slotNewWidth(int)) );
- connect( bigwidget, TQT_SIGNAL(newHeight(int)),
- TQT_SLOT(slotNewHeight(int)) );
+ connect( bigwidget, TQ_SIGNAL(newXPos(int)),
+ hruler, TQ_SLOT(slotNewValue(int)) );
+ connect( bigwidget, TQ_SIGNAL(newYPos(int)),
+ vruler, TQ_SLOT(slotNewValue(int)) );
+ connect( bigwidget, TQ_SIGNAL(newWidth(int)),
+ TQ_SLOT(slotNewWidth(int)) );
+ connect( bigwidget, TQ_SIGNAL(newHeight(int)),
+ TQ_SLOT(slotNewHeight(int)) );
layout->addWidget(miniwidget, 0, 0);
layout->addWidget(hruler, 0, 1);
@@ -101,38 +101,38 @@ KRulerTest::KRulerTest( const char *name )
showTM->adjustSize();
showTM->move(5,15);
showTM->setChecked(true);
- connect(showTM, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetTinyMarks(bool)) );
+ connect(showTM, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSetTinyMarks(bool)) );
showLM = new TQCheckBox("show little marks", showMarks);
showLM->adjustSize();
showLM->move(5,35);
showLM->setChecked(true);
- connect(showLM, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetLittleMarks(bool)) );
+ connect(showLM, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSetLittleMarks(bool)) );
showMM = new TQCheckBox("show medium marks", showMarks);
showMM->adjustSize();
showMM->move(5,55);
showMM->setChecked(true);
- connect(showMM, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetMediumMarks(bool)) );
+ connect(showMM, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSetMediumMarks(bool)) );
showBM = new TQCheckBox("show big marks", showMarks);
showBM->adjustSize();
showBM->move(5,75);
showBM->setChecked(true);
- connect(showBM, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetBigMarks(bool)) );
+ connect(showBM, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSetBigMarks(bool)) );
showEM = new TQCheckBox("show end marks", showMarks);
showEM->adjustSize();
showEM->move(5,95);
showEM->setChecked(true);
- connect(showEM, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetEndMarks(bool)) );
+ connect(showEM, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSetEndMarks(bool)) );
showPT = new TQCheckBox("show ruler pointer", showMarks);
showPT->adjustSize();
showPT->move(5,115);
showPT->setChecked(true);
- connect(showPT, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotSetRulerPointer(bool)) );
+ connect(showPT, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotSetRulerPointer(bool)) );
fixLen = new TQCheckBox("fix ruler length", showMarks);
fixLen->adjustSize();
fixLen->move(5,135);
fixLen->setChecked(true);
- connect(fixLen, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotFixRulerLength(bool)) );
- connect(fixLen, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotCheckLength(bool)) );
+ connect(fixLen, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotFixRulerLength(bool)) );
+ connect(fixLen, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotCheckLength(bool)) );
lineEdit = new TQGroupBox("Value of begin/end", bigwidget);
lineEdit->setFixedSize(140, 80);
@@ -141,26 +141,26 @@ KRulerTest::KRulerTest( const char *name )
beginMark->setRange(-1000, 1000, 1, false);
beginMark->move(5, 15);
beginMark->setFixedSize(beginMark->sizeHint());
- connect(beginMark, TQT_SIGNAL(valueChanged(int)),
- hruler, TQT_SLOT(slotNewOffset(int)) );
- connect(beginMark, TQT_SIGNAL(valueChanged(int)),
- vruler, TQT_SLOT(slotNewOffset(int)) );
+ connect(beginMark, TQ_SIGNAL(valueChanged(int)),
+ hruler, TQ_SLOT(slotNewOffset(int)) );
+ connect(beginMark, TQ_SIGNAL(valueChanged(int)),
+ vruler, TQ_SLOT(slotNewOffset(int)) );
endMark = new KIntNumInput(0, lineEdit);
endMark->setRange(-1000, 1000, 1, false);
endMark->move(5, 35);
endMark->setFixedSize(endMark->sizeHint());
- connect(endMark, TQT_SIGNAL(valueChanged(int)),
- hruler, TQT_SLOT(slotEndOffset(int)) );
- connect(endMark, TQT_SIGNAL(valueChanged(int)),
- vruler, TQT_SLOT(slotEndOffset(int)) );
+ connect(endMark, TQ_SIGNAL(valueChanged(int)),
+ hruler, TQ_SLOT(slotEndOffset(int)) );
+ connect(endMark, TQ_SIGNAL(valueChanged(int)),
+ vruler, TQ_SLOT(slotEndOffset(int)) );
lengthInput = new KIntNumInput(0, lineEdit);
lengthInput->setRange(-1000, 1000, 1, false);
lengthInput->move(5, 55);
lengthInput->setFixedSize(lengthInput->sizeHint());
- connect(lengthInput, TQT_SIGNAL(valueChanged(int)),
- hruler, TQT_SLOT(slotEndOffset(int)) );
- connect(lengthInput, TQT_SIGNAL(valueChanged(int)),
- vruler, TQT_SLOT(slotEndOffset(int)) );
+ connect(lengthInput, TQ_SIGNAL(valueChanged(int)),
+ hruler, TQ_SLOT(slotEndOffset(int)) );
+ connect(lengthInput, TQ_SIGNAL(valueChanged(int)),
+ vruler, TQ_SLOT(slotEndOffset(int)) );
vertrot = new TQGroupBox("Value of rotate translate for Vert.", bigwidget);
@@ -171,22 +171,22 @@ KRulerTest::KRulerTest( const char *name )
transX->move(5, 15);
transX->setFixedSize(transX->sizeHint());
//transX->setLabel("transx", AlignLeft);
- connect(transX, TQT_SIGNAL(valueChanged(double)),
- TQT_SLOT(slotSetXTrans(double)) );
+ connect(transX, TQ_SIGNAL(valueChanged(double)),
+ TQ_SLOT(slotSetXTrans(double)) );
transY = new KDoubleNumInput(-12.0, vertrot);
transY->setRange(-1000, 1000, 1, false);
transY->move(5, 35);
transY->setFixedSize(transY->sizeHint());
//transY->setLabel("transy", AlignLeft);
- connect(transY, TQT_SIGNAL(valueChanged(double)),
- TQT_SLOT(slotSetYTrans(double)) );
+ connect(transY, TQ_SIGNAL(valueChanged(double)),
+ TQ_SLOT(slotSetYTrans(double)) );
rotV = new KDoubleNumInput(90.0, vertrot);
rotV->setRange(-1000, 1000, 1, false);
rotV->move(5, 55);
rotV->setFixedSize(rotV->sizeHint());
//rotV->setLabel("rot", AlignLeft);
- connect(rotV, TQT_SIGNAL(valueChanged(double)),
- TQT_SLOT(slotSetRotate(double)) );
+ connect(rotV, TQ_SIGNAL(valueChanged(double)),
+ TQ_SLOT(slotSetRotate(double)) );
metricstyle = new TQButtonGroup("metric styles", bigwidget);
@@ -212,7 +212,7 @@ KRulerTest::KRulerTest( const char *name )
mmetric->adjustSize();
mmetric->move(5,95);
metricstyle->insert(mmetric, (int)KRuler::Metres);
- connect ( metricstyle, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotSetMStyle(int)) );
+ connect ( metricstyle, TQ_SIGNAL(clicked(int)), TQ_SLOT(slotSetMStyle(int)) );
setCentralWidget(mainframe);