diff options
Diffstat (limited to 'sip/tdeio/global.sip')
-rw-r--r-- | sip/tdeio/global.sip | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sip/tdeio/global.sip b/sip/tdeio/global.sip index 2618179..5426bc6 100644 --- a/sip/tdeio/global.sip +++ b/sip/tdeio/global.sip @@ -455,17 +455,17 @@ enum CacheControl }; // namespace TDEIO //force -TDEIO::UDSEntry testKIOUDSEntry (TDEIO::UDSEntry); +TDEIO::UDSEntry testTDEIOUDSEntry (TDEIO::UDSEntry); %MethodCode -//takes list | (KIO.UDSEntry) -//returns (KIO.UDSEntry) +//takes list | (_TDEIO.UDSEntry) +//returns (_TDEIO.UDSEntry) sipRes = a0; %End -TDEIO::UDSEntryList testKIOUDSEntryList (TDEIO::UDSEntryList); +TDEIO::UDSEntryList testTDEIOUDSEntryList (TDEIO::UDSEntryList); %MethodCode -//takes list | (KIO.UDSEntryList) -//returns (KIO.UDSEntryList) +//takes list | (_TDEIO.UDSEntryList) +//returns (_TDEIO.UDSEntryList) sipRes = a0; %End @@ -473,10 +473,10 @@ TDEIO::UDSEntryList testKIOUDSEntryList (TDEIO::UDSEntryList); #include <tqmap.h> %End -TDEIO::MetaData testKIOMetaData (TDEIO::MetaData); +TDEIO::MetaData testTDEIOMetaData (TDEIO::MetaData); %MethodCode -//takes dict | (KIO.MetaData) -//returns (KIO.MetaData) +//takes dict | (_TDEIO.MetaData) +//returns (_TDEIO.MetaData) sipRes = a0; %End @@ -484,7 +484,7 @@ TDEIO::MetaData testKIOMetaData (TDEIO::MetaData); %MappedType TDEIO::UDSEntry -//converts a Python list of KIO.UDSAtom +//converts a Python list of _TDEIO.UDSAtom { %TypeHeaderCode #include <tqvaluelist.h> @@ -507,7 +507,7 @@ TDEIO::MetaData testKIOMetaData (TDEIO::MetaData); TQValueList<TDEIO::UDSAtom>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { - if (((inst = sipConvertFromNewType(new TDEIO::UDSAtom(*it), sipType_KIO_UDSAtom, NULL)) == NULL) + if (((inst = sipConvertFromNewType(new TDEIO::UDSAtom(*it), sipType_TDEIO_UDSAtom, NULL)) == NULL) || PyList_Append (pylist, inst) < 0) { Py_DECREF (pylist); @@ -532,7 +532,7 @@ TDEIO::MetaData testKIOMetaData (TDEIO::MetaData); for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (TDEIO::UDSAtom *)sipForceConvertToType(elem, sipType_KIO_UDSAtom, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TDEIO::UDSAtom *)sipForceConvertToType(elem, sipType_TDEIO_UDSAtom, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { @@ -552,7 +552,7 @@ TDEIO::MetaData testKIOMetaData (TDEIO::MetaData); %MappedType TDEIO::UDSEntryList -//converts a Python list of KIO.UDSEntry +//converts a Python list of _TDEIO.UDSEntry { %TypeHeaderCode #include <tqvaluelist.h> @@ -576,7 +576,7 @@ TDEIO::MetaData testKIOMetaData (TDEIO::MetaData); for( it = cpplist->begin(); it != cpplist->end(); ++it ) { TDEIO::UDSEntry cpp = *it; - inst = sipConvertFromType(&cpp, sipType_KIO_UDSEntry, sipTransferObj); + inst = sipConvertFromType(&cpp, sipType_TDEIO_UDSEntry, sipTransferObj); if (PyList_Append (pylist, inst) < 0) { @@ -602,7 +602,7 @@ TDEIO::MetaData testKIOMetaData (TDEIO::MetaData); for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (TDEIO::UDSEntry *)sipForceConvertToType(elem, sipType_KIO_UDSEntry, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TDEIO::UDSEntry *)sipForceConvertToType(elem, sipType_TDEIO_UDSEntry, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { |