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.sip66
1 files changed, 33 insertions, 33 deletions
diff --git a/sip/tqt/tqobject.sip b/sip/tqt/tqobject.sip
index 2fb2ac2..ac0ad5f 100644
--- a/sip/tqt/tqobject.sip
+++ b/sip/tqt/tqobject.sip
@@ -1050,8 +1050,8 @@ enum pytqt3SigArgType {
classp_sat,
mtype_sat,
mtypep_sat,
- qvariant_sat,
- qvariantp_sat,
+ tqvariant_sat,
+ tqvariantp_sat,
pyobject_sat,
schar_sat,
sstring_sat,
@@ -1223,14 +1223,14 @@ TQMetaObject *UniversalSlot::staticMetaObject()
}
-bool UniversalSlot::tqt_invoke(int id, TQUObject *qargs)
+bool UniversalSlot::tqt_invoke(int id, TQUObject *tqargs)
{
if (id - staticMetaObject()->slotOffset() != 0)
- return TQObject::tqt_invoke(id, qargs);
+ return TQObject::tqt_invoke(id, tqargs);
bool ok = TRUE;
const pytqt3Signature *psig = conn.sc_signature;
- TQVariant *qv;
+ TQVariant *tqv;
// Save in case it is asked for later.
lastSender = const_cast<TQObject *>(sender());
@@ -1239,9 +1239,9 @@ bool UniversalSlot::tqt_invoke(int id, TQUObject *qargs)
// in a TQVariant instance. At the moment we handle int argument as
// that is all that is needed by PyTQt (and PyKDE).
if (lastSender->inherits("TQSignal"))
- qv = &static_QUType_TQVariant.get(qargs + 1);
+ tqv = &static_QUType_TQVariant.get(tqargs + 1);
else
- qv = 0;
+ tqv = 0;
#ifdef WITH_THREAD
PyGILState_STATE state = PyGILState_Ensure();
@@ -1257,94 +1257,94 @@ bool UniversalSlot::tqt_invoke(int id, TQUObject *qargs)
{
PyObject *arg;
- ++qargs;
+ ++tqargs;
switch (psig->sg_args[a].atype)
{
case char_sat:
case schar_sat:
case uchar_sat:
- arg = PyBytes_FromStringAndSize((char *)static_QUType_ptr.get(qargs), 1);
+ arg = PyBytes_FromStringAndSize((char *)static_QUType_ptr.get(tqargs), 1);
break;
case string_sat:
case sstring_sat:
case ustring_sat:
- arg = PyBytes_FromString((char *)static_QUType_ptr.get(qargs));
+ arg = PyBytes_FromString((char *)static_QUType_ptr.get(tqargs));
break;
case short_sat:
- arg = PyLong_FromLong(*(short *)static_QUType_ptr.get(qargs));
+ arg = PyLong_FromLong(*(short *)static_QUType_ptr.get(tqargs));
break;
case ushort_sat:
- arg = PyLong_FromUnsignedLong(*(unsigned short *)static_QUType_ptr.get(qargs));
+ arg = PyLong_FromUnsignedLong(*(unsigned short *)static_QUType_ptr.get(tqargs));
break;
case int_sat:
- if (qv)
- arg = PyLong_FromLong(qv -> asInt());
+ if (tqv)
+ arg = PyLong_FromLong(tqv -> asInt());
else
- arg = PyLong_FromLong(static_QUType_int.get(qargs));
+ arg = PyLong_FromLong(static_QUType_int.get(tqargs));
break;
case uint_sat:
- arg = PyLong_FromUnsignedLong(*(unsigned *)static_QUType_ptr.get(qargs));
+ arg = PyLong_FromUnsignedLong(*(unsigned *)static_QUType_ptr.get(tqargs));
break;
case long_sat:
- arg = PyLong_FromLong(*(long *)static_QUType_ptr.get(qargs));
+ arg = PyLong_FromLong(*(long *)static_QUType_ptr.get(tqargs));
break;
case ulong_sat:
- arg = PyLong_FromUnsignedLong(*(unsigned long *)static_QUType_ptr.get(qargs));
+ arg = PyLong_FromUnsignedLong(*(unsigned long *)static_QUType_ptr.get(tqargs));
break;
case longlong_sat:
- arg = PyLong_FromLongLong(*(PY_LONG_LONG *)static_QUType_ptr.get(qargs));
+ arg = PyLong_FromLongLong(*(PY_LONG_LONG *)static_QUType_ptr.get(tqargs));
break;
case ulonglong_sat:
- arg = PyLong_FromUnsignedLongLong(*(unsigned PY_LONG_LONG *)static_QUType_ptr.get(qargs));
+ arg = PyLong_FromUnsignedLongLong(*(unsigned PY_LONG_LONG *)static_QUType_ptr.get(tqargs));
break;
case float_sat:
- arg = PyFloat_FromDouble(*(float *)static_QUType_ptr.get(qargs));
+ arg = PyFloat_FromDouble(*(float *)static_QUType_ptr.get(tqargs));
break;
case double_sat:
- arg = PyFloat_FromDouble(static_QUType_double.get(qargs));
+ arg = PyFloat_FromDouble(static_QUType_double.get(tqargs));
break;
case enum_sat:
- arg = sipConvertFromNamedEnum(*(int *)static_QUType_ptr.get(qargs), psig->sg_args[a].u.et);
+ arg = sipConvertFromNamedEnum(*(int *)static_QUType_ptr.get(tqargs), psig->sg_args[a].u.et);
break;
case bool_sat:
- arg = PyLong_FromLong(static_QUType_bool.get(qargs));
+ arg = PyLong_FromLong(static_QUType_bool.get(tqargs));
break;
case void_sat:
- arg = sipConvertFromVoidPtr((void *)static_QUType_ptr.get(qargs));
+ arg = sipConvertFromVoidPtr((void *)static_QUType_ptr.get(tqargs));
break;
case class_sat:
case classp_sat:
- arg = sipConvertFromInstance((void *)static_QUType_ptr.get(qargs),psig->sg_args[a].u.wt,0);
+ arg = sipConvertFromInstance((void *)static_QUType_ptr.get(tqargs),psig->sg_args[a].u.wt,0);
break;
case mtype_sat:
case mtypep_sat:
- arg = sipConvertFromMappedType((void *)static_QUType_ptr.get(qargs),psig->sg_args[a].u.mt,0);
+ arg = sipConvertFromMappedType((void *)static_QUType_ptr.get(tqargs),psig->sg_args[a].u.mt,0);
break;
- case qvariant_sat:
- case qvariantp_sat:
- arg = sipConvertFromInstance((void *)&static_QUType_TQVariant.get(qargs),sipClass_TQVariant,0);
+ case tqvariant_sat:
+ case tqvariantp_sat:
+ arg = sipConvertFromInstance((void *)&static_QUType_TQVariant.get(tqargs),sipClass_TQVariant,0);
break;
case pyobject_sat:
- arg = (PyObject *)static_QUType_ptr.get(qargs);
+ arg = (PyObject *)static_QUType_ptr.get(tqargs);
break;
default:
@@ -1665,12 +1665,12 @@ static void parseType(const char *type, pytqt3SigArg *arg)
{
if (indir == 0)
{
- sat = qvariant_sat;
+ sat = tqvariant_sat;
unsup = FALSE;
}
else if (indir == 1)
{
- sat = qvariantp_sat;
+ sat = tqvariantp_sat;
unsup = FALSE;
}
}