diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:23:17 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 00:23:17 -0600 |
commit | 8f78d8aa940d3d1cf41e279bf0174bc9b95d759a (patch) | |
tree | ecb8eb32e27d854a4342840ca564916c65be998c /sip/kio/kservice.sip | |
parent | c64839178e70887ed52b276b23ba4ca8a897e4b2 (diff) | |
download | pytde-8f78d8aa940d3d1cf41e279bf0174bc9b95d759a.tar.gz pytde-8f78d8aa940d3d1cf41e279bf0174bc9b95d759a.zip |
Rename KShared
Diffstat (limited to 'sip/kio/kservice.sip')
-rw-r--r-- | sip/kio/kservice.sip | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sip/kio/kservice.sip b/sip/kio/kservice.sip index f9e2fd9..07799a6 100644 --- a/sip/kio/kservice.sip +++ b/sip/kio/kservice.sip @@ -32,7 +32,7 @@ class KService : KSycocaEntry public: -//ig typedef KSharedPtr<KService> Ptr; +//ig typedef TDESharedPtr<KService> Ptr; //ig typedef TQValueList<KService::Ptr> List; public: @@ -164,7 +164,7 @@ protected: %TypeHeaderCode #include <ksharedptr.h> #include <kservice.h> -//typedef KSharedPtr<KService> SvcPtr; +//typedef TDESharedPtr<KService> SvcPtr; //typedef KService::Ptr SvcPtr; %End @@ -174,7 +174,7 @@ protected: if (!sipCpp) return NULL; - KSharedPtr<KService> *cPtr = new KSharedPtr<KService> (*(KSharedPtr<KService> *)sipCpp); + TDESharedPtr<KService> *cPtr = new TDESharedPtr<KService> (*(TDESharedPtr<KService> *)sipCpp); KService *cpp = cPtr->data (); PyObject *obj = sipConvertFromInstance (cpp, sipClass_KService, sipTransferObj); @@ -196,7 +196,7 @@ protected: return 0; } - *sipCppPtr = new KSharedPtr<KService> (cpp); + *sipCppPtr = new TDESharedPtr<KService> (cpp); return 1; %End @@ -209,7 +209,7 @@ protected: %TypeHeaderCode #include <tqvaluelist.h> #include <kservice.h> -//typedef KSharedPtr<KService> Ptr; +//typedef TDESharedPtr<KService> Ptr; //typedef TQValueList<Ptr> SvcList; //typedef KService::List SvcList; typedef TQValueList<KService::Ptr> List; @@ -230,12 +230,12 @@ typedef TQValueList<KService::Ptr> List; // Get it. KService::List *cList = (KService::List *)sipCpp; PyObject *inst; - KSharedPtr<KService> *svc; + TDESharedPtr<KService> *svc; KService::List::Iterator it; for( it = cList->begin(); it != cList->end(); ++it ) { - KSharedPtr <KService> svcptr = static_cast<KService::Ptr>(*it); + TDESharedPtr <KService> svcptr = static_cast<KService::Ptr>(*it); svc = &svcptr; inst = sipConvertFromType(svc, sipType_KService_Ptr, sipTransferObj); |