From a131499f339ae27686e9effc8088ebdf7bb77dde Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 24 Nov 2023 10:57:03 +0900 Subject: [PATCH] Replaced various '#define' with actual strings - part 3 Signed-off-by: Michele Calgaro (cherry picked from commit 456d0fb6a207e9c80593967f2e37ddd21d32f5a4) --- sip/tqt/tqapplication.sip | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sip/tqt/tqapplication.sip b/sip/tqt/tqapplication.sip index 8875566..e0d88dc 100644 --- a/sip/tqt/tqapplication.sip +++ b/sip/tqt/tqapplication.sip @@ -419,12 +419,12 @@ enum TQtMsgType { }; -SIP_PYCALLABLE tqInstallMsgHandler(SIP_PYCALLABLE /AllowNone/); +SIP_PYCALLABLE qInstallMsgHandler(SIP_PYCALLABLE /AllowNone/); %MethodCode void (*old)(TQtMsgType, const char *); // Treat None as the default handler. - old = tqInstallMsgHandler((a0 != Py_None) ? pytqtMsgHandler : 0); + old = qInstallMsgHandler((a0 != Py_None) ? pytqtMsgHandler : 0); // If we recognise the old handler, then return it. Otherwise return // the default handler. This doesn't exactly mimic the TQt behaviour