From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- filesharing/advanced/kcm_sambaconf/userselectdlg.ui.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'filesharing/advanced/kcm_sambaconf/userselectdlg.ui.h') diff --git a/filesharing/advanced/kcm_sambaconf/userselectdlg.ui.h b/filesharing/advanced/kcm_sambaconf/userselectdlg.ui.h index af323fe6..48b07abe 100644 --- a/filesharing/advanced/kcm_sambaconf/userselectdlg.ui.h +++ b/filesharing/advanced/kcm_sambaconf/userselectdlg.ui.h @@ -8,7 +8,7 @@ *****************************************************************************/ -void UserSelectDlg::init(const QStringList & specifiedUsers, SambaShare* share) +void UserSelectDlg::init(const TQStringList & specifiedUsers, SambaShare* share) { SmbPasswdFile passwd( KURL(share->getValue("smb passwd file",true,true)) ); SambaUserList sambaList = passwd.getSambaUserList(); @@ -16,7 +16,7 @@ void UserSelectDlg::init(const QStringList & specifiedUsers, SambaShare* share) for (SambaUser * user = sambaList.first(); user; user = sambaList.next() ) { if (! specifiedUsers.contains(user->name)) - new QListViewItem(userListView, user->name, QString::number(user->uid), QString::number(user->gid)); + new TQListViewItem(userListView, user->name, TQString::number(user->uid), TQString::number(user->gid)); } } @@ -24,7 +24,7 @@ void UserSelectDlg::init(const QStringList & specifiedUsers, SambaShare* share) void UserSelectDlg::accept() { - QListViewItemIterator it( userListView); + TQListViewItemIterator it( userListView); for ( ; it.current(); ++it ) { if ( it.current()->isSelected() ) @@ -33,12 +33,12 @@ void UserSelectDlg::accept() access = accessBtnGrp->id(accessBtnGrp->selected()); - QDialog::accept(); + TQDialog::accept(); } -QStringList UserSelectDlg::getSelectedUsers() +TQStringList UserSelectDlg::getSelectedUsers() { return selectedUsers; } -- cgit v1.2.1