diff options
Diffstat (limited to 'filesharing/advanced/nfs/nfsentry.cpp')
-rw-r--r-- | filesharing/advanced/nfs/nfsentry.cpp | 10 |
1 files changed, 5 insertions, 5 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+'"'; } |