summaryrefslogtreecommitdiffstats
path: root/libkpimexchange/core/exchangemonitor.h
diff options
context:
space:
mode:
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;
};