|
Kevin Kofler |
1aacc82 |
diff -ur PyKDE-3.16.6/sip/kdecore/kmountpoint.sip PyKDE-3.16.6-gcc46/sip/kdecore/kmountpoint.sip
|
|
Kevin Kofler |
1aacc82 |
--- PyKDE-3.16.6/sip/kdecore/kmountpoint.sip 2009-06-10 22:52:40.000000000 +0200
|
|
Kevin Kofler |
1aacc82 |
+++ PyKDE-3.16.6-gcc46/sip/kdecore/kmountpoint.sip 2011-02-13 12:19:36.000000000 +0100
|
|
Kevin Kofler |
1aacc82 |
@@ -136,7 +136,10 @@
|
|
Kevin Kofler |
1aacc82 |
KMountPoint::List::Iterator it;
|
|
Kevin Kofler |
1aacc82 |
for( it = cList->begin(); it != cList->end(); ++it )
|
|
Kevin Kofler |
1aacc82 |
{
|
|
Kevin Kofler |
1aacc82 |
- inst = sipConvertFromType(&(KMountPoint::Ptr)(*it), sipType_KMountPoint_Ptr, sipTransferObj);
|
|
Kevin Kofler |
1aacc82 |
+ {
|
|
Kevin Kofler |
1aacc82 |
+ KMountPoint::Ptr p = *it;
|
|
Kevin Kofler |
1aacc82 |
+ inst = sipConvertFromType(&p, sipType_KMountPoint_Ptr, sipTransferObj);
|
|
Kevin Kofler |
1aacc82 |
+ }
|
|
Kevin Kofler |
1aacc82 |
|
|
Kevin Kofler |
1aacc82 |
if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
|
|
Kevin Kofler |
1aacc82 |
{
|
|
Kevin Kofler |
58c503b |
diff -ur PyKDE-3.16.6/sip/kdeui/kkeydialog.sip PyKDE-3.16.6-gcc46/sip/kdeui/kkeydialog.sip
|
|
Kevin Kofler |
58c503b |
--- PyKDE-3.16.6/sip/kdeui/kkeydialog.sip 2009-06-10 23:40:27.000000000 +0200
|
|
Kevin Kofler |
58c503b |
+++ PyKDE-3.16.6-gcc46/sip/kdeui/kkeydialog.sip 2011-02-13 12:39:23.000000000 +0100
|
|
Kevin Kofler |
58c503b |
@@ -204,7 +204,8 @@
|
|
Kevin Kofler |
58c503b |
|
|
Kevin Kofler |
58c503b |
while (it.current ())
|
|
Kevin Kofler |
58c503b |
{
|
|
Kevin Kofler |
58c503b |
- PyObject *a0 = sipConvertFromInstance (&it.currentKey (), sipClass_QCString, sipTransferObj);
|
|
Kevin Kofler |
58c503b |
+ QString key = it.currentKey ();
|
|
Kevin Kofler |
58c503b |
+ PyObject *a0 = sipConvertFromInstance (&key, sipClass_QCString, sipTransferObj);
|
|
Kevin Kofler |
58c503b |
PyObject *a1 = PyInt_FromLong ((long) it.current ());
|
|
Kevin Kofler |
58c503b |
|
|
Kevin Kofler |
58c503b |
if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0))
|
|
Kevin Kofler |
c1b7c3b |
diff -ur PyKDE-3.16.6/sip/kio/kfilemetainfo.sip PyKDE-3.16.6-gcc46/sip/kio/kfilemetainfo.sip
|
|
Kevin Kofler |
c1b7c3b |
--- PyKDE-3.16.6/sip/kio/kfilemetainfo.sip 2006-09-22 05:11:14.000000000 +0200
|
|
Kevin Kofler |
c1b7c3b |
+++ PyKDE-3.16.6-gcc46/sip/kio/kfilemetainfo.sip 2011-02-13 15:04:41.000000000 +0100
|
|
Kevin Kofler |
c1b7c3b |
@@ -256,7 +256,8 @@
|
|
Kevin Kofler |
c1b7c3b |
%MethodCode
|
|
Kevin Kofler |
c1b7c3b |
//returns (KFileMetaInfoItem)
|
|
Kevin Kofler |
c1b7c3b |
//takes key | (QString)
|
|
Kevin Kofler |
c1b7c3b |
- sipRes = &((*sipCpp) [(const QString&) *a0]);
|
|
Kevin Kofler |
c1b7c3b |
+ KFileMetaInfoItem item = (*sipCpp) [(const QString&) *a0];
|
|
Kevin Kofler |
c1b7c3b |
+ sipRes = &ite;;
|
|
Kevin Kofler |
c1b7c3b |
%End
|
|
Kevin Kofler |
c1b7c3b |
|
|
Kevin Kofler |
c1b7c3b |
%End
|
|
Kevin Kofler |
c1b7c3b |
@@ -339,7 +340,8 @@
|
|
Kevin Kofler |
c1b7c3b |
%MethodCode
|
|
Kevin Kofler |
c1b7c3b |
//returns (KFileMetaInfoGroup)
|
|
Kevin Kofler |
c1b7c3b |
//takes key | (QString)
|
|
Kevin Kofler |
c1b7c3b |
- sipRes = &((*sipCpp) [(const QString&)*a0]);
|
|
Kevin Kofler |
c1b7c3b |
+ KFileMetaInfoGroup group = (*sipCpp) [(const QString&)*a0];
|
|
Kevin Kofler |
c1b7c3b |
+ sipRes = &group;
|
|
Kevin Kofler |
c1b7c3b |
%End
|
|
Kevin Kofler |
c1b7c3b |
|
|
Kevin Kofler |
c1b7c3b |
%End
|
|
Kevin Kofler |
cdec3e7 |
diff -ur PyKDE-3.16.6/sip/kio/kservicegroup.sip PyKDE-3.16.6-gcc46/sip/kio/kservicegroup.sip
|
|
Kevin Kofler |
cdec3e7 |
--- PyKDE-3.16.6/sip/kio/kservicegroup.sip 2009-06-10 22:58:33.000000000 +0200
|
|
Kevin Kofler |
cdec3e7 |
+++ PyKDE-3.16.6-gcc46/sip/kio/kservicegroup.sip 2011-02-13 13:06:46.000000000 +0100
|
|
Kevin Kofler |
cdec3e7 |
@@ -235,7 +235,8 @@
|
|
Kevin Kofler |
cdec3e7 |
KServiceGroup::List::Iterator it;
|
|
Kevin Kofler |
cdec3e7 |
for( it = cList->begin(); it != cList->end(); ++it )
|
|
Kevin Kofler |
cdec3e7 |
{
|
|
Kevin Kofler |
cdec3e7 |
- svcGroupType = &(KServiceGroup::SPtr)(*it);
|
|
Kevin Kofler |
cdec3e7 |
+ KServiceGroup::SPtr p = *it;
|
|
Kevin Kofler |
cdec3e7 |
+ svcGroupType = &p;
|
|
Kevin Kofler |
cdec3e7 |
inst = sipConvertFromType(svcGroupType, sipType_KSycocaEntry_Ptr, sipTransferObj);
|
|
Kevin Kofler |
cdec3e7 |
|
|
Kevin Kofler |
cdec3e7 |
if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
|
|
Kevin Kofler |
bb9f546 |
diff -ur PyKDE-3.16.6/sip/kio/kservice.sip PyKDE-3.16.6-gcc46/sip/kio/kservice.sip
|
|
Kevin Kofler |
bb9f546 |
--- PyKDE-3.16.6/sip/kio/kservice.sip 2009-06-10 22:59:28.000000000 +0200
|
|
Kevin Kofler |
bb9f546 |
+++ PyKDE-3.16.6-gcc46/sip/kio/kservice.sip 2011-02-13 14:36:44.000000000 +0100
|
|
Kevin Kofler |
bb9f546 |
@@ -235,7 +235,8 @@
|
|
Kevin Kofler |
bb9f546 |
KService::List::Iterator it;
|
|
Kevin Kofler |
bb9f546 |
for( it = cList->begin(); it != cList->end(); ++it )
|
|
Kevin Kofler |
bb9f546 |
{
|
|
Kevin Kofler |
bb9f546 |
- svc = &(KService::Ptr)(*it);
|
|
Kevin Kofler |
bb9f546 |
+ KService::Ptr p = *it;
|
|
Kevin Kofler |
bb9f546 |
+ svc = &p;
|
|
Kevin Kofler |
bb9f546 |
inst = sipConvertFromType(svc, sipType_KService_Ptr, sipTransferObj);
|
|
Kevin Kofler |
bb9f546 |
|
|
Kevin Kofler |
bb9f546 |
if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
|
|
Kevin Kofler |
cdec3e7 |
diff -ur PyKDE-3.16.6/sip/kio/kservicetype.sip PyKDE-3.16.6-gcc46/sip/kio/kservicetype.sip
|
|
Kevin Kofler |
cdec3e7 |
--- PyKDE-3.16.6/sip/kio/kservicetype.sip 2009-06-10 23:48:24.000000000 +0200
|
|
Kevin Kofler |
cdec3e7 |
+++ PyKDE-3.16.6-gcc46/sip/kio/kservicetype.sip 2011-02-13 13:06:13.000000000 +0100
|
|
Kevin Kofler |
cdec3e7 |
@@ -240,7 +240,8 @@
|
|
Kevin Kofler |
cdec3e7 |
QValueList<KServiceType::Ptr>::Iterator it;
|
|
Kevin Kofler |
cdec3e7 |
for( it = cList->begin(); it != cList->end(); ++it )
|
|
Kevin Kofler |
cdec3e7 |
{
|
|
Kevin Kofler |
cdec3e7 |
- svc = &(KServiceType::Ptr)(*it);
|
|
Kevin Kofler |
cdec3e7 |
+ KServiceType::Ptr p = *it;
|
|
Kevin Kofler |
cdec3e7 |
+ svc = &p;
|
|
Kevin Kofler |
cdec3e7 |
inst = sipConvertFromType(svc, sipType_KServiceType_Ptr, sipTransferObj);
|
|
Kevin Kofler |
cdec3e7 |
|
|
Kevin Kofler |
cdec3e7 |
if ((inst == NULL) || (PyList_Append (plist, inst) < 0))
|
|
Kevin Kofler |
3cb9d87 |
diff -ur PyKDE-3.16.6/sip/kio/ksycocaentry.sip PyKDE-3.16.6-gcc46/sip/kio/ksycocaentry.sip
|
|
Kevin Kofler |
3cb9d87 |
--- PyKDE-3.16.6/sip/kio/ksycocaentry.sip 2009-06-10 23:01:05.000000000 +0200
|
|
Kevin Kofler |
3cb9d87 |
+++ PyKDE-3.16.6-gcc46/sip/kio/ksycocaentry.sip 2011-02-13 14:03:53.000000000 +0100
|
|
Kevin Kofler |
3cb9d87 |
@@ -144,7 +144,8 @@
|
|
Kevin Kofler |
3cb9d87 |
KSycocaEntry::List::Iterator it;
|
|
Kevin Kofler |
3cb9d87 |
for( it = cList->begin(); it != cList->end(); ++it )
|
|
Kevin Kofler |
3cb9d87 |
{
|
|
Kevin Kofler |
3cb9d87 |
- svc = &(KSycocaEntry::Ptr)(*it);
|
|
Kevin Kofler |
3cb9d87 |
+ KSycocaEntry::Ptr p = *it;
|
|
Kevin Kofler |
3cb9d87 |
+ svc = &p;
|
|
Kevin Kofler |
3cb9d87 |
if (svc->data ()->sycocaType () == KST_KService)
|
|
Kevin Kofler |
3cb9d87 |
{
|
|
Kevin Kofler |
3cb9d87 |
svcType = (KSharedPtr<KService> *)svc;
|
|
Kevin Kofler |
4300b90 |
diff -ur PyKDE-3.16.6/sip/kmdi/kmdichildfrm.sip PyKDE-3.16.6-gcc46/sip/kmdi/kmdichildfrm.sip
|
|
Kevin Kofler |
4300b90 |
--- PyKDE-3.16.6/sip/kmdi/kmdichildfrm.sip 2009-06-10 23:49:47.000000000 +0200
|
|
Kevin Kofler |
4300b90 |
+++ PyKDE-3.16.6-gcc46/sip/kmdi/kmdichildfrm.sip 2011-02-13 15:20:32.000000000 +0100
|
|
Kevin Kofler |
4300b90 |
@@ -218,7 +218,8 @@
|
|
Kevin Kofler |
4300b90 |
|
|
Kevin Kofler |
4300b90 |
while (it.current ())
|
|
Kevin Kofler |
4300b90 |
{
|
|
Kevin Kofler |
4300b90 |
- PyObject *a0 = sipConvertFromInstance (&it.currentKey (), sipClass_QString, sipTransferObj);
|
|
Kevin Kofler |
4300b90 |
+ QString key = it.currentKey ();
|
|
Kevin Kofler |
4300b90 |
+ PyObject *a0 = sipConvertFromInstance (&key, sipClass_QString, sipTransferObj);
|
|
Kevin Kofler |
4300b90 |
PyObject *a1 = PyInt_FromLong ((long) it.current ());
|
|
Kevin Kofler |
4300b90 |
|
|
Kevin Kofler |
4300b90 |
if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0))
|