summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/nfs/nfsentry.h
diff options
context:
space:
mode:
Diffstat (limited to 'filesharing/advanced/nfs/nfsentry.h')
-rw-r--r--filesharing/advanced/nfs/nfsentry.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/filesharing/advanced/nfs/nfsentry.h b/filesharing/advanced/nfs/nfsentry.h
index 42f3c5c5..43071504 100644
--- a/filesharing/advanced/nfs/nfsentry.h
+++ b/filesharing/advanced/nfs/nfsentry.h
@@ -21,14 +21,14 @@
#define NFSENTRY_H
-#include <qstring.h>
-#include <qptrlist.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
class NFSHost
{
public:
- NFSHost(const QString & hostString);
+ NFSHost(const TQString & hostString);
~NFSHost();
NFSHost();
@@ -45,55 +45,55 @@ public:
int anonuid;
int anongid;
- QString name;
+ TQString name;
- QString paramString() const;
- QString toString() const;
+ TQString paramString() const;
+ TQString toString() const;
bool isPublic() const;
/** returns a copy of this host */
NFSHost* copy() const;
protected:
- void parseParamsString(const QString &);
- void setParam(const QString &);
+ void parseParamsString(const TQString &);
+ void setParam(const TQString &);
void initParams();
};
-typedef QPtrList<NFSHost> HostList;
-typedef QPtrListIterator<NFSHost> HostIterator;
+typedef TQPtrList<NFSHost> HostList;
+typedef TQPtrListIterator<NFSHost> HostIterator;
class NFSLine {
public:
- virtual QString toString() const = 0;
+ virtual TQString toString() const = 0;
};
-typedef QPtrList<NFSLine> NFSLineList;
-typedef QPtrListIterator<NFSLine> NFSLineIterator;
+typedef TQPtrList<NFSLine> NFSLineList;
+typedef TQPtrListIterator<NFSLine> NFSLineIterator;
class NFSEmptyLine : public NFSLine {
public:
- virtual QString toString() const { return QString::fromLatin1("\n"); }
+ virtual TQString toString() const { return TQString::fromLatin1("\n"); }
virtual ~NFSEmptyLine() {};
};
class NFSComment : public NFSLine {
public:
- NFSComment(const QString & s) { comment = s; }
+ NFSComment(const TQString & s) { comment = s; }
virtual ~NFSComment() {};
- QString comment;
- virtual QString toString() const { return comment; }
+ TQString comment;
+ virtual TQString toString() const { return comment; }
};
class NFSEntry : public NFSLine {
public:
- NFSEntry(const QString & path);
+ NFSEntry(const TQString & path);
virtual ~NFSEntry();
void addHost(NFSHost * host);
void removeHost(NFSHost * host);
- NFSHost* getHostByName(const QString & name) const;
+ NFSHost* getHostByName(const TQString & name) const;
NFSHost* getPublicHost() const;
HostIterator getHosts() const;
@@ -107,14 +107,14 @@ public:
/** removes all hosts */
void clear();
- QString path() const;
- void setPath(const QString &);
+ TQString path() const;
+ void setPath(const TQString &);
- virtual QString toString() const;
+ virtual TQString toString() const;
protected:
HostList _hosts;
- QString _path;
+ TQString _path;
};
#endif