summaryrefslogtreecommitdiffstats
path: root/kioslave/nfs/kio_nfs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/nfs/kio_nfs.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/nfs/kio_nfs.h')
-rw-r--r--kioslave/nfs/kio_nfs.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kioslave/nfs/kio_nfs.h b/kioslave/nfs/kio_nfs.h
index 23eb0b467..9f6d38103 100644
--- a/kioslave/nfs/kio_nfs.h
+++ b/kioslave/nfs/kio_nfs.h
@@ -23,11 +23,11 @@
#include <kio/slavebase.h>
#include <kio/global.h>
-#include <qmap.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qintdict.h>
-#include <qtimer.h>
+#include <tqmap.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqintdict.h>
+#include <tqtimer.h>
#define PORTMAP //this seems to be required to compile on Solaris
#include <rpc/rpc.h>
@@ -55,24 +55,24 @@ class NFSFileHandle
//ostream& operator<<(ostream&, const NFSFileHandle&);
-typedef QMap<QString,NFSFileHandle> NFSFileHandleMap;
+typedef TQMap<TQString,NFSFileHandle> NFSFileHandleMap;
class NFSProtocol : public KIO::SlaveBase
{
public:
- NFSProtocol (const QCString &pool, const QCString &app );
+ NFSProtocol (const TQCString &pool, const TQCString &app );
virtual ~NFSProtocol();
virtual void openConnection();
virtual void closeConnection();
- virtual void setHost( const QString& host, int port, const QString& user, const QString& pass );
+ virtual void setHost( const TQString& host, int port, const TQString& user, const TQString& pass );
virtual void put( const KURL& url, int _mode,bool _overwrite, bool _resume );
virtual void get( const KURL& url );
virtual void listDir( const KURL& url);
- virtual void symlink( const QString &target, const KURL &dest, bool );
+ virtual void symlink( const TQString &target, const KURL &dest, bool );
virtual void stat( const KURL & url);
virtual void mkdir( const KURL& url, int permissions );
virtual void del( const KURL& url, bool isfile);
@@ -81,22 +81,22 @@ class NFSProtocol : public KIO::SlaveBase
virtual void copy( const KURL& src, const KURL &dest, int mode, bool overwrite );
protected:
// void createVirtualDirEntry(KIO::UDSEntry & entry);
- bool checkForError(int clientStat, int nfsStat, const QString& text);
- bool isExportedDir(const QString& path);
+ bool checkForError(int clientStat, int nfsStat, const TQString& text);
+ bool isExportedDir(const TQString& path);
void completeUDSEntry(KIO::UDSEntry& entry, fattr& attributes);
void completeBadLinkUDSEntry(KIO::UDSEntry& entry, fattr& attributes);
- void completeAbsoluteLinkUDSEntry(KIO::UDSEntry& entry, const QCString& path);
- bool isValidLink(const QString& parentDir, const QString& linkDest);
-// bool isAbsoluteLink(const QString& path);
+ void completeAbsoluteLinkUDSEntry(KIO::UDSEntry& entry, const TQCString& path);
+ bool isValidLink(const TQString& parentDir, const TQString& linkDest);
+// bool isAbsoluteLink(const TQString& path);
- NFSFileHandle getFileHandle(QString path);
+ NFSFileHandle getFileHandle(TQString path);
NFSFileHandleMap m_handleCache;
- QIntDict<QString> m_usercache; // maps long ==> QString *
- QIntDict<QString> m_groupcache;
+ TQIntDict<TQString> m_usercache; // maps long ==> TQString *
+ TQIntDict<TQString> m_groupcache;
- QStringList m_exportedDirs;
- QString m_currentHost;
+ TQStringList m_exportedDirs;
+ TQString m_currentHost;
CLIENT *m_client;
CLIENT *m_nfsClient;
timeval total_timeout;