summaryrefslogtreecommitdiffstats
path: root/sip/tdeui/kkeydialog.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdeui/kkeydialog.sip')
-rw-r--r--sip/tdeui/kkeydialog.sip6
1 files changed, 3 insertions, 3 deletions
diff --git a/sip/tdeui/kkeydialog.sip b/sip/tdeui/kkeydialog.sip
index 41d8b3a..60e9c28 100644
--- a/sip/tdeui/kkeydialog.sip
+++ b/sip/tdeui/kkeydialog.sip
@@ -206,7 +206,7 @@ typedef TQDict<int> IntDict;
{
TQString current_key = it.currentKey ();
PyObject *a0 = sipConvertFromInstance (&current_key, sipClass_TQCString, 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))
{
@@ -240,7 +240,7 @@ typedef TQDict<int> IntDict;
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);
@@ -250,7 +250,7 @@ typedef TQDict<int> IntDict;
return 0;
}
- a1 = (int) PyInt_AS_LONG (value);
+ a1 = (int) PyLong_AS_LONG (value);
qdict->insert (*a0, &a1);