summaryrefslogtreecommitdiffstats
path: root/sip/tdemdi/tdemdichildfrm.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdemdi/tdemdichildfrm.sip')
-rw-r--r--sip/tdemdi/tdemdichildfrm.sip6
1 files changed, 3 insertions, 3 deletions
diff --git a/sip/tdemdi/tdemdichildfrm.sip b/sip/tdemdi/tdemdichildfrm.sip
index bd3c674..e55ac41 100644
--- a/sip/tdemdi/tdemdichildfrm.sip
+++ b/sip/tdemdi/tdemdichildfrm.sip
@@ -220,7 +220,7 @@ protected:
{
TQString current_key = it.currentKey ();
PyObject *a0 = sipConvertFromInstance (&current_key, sipClass_TQString, sipTransferObj);
- PyObject *a1 = PyInt_FromLong ((long) it.current ());
+ PyObject *a1 = PyLong_FromLong ((long) it.current ());
if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0))
{
@@ -254,7 +254,7 @@ protected:
a0 = (TQString *)sipForceConvertToType(key, sipType_TQString, sipTransferObj, SIP_NOT_NONE, &a0_state, &iserr);
- if (iserr || !PyInt_Check(value))
+ if (iserr || !PyLong_Check(value))
{
if (a0)
sipReleaseType(a0, sipType_TQString, a0_state);
@@ -264,7 +264,7 @@ protected:
return 0;
}
- a1 = (TQWidget::FocusPolicy) PyInt_AS_LONG (value);
+ a1 = (TQWidget::FocusPolicy) PyLong_AS_LONG (value);
qdict->insert (*a0, &a1);