summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kio_lan/kio_lan.h
diff options
context:
space:
mode:
Diffstat (limited to 'lanbrowsing/kio_lan/kio_lan.h')
-rw-r--r--lanbrowsing/kio_lan/kio_lan.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lanbrowsing/kio_lan/kio_lan.h b/lanbrowsing/kio_lan/kio_lan.h
index 9afecceb..1969700f 100644
--- a/lanbrowsing/kio_lan/kio_lan.h
+++ b/lanbrowsing/kio_lan/kio_lan.h
@@ -24,10 +24,10 @@
#include <kio/tcpslavebase.h>
#include <kio/global.h>
-#include <qvaluevector.h>
-#include <qcstring.h>
-#include <qstring.h>
-#include <qdict.h>
+#include <tqvaluevector.h>
+#include <tqcstring.h>
+#include <tqstring.h>
+#include <tqdict.h>
#include <arpa/inet.h>
#include <sys/types.h>
@@ -44,7 +44,7 @@
struct MyProtocolInfo
{
int enabled;
- QValueVector<int> ports;
+ TQValueVector<int> ports;
//this should be large enough for things like "FTP" and so on
char name[NAMELEN];
};
@@ -58,10 +58,10 @@ struct HostInfo
class LANProtocol : public KIO::TCPSlaveBase
{
public:
- LANProtocol (int isLanIoSlave, const QCString &pool, const QCString &app );
+ LANProtocol (int isLanIoSlave, const TQCString &pool, const TQCString &app );
virtual ~LANProtocol();
- 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 mimetype( const KURL& );
virtual void listDir( const KURL& url);
@@ -69,19 +69,19 @@ class LANProtocol : public KIO::TCPSlaveBase
virtual void get( const KURL& url );
protected:
- QDict<HostInfo> m_hostInfoCache;
+ TQDict<HostInfo> m_hostInfoCache;
int readDataFromServer();
int lanReadDataFromServer();
int rlanReadDataFromServer();
- int checkHost(const QString& host);
- int checkPort(QValueVector<int>& _ports, in_addr ip);
- QString m_currentHost;
+ int checkHost(const TQString& host);
+ int checkPort(TQValueVector<int>& _ports, in_addr ip);
+ TQString m_currentHost;
unsigned short int m_port;
MyProtocolInfo m_protocolInfo[KIOLAN_MAX];
int m_maxAge;
bool m_isLanIoslave;
bool m_shortHostnames;
- QString m_defaultLisaHost;
+ TQString m_defaultLisaHost;
};
#endif