summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/libkirc/kirctransfer.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 /kopete/protocols/irc/libkirc/kirctransfer.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 'kopete/protocols/irc/libkirc/kirctransfer.h')
-rw-r--r--kopete/protocols/irc/libkirc/kirctransfer.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/kopete/protocols/irc/libkirc/kirctransfer.h b/kopete/protocols/irc/libkirc/kirctransfer.h
index 3453f5cb..4053d1fd 100644
--- a/kopete/protocols/irc/libkirc/kirctransfer.h
+++ b/kopete/protocols/irc/libkirc/kirctransfer.h
@@ -18,11 +18,11 @@
#ifndef KIRCTRANSFER_H
#define KIRCTRANSFER_H
-#include <qdatastream.h>
-#include <qfile.h>
-#include <qhostaddress.h>
-#include <qobject.h>
-#include <qtextstream.h>
+#include <tqdatastream.h>
+#include <tqfile.h>
+#include <tqhostaddress.h>
+#include <tqobject.h>
+#include <tqtextstream.h>
class KExtendedSocket;
@@ -56,25 +56,25 @@ public:
Closed
};
public:
- Transfer( KIRC::Engine *engine, QString nick,// QString nick_peer_adress
+ Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress
Type type = Unknown,
- QObject *parent = 0L, const char *name = 0L );
+ TQObject *parent = 0L, const char *name = 0L );
- Transfer( KIRC::Engine *engine, QString nick,// QString nick_peer_adress,
- QHostAddress peer_address, Q_UINT16 peer_port,
+ Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress,
+ TQHostAddress peer_address, Q_UINT16 peer_port,
Transfer::Type type,
- QObject *parent = 0L, const char *name = 0L );
+ TQObject *parent = 0L, const char *name = 0L );
- Transfer( KIRC::Engine *engine, QString nick,// QString nick_peer_adress,
+ Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress,
Transfer::Type type,
- QString fileName, Q_UINT32 fileSize,
- QObject *parent = 0L, const char *name = 0L );
+ TQString fileName, Q_UINT32 fileSize,
+ TQObject *parent = 0L, const char *name = 0L );
- Transfer( KIRC::Engine *engine, QString nick,// QString nick_peer_adress,
- QHostAddress peer_address, Q_UINT16 peer_port,
+ Transfer( KIRC::Engine *engine, TQString nick,// TQString nick_peer_adress,
+ TQHostAddress peer_address, Q_UINT16 peer_port,
Transfer::Type type,
- QString fileName, Q_UINT32 fileSize,
- QObject *parent = 0L, const char *name = 0L );
+ TQString fileName, Q_UINT32 fileSize,
+ TQObject *parent = 0L, const char *name = 0L );
/*
For a file transfer properties are:
@@ -88,15 +88,15 @@ public:
Q_UINT32 fileSize
for detemining the file propeties.
*//*
- Transfer( KIRC *engine, QString nick,// QString nick_peer_adress,
- Transfer::Type type, QVariant properties,
- QObject *parent = 0L, const char *name = 0L );
+ Transfer( KIRC *engine, TQString nick,// TQString nick_peer_adress,
+ Transfer::Type type, TQVariant properties,
+ TQObject *parent = 0L, const char *name = 0L );
*/
~Transfer();
KIRC::Engine *engine() const
{ return m_engine; }
- QString nick() const
+ TQString nick() const
{ return m_nick; }
Type type() const
{ return m_type; }
@@ -108,11 +108,11 @@ public:
*/
bool initiate();
- QString fileName() const
+ TQString fileName() const
{ return m_fileName; }
/* Change the file name.
*/
- void setFileName(QString fileName)
+ void setFileName(TQString fileName)
{ m_fileName = fileName; }
unsigned long fileSize() const
{ return m_fileSize; }
@@ -120,15 +120,15 @@ public slots:
bool setSocket( KExtendedSocket *socket );
void closeSocket();
- void setCodec( QTextCodec *codec );
- void writeLine( const QString &msg );
+ void setCodec( TQTextCodec *codec );
+ void writeLine( const TQString &msg );
void flush();
- void userAbort(QString);
+ void userAbort(TQString);
signals:
- void readLine( const QString &msg );
+ void readLine( const TQString &msg );
void fileSizeCurrent( unsigned int );
void fileSizeAcknowledge( unsigned int );
@@ -136,7 +136,7 @@ signals:
// void received(Q_UINT32);
// void sent(Q_UINT32);
- void abort(QString);
+ void abort(TQString);
/* Emited when the transfer is complete.
* Usually it means that the file transfer has successfully finished.
@@ -166,7 +166,7 @@ protected:
// Text member data
QTextStream m_socket_textStream;
-// QTextCodec * m_socket_codec;
+// TQTextCodec * m_socket_codec;
// File member data
QFile m_file;