From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knode/knnetaccess.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'knode/knnetaccess.h') 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 -#include -#include +#include +#include +#include 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 nntpJobQueue, smtpJobQueue; + TQValueList 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 mWalletQueue; + TQValueList mWalletQueue; }; -- cgit v1.2.1