summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:12:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:12:12 +0900
commitb28cc773efcf6ae234ea4defe7e06c495690fb5e (patch)
treeb7dc618cc43a6183720a3a3a7d7358d497aa8116
parentbca6608668e43fa7a725cf4f982b66f2030c42fb (diff)
downloadlibksquirrel-b28cc773efcf6ae234ea4defe7e06c495690fb5e.tar.gz
libksquirrel-b28cc773efcf6ae234ea4defe7e06c495690fb5e.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--examples/qtapp/main.cpp2
-rw-r--r--examples/qtgl/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/qtapp/main.cpp b/examples/qtapp/main.cpp
index 91c4052..f086d29 100644
--- a/examples/qtapp/main.cpp
+++ b/examples/qtapp/main.cpp
@@ -12,7 +12,7 @@ int main(int argc, char **argv)
QPushButton *b = new QPushButton("Show w3.bmp !", v);
MyQT *qt = new MyQT(v);
- QVBox::connect(b, SIGNAL(clicked()), qt, SLOT(bind()));
+ QVBox::connect(b, TQ_SIGNAL(clicked()), qt, TQ_SLOT(bind()));
v->setStretchFactor(qt, 1);
diff --git a/examples/qtgl/main.cpp b/examples/qtgl/main.cpp
index 1c709dd..308f349 100644
--- a/examples/qtgl/main.cpp
+++ b/examples/qtgl/main.cpp
@@ -18,7 +18,7 @@ int main(int argc, char **argv)
QPushButton *b = new QPushButton("Show w3.bmp !", v);
MyQGL *gl = new MyQGL(v);
- QVBox::connect(b, SIGNAL(clicked()), gl, SLOT(bind()));
+ QVBox::connect(b, TQ_SIGNAL(clicked()), gl, TQ_SLOT(bind()));
v->setStretchFactor(gl, 1);