diff options
Diffstat (limited to 'sip/kio/kfilemetainfo.sip')
-rw-r--r-- | sip/kio/kfilemetainfo.sip | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sip/kio/kfilemetainfo.sip b/sip/kio/kfilemetainfo.sip index 77b5871..b0418be 100644 --- a/sip/kio/kfilemetainfo.sip +++ b/sip/kio/kfilemetainfo.sip @@ -256,7 +256,8 @@ public: %MethodCode //returns (KFileMetaInfoItem) //takes key | (QString) - sipRes = &((*sipCpp) [(const QString&) *a0]); + KFileMetaInfoItem sipResObj = ((*sipCpp) [*static_cast<const QString*>(a0)]); + sipRes = &sipResObj; %End %End @@ -339,7 +340,8 @@ public: %MethodCode //returns (KFileMetaInfoGroup) //takes key | (QString) - sipRes = &((*sipCpp) [(const QString&)*a0]); + KFileMetaInfoGroup sipResObj = ((*sipCpp) [*static_cast<const QString*>(a0)]); + sipRes = &sipResObj; %End %End |