diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/regexptester | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/regexptester')
-rw-r--r-- | examples/regexptester/main.cpp | 2 | ||||
-rw-r--r-- | examples/regexptester/regexptester.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/regexptester/main.cpp b/examples/regexptester/main.cpp index 1d372e4b9..c52c8373b 100644 --- a/examples/regexptester/main.cpp +++ b/examples/regexptester/main.cpp @@ -6,6 +6,6 @@ int main(int argc, char **argv) TQApplication app(argc, argv); RegexpTester form; form.show(); - app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); + app.connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit())); return app.exec(); } diff --git a/examples/regexptester/regexptester.cpp b/examples/regexptester/regexptester.cpp index caa581784..e9743515f 100644 --- a/examples/regexptester/regexptester.cpp +++ b/examples/regexptester/regexptester.cpp @@ -70,9 +70,9 @@ RegexpTester::RegexpTester(TQWidget* parent, const char* name, bool modal, languageChange(); - connect(copyPushButton, SIGNAL(clicked()), this, SLOT(copy())); - connect(executePushButton, SIGNAL(clicked()), this, SLOT(execute())); - connect(quitPushButton, SIGNAL(clicked()), this, SLOT(accept())); + connect(copyPushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(copy())); + connect(executePushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(execute())); + connect(quitPushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept())); execute(); } |