diff options
author | Michele Calgaro <[email protected]> | 2024-01-10 10:12:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-11 09:56:27 +0900 |
commit | a125c8f3ff95de0426f83e3ff8e4fe3ae81b46e5 (patch) | |
tree | b7dc618cc43a6183720a3a3a7d7358d497aa8116 | |
parent | 592f28f9ed11d7b3571804bd164f9e8196a8b3e3 (diff) | |
download | libksquirrel-a125c8f3ff95de0426f83e3ff8e4fe3ae81b46e5.tar.gz libksquirrel-a125c8f3ff95de0426f83e3ff8e4fe3ae81b46e5.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit b28cc773efcf6ae234ea4defe7e06c495690fb5e)
-rw-r--r-- | examples/qtapp/main.cpp | 2 | ||||
-rw-r--r-- | 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); |