summaryrefslogtreecommitdiffstats
path: root/kio/misc/kdesasl/kdesasl.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 /kio/misc/kdesasl/kdesasl.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 'kio/misc/kdesasl/kdesasl.h')
-rw-r--r--kio/misc/kdesasl/kdesasl.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kio/misc/kdesasl/kdesasl.h b/kio/misc/kdesasl/kdesasl.h
index 834c83913..4049b96eb 100644
--- a/kio/misc/kdesasl/kdesasl.h
+++ b/kio/misc/kdesasl/kdesasl.h
@@ -20,7 +20,7 @@
#ifndef KDESASL_H
#define KDESASL_H
-#include <qstring.h>
+#include <tqstring.h>
#include <kdelibs_export.h>
@@ -59,7 +59,7 @@ class QStrIList;
* mySendAuthCommand( sasl.method() );
* }
* for ( ; !sasl.dialogComplete( numResponses ) ; ++numResponses ) {
- * QByteArray challenge = myRecvChallenge();
+ * TQByteArray challenge = myRecvChallenge();
* mySendResponse( sasl.getResponse( challenge ) );
* }
* return myCheckSuccess();
@@ -82,7 +82,7 @@ public:
* This is a conveniece function and differs from the above function only by
* what arguments it accepts.
*/
- KDESasl(const QString &aUser, const QString &aPass, const QString &aProtocol);
+ KDESasl(const TQString &aUser, const TQString &aPass, const TQString &aProtocol);
/*
* You need to have a virtual destructor!
*/
@@ -91,16 +91,16 @@ public:
* @returns the most secure method from the given methods and use it for
* further operations.
*/
- virtual QCString chooseMethod(const QStrIList aMethods);
+ virtual TQCString chooseMethod(const TQStrIList aMethods);
/**
* Explicitely set the SASL method used.
*/
- virtual void setMethod(const QCString &aMethod);
+ virtual void setMethod(const TQCString &aMethod);
/**
* @return the SASL method used.
* @since 3.2
*/
- QCString method() const;
+ TQCString method() const;
/**
* @param numCalls number of times getResponse() has been called.
* @return whether the challenge/response dialog has completed
@@ -126,11 +126,11 @@ public:
* encoding. The challenge is decoded from base64 and the response is
* encoded base64 if set to true.
*/
- QCString getResponse(const QByteArray &aChallenge=QByteArray(), bool aBase64 = true);
+ TQCString getResponse(const TQByteArray &aChallenge=TQByteArray(), bool aBase64 = true);
/**
* Create a response as above but place it in a QByteArray
*/
- QByteArray getBinaryResponse(const QByteArray &aChallenge=QByteArray(), bool aBase64=true);
+ TQByteArray getBinaryResponse(const TQByteArray &aChallenge=TQByteArray(), bool aBase64=true);
/**
* Returns true if the client is supposed to initiate the
* challenge-respinse dialog with an initial response (which most
@@ -146,23 +146,23 @@ protected:
/**
* PLAIN authentication as described in RFC 2595
*/
- virtual QByteArray getPlainResponse();
+ virtual TQByteArray getPlainResponse();
/**
* LOGIN authentication
*/
- virtual QByteArray getLoginResponse();
+ virtual TQByteArray getLoginResponse();
/**
* CRAM-MD5 authentication as described in RFC 2195
*/
- virtual QByteArray getCramMd5Response(const QByteArray &aChallenge);
+ virtual TQByteArray getCramMd5Response(const TQByteArray &aChallenge);
/**
* DIGEST-MD5 authentication as described in RFC 2831
*/
- virtual QByteArray getDigestMd5Response(const QByteArray &aChallenge);
+ virtual TQByteArray getDigestMd5Response(const TQByteArray &aChallenge);
private:
- QString mProtocol, mUser, mPass;
- QCString mMethod;
+ TQString mProtocol, mUser, mPass;
+ TQCString mMethod;
bool mFirst;
};