summaryrefslogtreecommitdiffstats
path: root/src/ksvnwidgets/pwstorage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
commitd7633c195a464e4d344ada9eea61afd10110598a (patch)
tree1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/ksvnwidgets/pwstorage.h
parent3fa7eb804f67b2789f128075cc2522f398640250 (diff)
downloadtdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz
tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/ksvnwidgets/pwstorage.h')
-rw-r--r--src/ksvnwidgets/pwstorage.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/ksvnwidgets/pwstorage.h b/src/ksvnwidgets/pwstorage.h
index 93e9680..821005e 100644
--- a/src/ksvnwidgets/pwstorage.h
+++ b/src/ksvnwidgets/pwstorage.h
@@ -20,26 +20,27 @@
#ifndef _PWSTORAGE_H
#define _PWSTORAGE_H
-#include <qstring.h>
-#include <qobject.h>
+#include <tqstring.h>
+#include <tqobject.h>
class PwStorageData;
/**
Access to wallet isn't threadsafe 'cause wallet has not to be called from within threads!
*/
-class PwStorage:public QObject
+class PwStorage:public TQObject
{
Q_OBJECT
+ TQ_OBJECT
protected:
PwStorageData* mData;
public:
- bool getCertPw(const QString&realm,QString&pw);
- bool getLogin(const QString&realm,QString&user,QString&pw);
- bool getCachedLogin(const QString&realm,QString&user,QString&pw);
- bool setCertPw(const QString&realm, const QString&pw);
- bool setLogin(const QString&realm,const QString&user,const QString&pw);
- bool setCachedLogin(const QString&realm,const QString&user,const QString&pw);
+ bool getCertPw(const TQString&realm,TQString&pw);
+ bool getLogin(const TQString&realm,TQString&user,TQString&pw);
+ bool getCachedLogin(const TQString&realm,TQString&user,TQString&pw);
+ bool setCertPw(const TQString&realm, const TQString&pw);
+ bool setLogin(const TQString&realm,const TQString&user,const TQString&pw);
+ bool setCachedLogin(const TQString&realm,const TQString&user,const TQString&pw);
bool connectWallet();
static PwStorage*self();