summaryrefslogtreecommitdiffstats
path: root/atlantik/client/monopigator.h
diff options
context:
space:
mode:
Diffstat (limited to 'atlantik/client/monopigator.h')
-rw-r--r--atlantik/client/monopigator.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/atlantik/client/monopigator.h b/atlantik/client/monopigator.h
index 1fd57b1b..b5542fe9 100644
--- a/atlantik/client/monopigator.h
+++ b/atlantik/client/monopigator.h
@@ -17,10 +17,10 @@
#ifndef ATLANTIK_MONOPIGATOR_H
#define ATLANTIK_MONOPIGATOR_H
-#include <qobject.h>
-#include <qbuffer.h>
-#include <qlistview.h>
-#include <qtimer.h>
+#include <tqobject.h>
+#include <tqbuffer.h>
+#include <tqlistview.h>
+#include <tqtimer.h>
#include <kio/job.h>
#include <kurl.h>
@@ -38,30 +38,30 @@ public:
void loadData(const KURL &);
signals:
- void monopigatorAdd(QString ip, QString host, QString port, QString version, int users);
+ void monopigatorAdd(TQString ip, TQString host, TQString port, TQString version, int users);
void finished();
void timeout();
private slots:
- void slotData(KIO::Job *, const QByteArray &);
+ void slotData(KIO::Job *, const TQByteArray &);
void slotResult(KIO::Job *);
void slotTimeout();
private:
- void processData(const QByteArray &, bool = true);
+ void processData(const TQByteArray &, bool = true);
- QBuffer *m_downloadData;
- QTimer *m_timer;
+ TQBuffer *m_downloadData;
+ TQTimer *m_timer;
KIO::Job *m_job;
};
-class MonopigatorEntry : public QObject, public QListViewItem
+class MonopigatorEntry : public TQObject, public QListViewItem
{
Q_OBJECT
public:
- MonopigatorEntry(QListView *parent, QString host, QString latency, QString version, QString users, QString port, QString ip);
- int compare(QListViewItem *i, int col, bool ascending) const;
+ MonopigatorEntry(TQListView *parent, TQString host, TQString latency, TQString version, TQString users, TQString port, TQString ip);
+ int compare(TQListViewItem *i, int col, bool ascending) const;
bool isDev() const;
private slots:
@@ -71,8 +71,8 @@ private slots:
private:
KExtendedSocket *m_latencySocket;
- QTime time;
- QListView *m_parent;
+ TQTime time;
+ TQListView *m_parent;
bool m_isDev;
};