diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /libkpimexchange/core/exchangedownload.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/exchangedownload.h')
-rw-r--r-- | libkpimexchange/core/exchangedownload.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/libkpimexchange/core/exchangedownload.h b/libkpimexchange/core/exchangedownload.h index a43d82692..6eab9f565 100644 --- a/libkpimexchange/core/exchangedownload.h +++ b/libkpimexchange/core/exchangedownload.h @@ -20,11 +20,11 @@ #ifndef KDEPIM_EXCHANGE_DOWNLOAD_H #define KDEPIM_EXCHANGE_DOWNLOAD_H -#include <qstring.h> -#include <qptrlist.h> -#include <qdatetime.h> -#include <qdom.h> -#include <qmap.h> +#include <tqstring.h> +#include <tqptrlist.h> +#include <tqdatetime.h> +#include <tqdom.h> +#include <tqmap.h> #include <kio/job.h> #include <libkcal/calendar.h> @@ -35,23 +35,23 @@ namespace KPIM { class ExchangeProgress; class ExchangeAccount; -class ExchangeDownload : public QObject { +class ExchangeDownload : public TQObject { Q_OBJECT public: - ExchangeDownload( ExchangeAccount* account, QWidget* window=0 ); + ExchangeDownload( ExchangeAccount* account, TQWidget* window=0 ); ~ExchangeDownload(); void download( KCal::Calendar* calendar, - const QDate& start, const QDate& end, bool showProgress ); - void download( const QDate& start, const QDate& end, bool showProgress ); + const TQDate& start, const TQDate& end, bool showProgress ); + void download( const TQDate& start, const TQDate& end, bool showProgress ); signals: void startDownload(); void finishDownload(); void gotEvent( KCal::Event* event, const KURL& url ); - void finished( ExchangeDownload*, int result, const QString& moreInfo ); - void finished( ExchangeDownload*, int result, const QString& moreInfo, QPtrList<KCal::Event>& events ); + void finished( ExchangeDownload*, int result, const TQString& moreInfo ); + void finished( ExchangeDownload*, int result, const TQString& moreInfo, TQPtrList<KCal::Event>& events ); private slots: void slotSearchResult( KIO::Job *job ); @@ -59,28 +59,28 @@ class ExchangeDownload : public QObject { void slotPropFindResult( KIO::Job * ); private: - void handleAppointments( const QDomDocument &, bool recurrence ); + void handleAppointments( const TQDomDocument &, bool recurrence ); void readAppointment( const KURL& url ); - void handleRecurrence( QString uid ); - void finishUp( int result, const QString& moreInfo=QString::null ); + void handleRecurrence( TQString uid ); + void finishUp( int result, const TQString& moreInfo=TQString::null ); void finishUp( int result, KIO::Job* job ); void increaseDownloads(); void decreaseDownloads(); - QString dateSelectQuery( const QDate& start, const QDate& end ); + TQString dateSelectQuery( const TQDate& start, const TQDate& end ); KCal::Calendar *mCalendar; KCal::ICalFormat *mFormat; - QPtrList<KCal::Event> *mEvents; + TQPtrList<KCal::Event> *mEvents; ExchangeAccount *mAccount; ExchangeProgress *mProgress; int mDownloadsBusy; - QDomDocument mResponse; + TQDomDocument mResponse; - QMap<QString,int> m_uids; // This keeps track of uids we already covered. Especially useful for + TQMap<TQString,int> m_uids; // This keeps track of uids we already covered. Especially useful for // recurring events. - QWidget* mWindow; + TQWidget* mWindow; }; } |