diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 00:23:17 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 00:23:17 -0600 |
commit | 8f78d8aa940d3d1cf41e279bf0174bc9b95d759a (patch) | |
tree | ecb8eb32e27d854a4342840ca564916c65be998c /sip/tdecore/ktimezones.sip | |
parent | c64839178e70887ed52b276b23ba4ca8a897e4b2 (diff) | |
download | pytde-8f78d8aa940d3d1cf41e279bf0174bc9b95d759a.tar.gz pytde-8f78d8aa940d3d1cf41e279bf0174bc9b95d759a.zip |
Rename KShared
Diffstat (limited to 'sip/tdecore/ktimezones.sip')
-rw-r--r-- | sip/tdecore/ktimezones.sip | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sip/tdecore/ktimezones.sip b/sip/tdecore/ktimezones.sip index b3ed9ea..1f9e612 100644 --- a/sip/tdecore/ktimezones.sip +++ b/sip/tdecore/ktimezones.sip @@ -26,7 +26,7 @@ %If ( KDE_3_5_0 - ) -class KTimezoneSource : KShared +class KTimezoneSource : TDEShared { %TypeHeaderCode #include <ktimezones.h> @@ -56,7 +56,7 @@ public: static const float UNKNOWN; static bool isValidLatitude (float); static bool isValidLongitude (float); - KTimezone (KSharedPtr<KTimezoneSource>, const TQString&, const TQString& = TQString (), float = KTimezone ::UNKNOWN , float = KTimezone ::UNKNOWN , const TQString& = TQString ()); + KTimezone (TDESharedPtr<KTimezoneSource>, const TQString&, const TQString& = TQString (), float = KTimezone ::UNKNOWN , float = KTimezone ::UNKNOWN , const TQString& = TQString ()); TQString name () const; TQString countryCode () const; float latitude () const; @@ -72,7 +72,7 @@ private: public: //force - typedef KSharedPtr<KTimezoneSource> TZSourcePtr; + typedef TDESharedPtr<KTimezoneSource> TZSourcePtr; //end }; // class KTimezone @@ -134,8 +134,8 @@ private: %If (KDE_3_5_0 - ) -%MappedType KSharedPtr<KTimezoneSource> -//converts KSharedPtr<KTimezoneSource> +%MappedType TDESharedPtr<KTimezoneSource> +//converts TDESharedPtr<KTimezoneSource> { %TypeHeaderCode #include <ksharedptr.h> @@ -148,7 +148,7 @@ private: if (!sipCpp) return NULL; - KSharedPtr<KTimezoneSource> *cPtr = new KSharedPtr<KTimezoneSource> (*(KSharedPtr<KTimezoneSource> *)sipCpp); + TDESharedPtr<KTimezoneSource> *cPtr = new TDESharedPtr<KTimezoneSource> (*(TDESharedPtr<KTimezoneSource> *)sipCpp); KTimezoneSource *cpp = cPtr->data (); PyObject *obj = sipConvertFromInstance (cpp, sipClass_KTimezoneSource, sipTransferObj); @@ -170,7 +170,7 @@ private: return 0; } - *sipCppPtr = new KSharedPtr<KTimezoneSource> (cpp); + *sipCppPtr = new TDESharedPtr<KTimezoneSource> (cpp); return 1; %End |