summaryrefslogtreecommitdiffstats
path: root/sip/tqt/tqobject.sip
diff options
context:
space:
mode:
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;
}
}