summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/nfs
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit937b2991d8e78166eea904c80ad04d34607017a4 (patch)
tree2accb8161eab09df5d7a5484ea9ea080ad123168 /filesharing/advanced/nfs
parentdba26cb985af370c33d1767037851705cc561726 (diff)
downloadtdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.tar.gz
tdenetwork-937b2991d8e78166eea904c80ad04d34607017a4.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/nfs')
-rw-r--r--filesharing/advanced/nfs/nfsentry.cpp10
-rw-r--r--filesharing/advanced/nfs/nfsfile.cpp8
2 files changed, 9 insertions, 9 deletions
diff --git a/filesharing/advanced/nfs/nfsentry.cpp b/filesharing/advanced/nfs/nfsentry.cpp
index 8c71053d..b54a3169 100644
--- a/filesharing/advanced/nfs/nfsentry.cpp
+++ b/filesharing/advanced/nfs/nfsentry.cpp
@@ -27,8 +27,8 @@ NFSHost::NFSHost(const TQString & hostString)
TQString s = hostString;
- int l = s.tqfind('(');
- int r = s.tqfind(')');
+ int l = s.find('(');
+ int r = s.find(')');
initParams();
@@ -90,7 +90,7 @@ void NFSHost::parseParamsString(const TQString & s)
do
{
- i = rest.tqfind(",",0);
+ i = rest.find(",",0);
if (i==-1)
p = rest;
@@ -251,7 +251,7 @@ void NFSHost::setParam(const TQString & s)
rootSquash = false;
return; }
- int i = p.tqfind("=",0);
+ int i = p.find("=",0);
// get anongid or anonuid
if (i>-1)
@@ -306,7 +306,7 @@ TQString NFSEntry::toString() const
{
TQString s = _path.stripWhiteSpace();
- if (_path.tqfind(' ') > -1) {
+ if (_path.find(' ') > -1) {
s = '"'+s+'"';
}
diff --git a/filesharing/advanced/nfs/nfsfile.cpp b/filesharing/advanced/nfs/nfsfile.cpp
index 4caea490..ebc33a9c 100644
--- a/filesharing/advanced/nfs/nfsfile.cpp
+++ b/filesharing/advanced/nfs/nfsfile.cpp
@@ -61,7 +61,7 @@ void NFSFile::removeEntry(NFSEntry *entry)
bool NFSFile::hasEntry(NFSEntry *entry)
{
- return 0 < _entries.tqcontains(entry);
+ return 0 < _entries.contains(entry);
}
@@ -151,7 +151,7 @@ bool NFSFile::load()
// Handle quotation marks
if ( completeLine[0] == '"' ) {
- int i = completeLine.tqfind('"',1);
+ int i = completeLine.find('"',1);
if (i == -1) {
kdError() << "NFSFile: Parse error: Missing quotation mark: "
<< completeLine << endl;
@@ -161,9 +161,9 @@ bool NFSFile::load()
hosts = completeLine.mid(i+1);
} else { // no quotation marks
- int i = completeLine.tqfind(' ');
+ int i = completeLine.find(' ');
if (i == -1)
- i = completeLine.tqfind('\t');
+ i = completeLine.find('\t');
if (i == -1)
path = completeLine;