summaryrefslogtreecommitdiffstats
path: root/kabc/lock.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/lock.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/lock.h')
-rw-r--r--kabc/lock.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kabc/lock.h b/kabc/lock.h
index 1707d0f13..95f5c87a3 100644
--- a/kabc/lock.h
+++ b/kabc/lock.h
@@ -21,8 +21,8 @@
#ifndef KABC_LOCK_H
#define KABC_LOCK_H
-#include <qstring.h>
-#include <qobject.h>
+#include <tqstring.h>
+#include <tqobject.h>
#include <kdelibs_export.h>
@@ -42,7 +42,7 @@ class KABC_EXPORT Lock : public QObject
@param identifier An identifier for the resource to be locked, e.g. a file
name.
*/
- Lock( const QString &identifier );
+ Lock( const TQString &identifier );
/**
Destruct lock object. This also removes the lock on the resource.
@@ -59,25 +59,25 @@ class KABC_EXPORT Lock : public QObject
*/
virtual bool unlock();
- virtual QString error() const;
+ virtual TQString error() const;
- QString lockFileName() const;
+ TQString lockFileName() const;
- static bool readLockFile( const QString &filename, int &pid, QString &app );
- static bool writeLockFile( const QString &filename );
+ static bool readLockFile( const TQString &filename, int &pid, TQString &app );
+ static bool writeLockFile( const TQString &filename );
- static QString locksDir();
+ static TQString locksDir();
signals:
void locked();
void unlocked();
private:
- QString mIdentifier;
+ TQString mIdentifier;
- QString mLockUniqueName;
+ TQString mLockUniqueName;
- QString mError;
+ TQString mError;
class Private;
Private *d;