diff options
Diffstat (limited to 'knode/knnetaccess.h')
-rw-r--r-- | knode/knnetaccess.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/knode/knnetaccess.h b/knode/knnetaccess.h index 02450b9c7..e86f4a9cb 100644 --- a/knode/knnetaccess.h +++ b/knode/knnetaccess.h @@ -15,9 +15,9 @@ #ifndef KNNETACCESS_H #define KNNETACCESS_H -#include <qobject.h> -#include <qmutex.h> -#include <qvaluelist.h> +#include <tqobject.h> +#include <tqmutex.h> +#include <tqvaluelist.h> class QSocketNotifier; @@ -34,13 +34,13 @@ class KNJobData; class KNNntpClient; -class KNNetAccess : public QObject { +class KNNetAccess : public TQObject { Q_OBJECT public: - KNNetAccess(QObject *parent=0, const char *name=0); + KNNetAccess(TQObject *parent=0, const char *name=0); ~KNNetAccess(); void addJob(KNJobData *job); @@ -51,9 +51,9 @@ class KNNetAccess : public QObject { void cancelAllJobs(); /** current statusbar message */ - QString currentMsg() const { return currMsg; } + TQString currentMsg() const { return currMsg; } - QMutex& nntpMutex() { return nntp_Mutex; } + TQMutex& nntpMutex() { return nntp_Mutex; } protected: /** passes a signal through the ipc-pipe to the net-thread */ @@ -65,14 +65,14 @@ class KNNetAccess : public QObject { /** stores the current status message, so that it can be restored by the mainwindow */ - QString currMsg; + TQString currMsg; KNNntpClient *nntpClient; - QValueList<KNJobData*> nntpJobQueue, smtpJobQueue; + TQValueList<KNJobData*> nntpJobQueue, smtpJobQueue; KNJobData *currentNntpJob, *currentSmtpJob; - QMutex nntp_Mutex; + TQMutex nntp_Mutex; int nntpInPipe[2], nntpOutPipe[2]; - QSocketNotifier *nntpNotifier; + TQSocketNotifier *nntpNotifier; protected slots: void slotThreadSignal(int i); @@ -95,7 +95,7 @@ class KNNetAccess : public QObject { private: /// jobs waiting for async wallet loading - QValueList<KNJobData*> mWalletQueue; + TQValueList<KNJobData*> mWalletQueue; }; |