summaryrefslogtreecommitdiffstats
path: root/kuser/kuserldap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuser/kuserldap.cpp')
-rw-r--r--kuser/kuserldap.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kuser/kuserldap.cpp b/kuser/kuserldap.cpp
index 74ee465..5d4979a 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::fromLatin1( (const char*) &hex, 32 ) );
+ user->setNTPwd( TQString::tqfromLatin1( (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::fromLatin1( (const char*) &hex, 32 ) );
+ user->setLMPwd( TQString::tqfromLatin1( (const char*) &hex, 32 ) );
} else {
user->setLMPwd( "" );
}
@@ -372,11 +372,11 @@ void KUserLDAP::getLDIF( KU::KUser *user, bool mod )
cn = mCfg->ldapcnfullname() ? user->getFullName() : user->getName();
if ( cn.isEmpty() ) cn = user->getName();
- gecos = TQString::fromLatin1("%1,%2,%3,%4")
- .arg(user->getFullName())
- .arg(user->getOffice1())
- .arg(user->getOffice2())
- .arg(user->getAddress());
+ gecos = TQString::tqfromLatin1("%1,%2,%3,%4")
+ .tqarg(user->getFullName())
+ .tqarg(user->getOffice1())
+ .tqarg(user->getOffice2())
+ .tqarg(user->getAddress());
samflags = "[U";
samflags += user->getDisabled() ? 'D' : ' ';