From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: 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 --- filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'filesharing/advanced/kcm_sambaconf/smbpasswdfile.cpp') 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); } -- cgit v1.2.1