diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:28:18 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 20:26:21 +0200 |
commit | 1754e4db964431e721e805a923b689b6c92960e4 (patch) | |
tree | a3cc3a44576f709d992e90ac0a37e6aba2967b57 /kuser/kuserldap.cpp | |
parent | ce22df03899aad1d9eeabb3bba1048a9cb6c5708 (diff) | |
download | tdeadmin-1754e4db964431e721e805a923b689b6c92960e4.tar.gz tdeadmin-1754e4db964431e721e805a923b689b6c92960e4.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit b836ed566cdce05ae8408705487cd10a423f3a90)
Diffstat (limited to 'kuser/kuserldap.cpp')
-rw-r--r-- | kuser/kuserldap.cpp | 6 |
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()) |