summaryrefslogtreecommitdiffstats
path: root/libkpimexchange/core/exchangemonitor.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 /libkpimexchange/core/exchangemonitor.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 'libkpimexchange/core/exchangemonitor.h')
-rw-r--r--libkpimexchange/core/exchangemonitor.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/libkpimexchange/core/exchangemonitor.h b/libkpimexchange/core/exchangemonitor.h
index f1429ba4e..216c53f5a 100644
--- a/libkpimexchange/core/exchangemonitor.h
+++ b/libkpimexchange/core/exchangemonitor.h
@@ -20,10 +20,10 @@
#ifndef KDEPIM_EXCHANGE_MONITOR_H
#define KDEPIM_EXCHANGE_MONITOR_H
-#include <qstring.h>
-#include <qmap.h>
-//#include <qwidget.h>
-#include <qhostaddress.h>
+#include <tqstring.h>
+#include <tqmap.h>
+//#include <tqwidget.h>
+#include <tqhostaddress.h>
#include <kurl.h>
#include <kio/job.h>
@@ -39,11 +39,11 @@ namespace KPIM {
class ExchangeAccount;
-class ExchangeMonitor : public QObject {
+class ExchangeMonitor : public TQObject {
Q_OBJECT
public:
typedef long ID;
- typedef QValueList<ID> IDList;
+ typedef TQValueList<ID> IDList;
enum { CallBack, Poll };
enum { Delete, /** Any: 0 The message or folder subscribed to was deleted.
@@ -63,18 +63,18 @@ class ExchangeMonitor : public QObject {
Any /** Message 1 Treat as depth = 0. */
};
- ExchangeMonitor( ExchangeAccount* account, int pollMode, const QHostAddress& ownInterface );
+ ExchangeMonitor( ExchangeAccount* account, int pollMode, const TQHostAddress& ownInterface );
~ExchangeMonitor();
void addWatch( const KURL &url, int mode, int depth );
void removeWatch( const KURL &url );
void removeWatch( ID id );
signals:
- void notify( const QValueList<long>& IDs, const QValueList<KURL>& urls );
+ void notify( const TQValueList<long>& IDs, const TQValueList<KURL>& urls );
// void added( ID id, const KURL& url );
// void removed( ID id, const KURL& url );
- void error( int result, const QString& moreInfo );
+ void error( int result, const TQString& moreInfo );
private slots:
void slotSubscribeResult( KIO::Job * );
@@ -89,15 +89,15 @@ class ExchangeMonitor : public QObject {
private:
// void init();
- QMap<ID,KURL> mSubscriptionMap;
- QSocketDevice *mSocket;
- QSocketNotifier* mNotifier;
- QTextStream *mStream;
+ TQMap<ID,KURL> mSubscriptionMap;
+ TQSocketDevice *mSocket;
+ TQSocketNotifier* mNotifier;
+ TQTextStream *mStream;
ExchangeAccount* mAccount;
int mSubscriptionLifetime;
- // QString mSubscriptionId;
- QTimer* mPollTimer;
- QTimer* mRenewTimer;
+ // TQString mSubscriptionId;
+ TQTimer* mPollTimer;
+ TQTimer* mRenewTimer;
int mPollMode;
};