summaryrefslogtreecommitdiffstats
path: root/puic
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:12:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:12:24 +0900
commit301b5380792b7a368488aa485d3bdb3df81e0808 (patch)
tree02f29183ad7d160b896f76ba08c916e3c97f6226 /puic
parent6c02673b584fd4fbd4761057a5b466bca26036bd (diff)
downloadlibtqt-perl-301b5380792b7a368488aa485d3bdb3df81e0808.tar.gz
libtqt-perl-301b5380792b7a368488aa485d3bdb3df81e0808.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'puic')
-rw-r--r--puic/form.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puic/form.cpp b/puic/form.cpp
index e1e74cc..473eda3 100644
--- a/puic/form.cpp
+++ b/puic/form.cpp
@@ -922,7 +922,7 @@ void Uic::createFormImpl( const TQDomElement &e )
receiver = "this";
out << indent << "TQt::Object::connect(" << sender
- << ", TQT_SIGNAL \"" << signal << "\", "<< receiver << ", TQT_SLOT \"" << slot << "\");" << endl;
+ << ", TQ_SIGNAL \"" << signal << "\", "<< receiver << ", TQ_SLOT \"" << slot << "\");" << endl;
}
} else if ( n.tagName() == "tabstops" ) {
// setup tab order
@@ -1166,7 +1166,7 @@ void Uic::createFormImpl( const TQDomElement &e )
if ( *it == "init()" || *it == "destroy()" )
continue;
int astart = (*it).find('(');
- TQRegExp r( "(\\nsub\\s+" + (*it).left(astart) + "(?:\\s*#\\s*SLOT:[^\\n]+|[ \t]+)?\\n\\{)(\\s*)(\\}\\n)" );
+ TQRegExp r( "(\\nsub\\s+" + (*it).left(astart) + "(?:\\s*#\\s*TQ_SLOT:[^\\n]+|[ \t]+)?\\n\\{)(\\s*)(\\}\\n)" );
r.setMinimal( true );
uiPmInclude.replace( r, "\\1\n" +
indent + "print \"" + nameOfClass + "->" + (*it) +