summaryrefslogtreecommitdiffstats
path: root/lanbrowsing/kio_lan/kio_lan.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /lanbrowsing/kio_lan/kio_lan.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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