summaryrefslogtreecommitdiffstats
path: root/src/modules/torrent/tc_ktorrentdcopinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/torrent/tc_ktorrentdcopinterface.h')
-rw-r--r--src/modules/torrent/tc_ktorrentdcopinterface.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/modules/torrent/tc_ktorrentdcopinterface.h b/src/modules/torrent/tc_ktorrentdcopinterface.h
index 8f39810f..529fb37e 100644
--- a/src/modules/torrent/tc_ktorrentdcopinterface.h
+++ b/src/modules/torrent/tc_ktorrentdcopinterface.h
@@ -41,6 +41,7 @@ class KviKTorrentDCOPInterface : public KviTorrentInterface,
private KviDCOPHelper
{
Q_OBJECT
+ TQ_OBJECT
public:
@@ -54,13 +55,13 @@ public:
virtual bool start(int i);
virtual bool stop(int i);
virtual bool announce(int i);
- virtual QString state(int i);
- virtual QString name(int i);
+ virtual TQString state(int i);
+ virtual TQString name(int i);
virtual int fileCount(int i);
- virtual QString fileName(int i, int file);
- virtual QString filePriority(int i, int file);
- virtual bool setFilePriority(int i, int file, const QString &prio);
+ virtual TQString fileName(int i, int file);
+ virtual TQString filePriority(int i, int file);
+ virtual bool setFilePriority(int i, int file, const TQString &prio);
virtual bool startAll();
virtual bool stopAll();
@@ -96,9 +97,9 @@ private:
// internal number
int num;
// name displayed in ktorrent
- QString name;
+ TQString name;
// state of torrent
- QString state;
+ TQString state;
// bytes
float size;
// bytes
@@ -117,7 +118,7 @@ private:
bool operator<(const TorrentInfo &ti) { return name < ti.name; }
};
- QValueList<TorrentInfo> m_ti;
+ TQValueList<TorrentInfo> m_ti;
private: