summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kbuttonboxtest.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 11:17:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-15 11:09:32 +0900
commit7f03918f8df7479b0e1a88288066201a301e87bf (patch)
treeef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /tdeui/tests/kbuttonboxtest.cpp
parentccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff)
downloadtdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz
tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'tdeui/tests/kbuttonboxtest.cpp')
-rw-r--r--tdeui/tests/kbuttonboxtest.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/tdeui/tests/kbuttonboxtest.cpp b/tdeui/tests/kbuttonboxtest.cpp
index a44175b68..3390ce5f3 100644
--- a/tdeui/tests/kbuttonboxtest.cpp
+++ b/tdeui/tests/kbuttonboxtest.cpp
@@ -43,10 +43,10 @@ int main(int argc, char **argv) {
KButtonBox *bbox = new KButtonBox(w);
TQPushButton *b = bbox->addButton("OK");
b->setDefault(true);
- w->connect(b, TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
- w->connect(bbox->addButton("Cancel"), TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
+ w->connect(b, TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
+ w->connect(bbox->addButton("Cancel"), TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
bbox->addStretch(1);
bbox->addButton("Help");
@@ -72,10 +72,10 @@ int main(int argc, char **argv) {
bbox->addStretch(1);
TQPushButton *b = bbox->addButton("OK");
b->setDefault(true);
- w->connect(b, TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
- w->connect(bbox->addButton("Cancel"), TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
+ w->connect(b, TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
+ w->connect(bbox->addButton("Cancel"), TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
bbox->layout();
tl->addWidget(bbox,0);
tl->activate();
@@ -98,10 +98,10 @@ int main(int argc, char **argv) {
bbox->addStretch(1);
TQPushButton *b = bbox->addButton("OK");
b->setDefault(true);
- w->connect(b, TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
- w->connect(bbox->addButton("Cancel"), TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
+ w->connect(b, TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
+ w->connect(bbox->addButton("Cancel"), TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
bbox->addStretch(1);
bbox->layout();
tl->addWidget(bbox,0);
@@ -127,10 +127,10 @@ int main(int argc, char **argv) {
bbox->addStretch(1);
TQPushButton *b = bbox->addButton("OK");
b->setDefault(true);
- w->connect(b, TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
- w->connect(bbox->addButton("Cancel"), TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
+ w->connect(b, TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
+ w->connect(bbox->addButton("Cancel"), TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
bbox->addButton("Push me and I give you a banana");
bbox->addStretch(1);
@@ -159,10 +159,10 @@ int main(int argc, char **argv) {
bbox->addStretch(1);
TQPushButton *b = bbox->addButton("OK");
b->setDefault(true);
- w->connect(b, TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
- w->connect(bbox->addButton("Cancel"), TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
+ w->connect(b, TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
+ w->connect(bbox->addButton("Cancel"), TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
bbox->addButton("Push me and I give you a banana", true);
bbox->addStretch(1);
@@ -188,10 +188,10 @@ int main(int argc, char **argv) {
KButtonBox *bbox = new KButtonBox(w, KButtonBox::Vertical);
TQPushButton *b = bbox->addButton("OK");
b->setDefault(true);
- w->connect(b, TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
- w->connect(bbox->addButton("Cancel"), TQT_SIGNAL(clicked()),
- w, TQT_SLOT(accept()));
+ w->connect(b, TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
+ w->connect(bbox->addButton("Cancel"), TQ_SIGNAL(clicked()),
+ w, TQ_SLOT(accept()));
bbox->addStretch(1);
bbox->layout();