summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/nfs/nfsentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/nfs/nfsentry.cpp')
-rw-r--r--filesharing/advanced/nfs/nfsentry.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/filesharing/advanced/nfs/nfsentry.cpp b/filesharing/advanced/nfs/nfsentry.cpp
index 207e0eae..8c71053d 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.find('(');
- int r = s.find(')');
+ int l = s.tqfind('(');
+ int r = s.tqfind(')');
initParams();
@@ -90,7 +90,7 @@ void NFSHost::parseParamsString(const TQString & s)
do
{
- i = rest.find(",",0);
+ i = rest.tqfind(",",0);
if (i==-1)
p = rest;
@@ -125,10 +125,10 @@ TQString NFSHost::paramString() const
if (!hide) s+="nohide,";
if (anongid!=65534)
- s+=TQString("anongid=%1,").arg(anongid);
+ s+=TQString("anongid=%1,").tqarg(anongid);
if (anonuid!=65534)
- s+=TQString("anonuid=%1,").arg(anonuid);
+ s+=TQString("anonuid=%1,").tqarg(anonuid);
// get rid of the last ','
s.truncate(s.length()-1);
@@ -251,7 +251,7 @@ void NFSHost::setParam(const TQString & s)
rootSquash = false;
return; }
- int i = p.find("=",0);
+ int i = p.tqfind("=",0);
// get anongid or anonuid
if (i>-1)
@@ -306,7 +306,7 @@ TQString NFSEntry::toString() const
{
TQString s = _path.stripWhiteSpace();
- if (_path.find(' ') > -1) {
+ if (_path.tqfind(' ') > -1) {
s = '"'+s+'"';
}
@@ -360,7 +360,7 @@ NFSHost* NFSEntry::getPublicHost() const
if (result)
return result;
- return getHostByName(TQString::null);
+ return getHostByName(TQString());
}