From b28cc773efcf6ae234ea4defe7e06c495690fb5e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 10 Jan 2024 10:12:12 +0900 Subject: [PATCH] Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- examples/qtapp/main.cpp | 2 +- examples/qtgl/main.cpp | 2 +- 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);