summaryrefslogtreecommitdiffstats
path: root/kioslave/ldap/kio_ldap.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/ldap/kio_ldap.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/ldap/kio_ldap.h')
-rw-r--r--kioslave/ldap/kio_ldap.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kioslave/ldap/kio_ldap.h b/kioslave/ldap/kio_ldap.h
index ff722d345..d262b61ea 100644
--- a/kioslave/ldap/kio_ldap.h
+++ b/kioslave/ldap/kio_ldap.h
@@ -1,8 +1,8 @@
#ifndef __LDAP_H__
#define __LDAP_H__
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
#include <kio/slavebase.h>
#include <kio/authinfo.h>
@@ -15,11 +15,11 @@
class LDAPProtocol : public KIO::SlaveBase
{
public:
- LDAPProtocol( const QCString &protocol, const QCString &pool, const QCString &app );
+ LDAPProtocol( const TQCString &protocol, const TQCString &pool, const TQCString &app );
virtual ~LDAPProtocol();
- virtual void setHost( const QString& host, int port,
- const QString& user, const QString& pass );
+ virtual void setHost( const TQString& host, int port,
+ const TQString& user, const TQString& pass );
virtual void openConnection();
virtual void closeConnection();
@@ -34,28 +34,28 @@ class LDAPProtocol : public KIO::SlaveBase
private:
- QString mHost;
+ TQString mHost;
int mPort;
- QString mUser;
- QString mPassword;
+ TQString mUser;
+ TQString mPassword;
LDAP *mLDAP;
int mVer, mSizeLimit, mTimeLimit;
bool mTLS;
bool mAuthSASL;
- QString mMech,mRealm,mBindName;
+ TQString mMech,mRealm,mBindName;
bool mCancel, mFirstAuth;
void controlsFromMetaData( LDAPControl ***serverctrls,
LDAPControl ***clientctrls );
- void addControlOp( LDAPControl ***pctrls, const QString &oid,
- const QByteArray &value, bool critical );
+ void addControlOp( LDAPControl ***pctrls, const TQString &oid,
+ const TQByteArray &value, bool critical );
void addModOp( LDAPMod ***pmods, int mod_type,
- const QString &attr, const QByteArray &value );
- void LDAPEntry2UDSEntry( const QString &dn, KIO::UDSEntry &entry,
+ const TQString &attr, const TQByteArray &value );
+ void LDAPEntry2UDSEntry( const TQString &dn, KIO::UDSEntry &entry,
const KABC::LDAPUrl &usrc, bool dir=false );
int asyncSearch( KABC::LDAPUrl &usrc );
- QCString LDAPEntryAsLDIF( LDAPMessage *msg );
+ TQCString LDAPEntryAsLDIF( LDAPMessage *msg );
void LDAPErr( const KURL &url, int err = LDAP_SUCCESS );
void changeCheck( KABC::LDAPUrl &url );