diff options
Diffstat (limited to 'sip/kio/tdesycocaentry.sip')
-rw-r--r-- | sip/kio/tdesycocaentry.sip | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sip/kio/tdesycocaentry.sip b/sip/kio/tdesycocaentry.sip index d428bdd..6bc56be 100644 --- a/sip/kio/tdesycocaentry.sip +++ b/sip/kio/tdesycocaentry.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KSycocaEntry : KShared +class KSycocaEntry : TDEShared { %TypeHeaderCode #include <tdesycocaentry.h> @@ -36,7 +36,7 @@ public: virtual KSycocaType sycocaType () const; public: -//ig typedef KSharedPtr<KSycocaEntry> Ptr; +//ig typedef TDESharedPtr<KSycocaEntry> Ptr; //ig typedef TQValueList<KSycocaEntry::Ptr> List; public: @@ -79,7 +79,7 @@ protected: if (!sipCpp) return NULL; - KSharedPtr<KSycocaEntry> *cPtr = new KSharedPtr<KSycocaEntry> (*(KSharedPtr<KSycocaEntry> *)sipCpp); + TDESharedPtr<KSycocaEntry> *cPtr = new TDESharedPtr<KSycocaEntry> (*(TDESharedPtr<KSycocaEntry> *)sipCpp); KSycocaEntry *cpp = cPtr->data (); PyObject *obj = sipConvertFromInstance (cpp, sipClass_KSycocaEntry, sipTransferObj); @@ -101,7 +101,7 @@ protected: return 0; } - *sipCppPtr = new KSharedPtr<KSycocaEntry> (cpp); + *sipCppPtr = new TDESharedPtr<KSycocaEntry> (cpp); return 1; %End @@ -137,23 +137,23 @@ protected: KSycocaEntry::List *cList = (KSycocaEntry::List *)sipCpp; PyObject *inst; - KSharedPtr<KSycocaEntry> *svc; - KSharedPtr <KService> *svcType; - KSharedPtr <KServiceGroup> *svcGroupType; + TDESharedPtr<KSycocaEntry> *svc; + TDESharedPtr <KService> *svcType; + TDESharedPtr <KServiceGroup> *svcGroupType; KSycocaEntry::List::Iterator it; for( it = cList->begin(); it != cList->end(); ++it ) { - KSharedPtr<KSycocaEntry> svcptr = static_cast<KSycocaEntry::Ptr>(*it); + TDESharedPtr<KSycocaEntry> svcptr = static_cast<KSycocaEntry::Ptr>(*it); svc = &svcptr; if (svc->data ()->sycocaType () == KST_KService) { - svcType = (KSharedPtr<KService> *)svc; + svcType = (TDESharedPtr<KService> *)svc; inst = sipConvertFromType(svcType, sipType_KService_Ptr, sipTransferObj); } else if (svc->data ()->sycocaType () == KST_KServiceGroup) { - svcGroupType = (KSharedPtr <KServiceGroup> *) svc; + svcGroupType = (TDESharedPtr <KServiceGroup> *) svc; inst = sipConvertFromType(svcGroupType, sipType_KServiceGroup_Ptr, sipTransferObj); } else |