summaryrefslogtreecommitdiffstats
path: root/src/moc/moc.y
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /src/moc/moc.y
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'src/moc/moc.y')
-rw-r--r--src/moc/moc.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/moc/moc.y b/src/moc/moc.y
index 86fd20dea..4b754b7bc 100644
--- a/src/moc/moc.y
+++ b/src/moc/moc.y
@@ -2134,7 +2134,7 @@ void registerClassInNamespace()
}
//
-// Remove white space from SIGNAL and SLOT names.
+// Remove white space from TQ_SIGNAL and TQ_SLOT names.
// This function has been copied from qobject.cpp.
//
@@ -3138,7 +3138,7 @@ void generateClass() // generate C++ source code for a class
fixRightAngles( &argstr );
- fprintf( out, "\n// SIGNAL %s\n", (const char*)f->name );
+ fprintf( out, "\n// TQ_SIGNAL %s\n", (const char*)f->name );
fprintf( out, "%s %s::%s(", (const char*) f->type,
(const char*)qualifiedClassName(),
(const char*)f->name );