summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp10
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);
}