summaryrefslogtreecommitdiffstats
path: root/sip/tqt/tqobject.sip
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-08 11:54:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-11 10:03:08 +0900
commit27f46d6031d41aa6ce071885a7e280e1097680e1 (patch)
treedbb592ad2f606c9a8e56ed6aa4f4f562c8928002 /sip/tqt/tqobject.sip
parenta131499f339ae27686e9effc8088ebdf7bb77dde (diff)
downloadpytqt-27f46d6031d41aa6ce071885a7e280e1097680e1.tar.gz
pytqt-27f46d6031d41aa6ce071885a7e280e1097680e1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7d5aea7e8497095f76841f3dd8f2eab9c4cb58aa)
Diffstat (limited to 'sip/tqt/tqobject.sip')
-rw-r--r--sip/tqt/tqobject.sip14
1 files changed, 7 insertions, 7 deletions
diff --git a/sip/tqt/tqobject.sip b/sip/tqt/tqobject.sip
index e879c01..20aa579 100644
--- a/sip/tqt/tqobject.sip
+++ b/sip/tqt/tqobject.sip
@@ -606,11 +606,11 @@ SIP_PYOBJECT TQT_TRANSLATE_NOOP(SIP_PYOBJECT,SIP_PYOBJECT);
%End
-SIP_PYOBJECT SLOT(const char * /Encoding="ASCII"/) /TypeHint="TQT_SLOT"/;
+SIP_PYOBJECT TQ_SLOT(const char * /Encoding="ASCII"/) /TypeHint="TQ_SLOT"/;
%MethodCode
if (!a0)
{
- PyErr_Format(PyExc_TypeError,"tqt.SLOT() slot name cannot be None");
+ PyErr_Format(PyExc_TypeError,"tqt.TQ_SLOT() slot name cannot be None");
sipIsErr = 1;
}
else
@@ -631,11 +631,11 @@ SIP_PYOBJECT SLOT(const char * /Encoding="ASCII"/) /TypeHint="TQT_SLOT"/;
%End
-SIP_PYOBJECT SIGNAL(const char * /Encoding="ASCII"/) /TypeHint="TQT_SIGNAL"/;
+SIP_PYOBJECT TQ_SIGNAL(const char * /Encoding="ASCII"/) /TypeHint="TQ_SIGNAL"/;
%MethodCode
if (!a0)
{
- PyErr_Format(PyExc_TypeError,"tqt.SIGNAL() signal cannot be None");
+ PyErr_Format(PyExc_TypeError,"tqt.TQ_SIGNAL() signal cannot be None");
sipIsErr = 1;
}
else
@@ -1149,10 +1149,10 @@ UniversalSlot::UniversalSlot(TQObject *tqtx, pytqt3SlotConnection *connection, c
// Detect when the transmitter is destroyed.
if (tqtx)
- connect(tqtx, SIGNAL(destroyed(TQObject *)), SLOT(deleteLater()));
+ connect(tqtx, TQ_SIGNAL(destroyed(TQObject *)), TQ_SLOT(deleteLater()));
// Return the slot to connect to.
- *member = SLOT(unislot());
+ *member = TQ_SLOT(unislot());
// Add this one to the global list.
nextus = unislots;
@@ -1793,7 +1793,7 @@ static void *sipTQtFindSlot(void *tx, const char *sig, PyObject *rxObj,
if (sipSameSlot(&conn->sc_slot, rxObj, slot))
{
- *member = SLOT(unislot());
+ *member = TQ_SLOT(unislot());
return us;
}
}