From 7d5aea7e8497095f76841f3dd8f2eab9c4cb58aa Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 8 Jan 2024 11:54:27 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- pytquic3/form.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pytquic3/form.cpp') diff --git a/pytquic3/form.cpp b/pytquic3/form.cpp index 0d1255a..b0de614 100644 --- a/pytquic3/form.cpp +++ b/pytquic3/form.cpp @@ -598,14 +598,14 @@ void Uic::createFormImpl( const TQDomElement &e ) receiver = "self." + receiver; out << indent << "self.connect(" << sender - << ",SIGNAL(\"" << signal << "\")," << receiver; + << ",TQ_SIGNAL(\"" << signal << "\")," << receiver; - // Normally we never use the SLOT() macro in case the + // Normally we never use the TQ_SLOT() macro in case the // connection is to a method of a Python custom widget. The // exception is if the receiver is a TQAxWidget where it must be // used because the slots are dynamic. if (isaxwidget) - out << ",SLOT(\"" << slot << "\")"; + out << ",TQ_SLOT(\"" << slot << "\")"; else { TQString mname = slot.left(slot.find('(')); -- cgit v1.2.1