diff options
Diffstat (limited to 'kioslave/ldap/kio_ldap.h')
-rw-r--r-- | kioslave/ldap/kio_ldap.h | 28 |
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 ); |