diff options
Diffstat (limited to 'libkpimexchange/core/exchangeclient.h')
-rw-r--r-- | libkpimexchange/core/exchangeclient.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/libkpimexchange/core/exchangeclient.h b/libkpimexchange/core/exchangeclient.h index b887dac50..2a1e6b508 100644 --- a/libkpimexchange/core/exchangeclient.h +++ b/libkpimexchange/core/exchangeclient.h @@ -20,11 +20,11 @@ #ifndef KDEPIM_EXCHANGE_CLIENT_H #define KDEPIM_EXCHANGE_CLIENT_H -#include <qstring.h> -#include <qdatetime.h> -#include <qobject.h> -#include <qhostaddress.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqdatetime.h> +#include <tqobject.h> +#include <tqhostaddress.h> +#include <tqptrlist.h> #include <kdepimmacros.h> @@ -45,27 +45,27 @@ class ExchangeUpload; class ExchangeDelete; //class ExchangeMonitor; -class KDE_EXPORT ExchangeClient : public QObject { +class KDE_EXPORT ExchangeClient : public TQObject { Q_OBJECT public: - ExchangeClient( ExchangeAccount* account, const QString& mTimeZoneId=QString::null ); + ExchangeClient( ExchangeAccount* account, const TQString& mTimeZoneId=TQString::null ); ~ExchangeClient(); /** * Associate this client with a window given by @p window. */ - void setWindow(QWidget *window); + void setWindow(TQWidget *window); /** * Returns the window this client is associated with. */ - QWidget *window() const; + TQWidget *window() const; /** * Set the time zone to use */ - void setTimeZoneId( const QString& timeZoneId ); - QString timeZoneId(); + void setTimeZoneId( const TQString& timeZoneId ); + TQString timeZoneId(); // synchronous functions enum { @@ -80,29 +80,29 @@ class KDE_EXPORT ExchangeClient : public QObject { DeleteUnknownEventError /** The event to be deleted does not exist on the server */ }; - int downloadSynchronous( KCal::Calendar* calendar, const QDate& start, const QDate& end, bool showProgress=false); + int downloadSynchronous( KCal::Calendar* calendar, const TQDate& start, const TQDate& end, bool showProgress=false); int uploadSynchronous( KCal::Event* event ); int removeSynchronous( KCal::Event* event ); - // ExchangeMonitor* monitor( int pollMode, const QHostAddress& ownInterface ); + // ExchangeMonitor* monitor( int pollMode, const TQHostAddress& ownInterface ); - QString detailedErrorString(); + TQString detailedErrorString(); public slots: // Asynchronous functions, wait for "finished" signals for result // Deprecated: use download() without the Calendar* argument instead - void download( KCal::Calendar* calendar, const QDate& start, const QDate& end, bool showProgress=false); - void download( const QDate& start, const QDate& end, bool showProgress=false); + void download( KCal::Calendar* calendar, const TQDate& start, const TQDate& end, bool showProgress=false); + void download( const TQDate& start, const TQDate& end, bool showProgress=false); void upload( KCal::Event* event ); void remove( KCal::Event* event ); void test(); private slots: - void slotDownloadFinished( ExchangeDownload* worker, int result, const QString& moreInfo ); - void slotDownloadFinished( ExchangeDownload* worker, int result, const QString& moreInfo, QPtrList<KCal::Event>& ); - void slotUploadFinished( ExchangeUpload* worker, int result, const QString& moreInfo ); - void slotRemoveFinished( ExchangeDelete* worker, int result, const QString& moreInfo ); - void slotSyncFinished( int result, const QString& moreInfo ); + void slotDownloadFinished( ExchangeDownload* worker, int result, const TQString& moreInfo ); + void slotDownloadFinished( ExchangeDownload* worker, int result, const TQString& moreInfo, TQPtrList<KCal::Event>& ); + void slotUploadFinished( ExchangeUpload* worker, int result, const TQString& moreInfo ); + void slotRemoveFinished( ExchangeDelete* worker, int result, const TQString& moreInfo ); + void slotSyncFinished( int result, const TQString& moreInfo ); signals: // Useful for progress dialogs, shows how much still needs to be done. @@ -110,11 +110,11 @@ class KDE_EXPORT ExchangeClient : public QObject { void startDownload(); void finishDownload(); - void downloadFinished( int result, const QString& moreInfo ); + void downloadFinished( int result, const TQString& moreInfo ); void event( KCal::Event* event, const KURL& url); - void downloadFinished( int result, const QString& moreInfo, QPtrList<KCal::Event>& events ); - void uploadFinished( int result, const QString& moreInfo ); - void removeFinished( int result, const QString& moreInfo ); + void downloadFinished( int result, const TQString& moreInfo, TQPtrList<KCal::Event>& events ); + void uploadFinished( int result, const TQString& moreInfo ); + void removeFinished( int result, const TQString& moreInfo ); private: void test2(); @@ -123,10 +123,10 @@ class KDE_EXPORT ExchangeClient : public QObject { int mClientState; int mSyncResult; - QString mDetailedErrorString; - QWidget* mWindow; + TQString mDetailedErrorString; + TQWidget* mWindow; ExchangeAccount* mAccount; - QString mTimeZoneId; + TQString mTimeZoneId; }; } |