diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp')
-rw-r--r-- | filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp b/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp index 8286cdf3..406e609f 100644 --- a/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp +++ b/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp @@ -99,10 +99,10 @@ SambaUserList SmbPasswdFile::getSambaUserList() SambaUser* user = new SambaUser(l[0],l[1].toInt()); user->gid = getUserGID(l[0]); - user->isUserAccount = l[4].contains('U'); - user->hasNoPassword = l[4].contains('N');; - user->isDisabled = l[4].contains('D');; - user->isWorkstationTrustAccount = l[4].contains('W');; + user->isUserAccount = l[4].tqcontains('U'); + user->hasNoPassword = l[4].tqcontains('N');; + user->isDisabled = l[4].tqcontains('D');; + user->isWorkstationTrustAccount = l[4].tqcontains('W');; list.append(user); } f.close(); @@ -175,7 +175,7 @@ bool SmbPasswdFile::changePassword(const SambaUser & user, const TQString & newP void SmbPasswdFile::smbpasswdStdOutReceived(KProcess *, char *buffer, int buflen) { - _smbpasswdOutput+=TQString::fromLatin1(buffer,buflen); + _smbpasswdOutput+=TQString::tqfromLatin1(buffer,buflen); } |