summaryrefslogtreecommitdiffstats
path: root/knode/knnetaccess.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knode/knnetaccess.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/knnetaccess.h')
-rw-r--r--knode/knnetaccess.h24
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;
};