summaryrefslogtreecommitdiffstats
path: root/sip/tdecore
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdecore')
-rw-r--r--sip/tdecore/klockfile.sip24
-rw-r--r--sip/tdecore/tdeconfig.sip2
-rw-r--r--sip/tdecore/tdeconfigbackend.sip2
3 files changed, 14 insertions, 14 deletions
diff --git a/sip/tdecore/klockfile.sip b/sip/tdecore/klockfile.sip
index 6082dab..fe3bc95 100644
--- a/sip/tdecore/klockfile.sip
+++ b/sip/tdecore/klockfile.sip
@@ -26,7 +26,7 @@
%If ( KDE_3_3_0 - )
-class KLockFile : TDEShared
+class TDELockFile : TDEShared
{
%TypeHeaderCode
#include <klockfile.h>
@@ -34,8 +34,8 @@ class KLockFile : TDEShared
public:
- typedef TDESharedPtr<KLockFile> Ptr;
- KLockFile (const TQString&);
+ typedef TDESharedPtr<TDELockFile> Ptr;
+ TDELockFile (const TQString&);
enum LockResult
{
@@ -52,22 +52,22 @@ public:
LockForce
};
- KLockFile::LockResult lock (int = 0);
+ TDELockFile::LockResult lock (int = 0);
bool isLocked () const;
void unlock ();
int staleTime () const;
void setStaleTime (int);
bool getLockInfo (int& /Out/, TQString& /Out/, TQString& /Out/);
-}; // class KLockFile
+}; // class TDELockFile
%End
%If (KDE_3_3_0 - )
-%MappedType KLockFile::Ptr
-//converts KLockFile
+%MappedType TDELockFile::Ptr
+//converts TDELockFile
{
%TypeHeaderCode
#include <ksharedptr.h>
@@ -80,9 +80,9 @@ public:
if (!sipCpp)
return NULL;
- TDESharedPtr<KLockFile> *cPtr = new TDESharedPtr<KLockFile> (*(TDESharedPtr<KLockFile> *)sipCpp);
- KLockFile *cpp = cPtr->data ();
- PyObject *obj = sipConvertFromInstance (cpp, sipClass_KLockFile, sipTransferObj);
+ TDESharedPtr<TDELockFile> *cPtr = new TDESharedPtr<TDELockFile> (*(TDESharedPtr<TDELockFile> *)sipCpp);
+ TDELockFile *cpp = cPtr->data ();
+ PyObject *obj = sipConvertFromInstance (cpp, sipClass_TDELockFile, sipTransferObj);
return obj;
%End
@@ -94,7 +94,7 @@ public:
return PyInstance_Check(sipPy);
int iserr = 0;
- KLockFile *cpp = (KLockFile *)sipForceConvertToType(sipPy, sipType_KLockFile, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
+ TDELockFile *cpp = (TDELockFile *)sipForceConvertToType(sipPy, sipType_TDELockFile, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
@@ -102,7 +102,7 @@ public:
return 0;
}
- *sipCppPtr = new TDESharedPtr<KLockFile> (cpp);
+ *sipCppPtr = new TDESharedPtr<TDELockFile> (cpp);
return 1;
%End
diff --git a/sip/tdecore/tdeconfig.sip b/sip/tdecore/tdeconfig.sip
index 354bfa0..f93133f 100644
--- a/sip/tdecore/tdeconfig.sip
+++ b/sip/tdecore/tdeconfig.sip
@@ -53,7 +53,7 @@ public:
TDEConfig* copyTo (const TQString&, TDEConfig* = 0) const;
%If ( KDE_3_3_0 - )
- KLockFile::Ptr lockFile (bool = 0);
+ TDELockFile::Ptr lockFile (bool = 0);
%End
%End
diff --git a/sip/tdecore/tdeconfigbackend.sip b/sip/tdecore/tdeconfigbackend.sip
index 1afa8e2..21391a8 100644
--- a/sip/tdecore/tdeconfigbackend.sip
+++ b/sip/tdecore/tdeconfigbackend.sip
@@ -46,7 +46,7 @@ public:
bool checkConfigFilesWritable (bool);
%If ( KDE_3_3_0 - )
- KLockFile::Ptr lockFile (bool = 0);
+ TDELockFile::Ptr lockFile (bool = 0);
%End
%End