summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp')
-rw-r--r--filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
index 05a30547..ce411c69 100644
--- a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
+++ b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
@@ -1010,7 +1010,7 @@ void KcmSambaConf::loadCommands(SambaShare*)
void KcmSambaConf::setComboIndexToValue(TQComboBox* box, const TQString & value, SambaShare* share)
{
- int i = box->listBox()->index(box->listBox()->tqfindItem(share->getValue(value,false,true),TQt::ExactMatch));
+ int i = box->listBox()->index(box->listBox()->findItem(share->getValue(value,false,true),TQt::ExactMatch));
box->setCurrentItem(i);
}
@@ -1078,7 +1078,7 @@ void KcmSambaConf::loadUserTab()
{
TQStringList::Iterator it;
- it=added.tqfind(unixUser->name);
+ it=added.find(unixUser->name);
if (it == added.end())
new KListViewItem(_interface->unixUsersListView, unixUser->name, TQString::number(unixUser->uid));
}
@@ -1311,7 +1311,7 @@ void KcmSambaConf::save() {
bool KcmSambaConf::getSocketBoolValue( const TQString & str, const TQString & name )
{
TQString s = str;
- int i = s.tqfind(name ,0,false);
+ int i = s.find(name ,0,false);
if (i > -1)
{
@@ -1335,7 +1335,7 @@ bool KcmSambaConf::getSocketBoolValue( const TQString & str, const TQString & na
int KcmSambaConf::getSocketIntValue( const TQString & str, const TQString & name )
{
TQString s = str;
- int i = s.tqfind(name ,0,false);
+ int i = s.find(name ,0,false);
if (i > -1)
{
@@ -1344,7 +1344,7 @@ int KcmSambaConf::getSocketIntValue( const TQString & str, const TQString & name
{
s = s.remove(0,1);
- i = s.tqfind(" ");
+ i = s.find(" ");
if (i < 0)
i = s.length();
else