summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetetransfermanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/libkopete/kopetetransfermanager.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/kopetetransfermanager.h')
-rw-r--r--kopete/libkopete/kopetetransfermanager.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/kopete/libkopete/kopetetransfermanager.h b/kopete/libkopete/kopetetransfermanager.h
index 53b2711f..30906b97 100644
--- a/kopete/libkopete/kopetetransfermanager.h
+++ b/kopete/libkopete/kopetetransfermanager.h
@@ -40,7 +40,7 @@ class KOPETE_EXPORT FileTransferInfo
public:
enum KopeteTransferDirection { Incoming, Outgoing };
- FileTransferInfo( Contact *, const TQString&, const unsigned long size, const TQString &, KopeteTransferDirection di, const unsigned int id, TQString internalId=TQString::null);
+ FileTransferInfo( Contact *, const TQString&, const unsigned long size, const TQString &, KopeteTransferDirection di, const unsigned int id, TQString internalId=TQString());
~FileTransferInfo() {}
unsigned int transferId() const { return mId; }
const Contact* contact() const { return mContact; }
@@ -63,9 +63,10 @@ private:
/**
* Creates and manages kopete file transfers
*/
-class KOPETE_EXPORT TransferManager : public QObject
+class KOPETE_EXPORT TransferManager : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -78,7 +79,7 @@ public:
* @brief Adds a file transfer to the Kopete::TransferManager
*/
Transfer *addTransfer( Contact *contact, const TQString& file, const unsigned long size, const TQString &recipient , FileTransferInfo::KopeteTransferDirection di);
- int askIncomingTransfer( Contact *contact, const TQString& file, const unsigned long size, const TQString& description=TQString::null, TQString internalId=TQString::null);
+ int askIncomingTransfer( Contact *contact, const TQString& file, const unsigned long size, const TQString& description=TQString(), TQString internalId=TQString());
void removeTransfer( unsigned int id );
/**
@@ -120,7 +121,7 @@ private slots:
void slotComplete(KIO::Job*);
private:
- TransferManager( TQObject *parent );
+ TransferManager( TQObject *tqparent );
static TransferManager *s_transferManager;
int nextID;
@@ -134,6 +135,7 @@ private:
class KOPETE_EXPORT Transfer : public KIO::Job
{
Q_OBJECT
+ TQ_OBJECT
public:
/**