summaryrefslogtreecommitdiffstats
path: root/kuser/kuserldap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuser/kuserldap.cpp')
-rw-r--r--kuser/kuserldap.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kuser/kuserldap.cpp b/kuser/kuserldap.cpp
index 5d4979a..d661e35 100644
--- a/kuser/kuserldap.cpp
+++ b/kuser/kuserldap.cpp
@@ -341,7 +341,7 @@ void KUserLDAP::createPassword( KU::KUser *user, const TQString &password )
hash[6], hash[7], hash[8], hash[9], hash[10], hash[11],
hash[12], hash[13], hash[14], hash[15]);
- user->setNTPwd( TQString::tqfromLatin1( (const char*) &hex, 32 ) );
+ user->setNTPwd( TQString::fromLatin1( (const char*) &hex, 32 ) );
if ( mCfg->lanmanhash() ) {
@@ -354,7 +354,7 @@ void KUserLDAP::createPassword( KU::KUser *user, const TQString &password )
hash[6], hash[7], hash[8], hash[9], hash[10], hash[11],
hash[12], hash[13], hash[14], hash[15]);
- user->setLMPwd( TQString::tqfromLatin1( (const char*) &hex, 32 ) );
+ user->setLMPwd( TQString::fromLatin1( (const char*) &hex, 32 ) );
} else {
user->setLMPwd( "" );
}
@@ -372,7 +372,7 @@ void KUserLDAP::getLDIF( KU::KUser *user, bool mod )
cn = mCfg->ldapcnfullname() ? user->getFullName() : user->getName();
if ( cn.isEmpty() ) cn = user->getName();
- gecos = TQString::tqfromLatin1("%1,%2,%3,%4")
+ gecos = TQString::fromLatin1("%1,%2,%3,%4")
.tqarg(user->getFullName())
.tqarg(user->getOffice1())
.tqarg(user->getOffice2())