diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /filesharing/advanced/kcm_sambaconf/userselectdlg.ui.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/userselectdlg.ui.h')
-rw-r--r-- | filesharing/advanced/kcm_sambaconf/userselectdlg.ui.h | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |