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 --- libkpimexchange/core/exchangemonitor.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'libkpimexchange/core/exchangemonitor.h') 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 -#include -//#include -#include +#include +#include +//#include +#include #include #include @@ -39,11 +39,11 @@ namespace KPIM { class ExchangeAccount; -class ExchangeMonitor : public QObject { +class ExchangeMonitor : public TQObject { Q_OBJECT public: typedef long ID; - typedef QValueList IDList; + typedef TQValueList 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& IDs, const QValueList& urls ); + void notify( const TQValueList& IDs, const TQValueList& 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 mSubscriptionMap; - QSocketDevice *mSocket; - QSocketNotifier* mNotifier; - QTextStream *mStream; + TQMap 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; }; -- cgit v1.2.1