diff options
Diffstat (limited to 'korganizer/freebusymanager.h')
-rw-r--r-- | korganizer/freebusymanager.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/korganizer/freebusymanager.h b/korganizer/freebusymanager.h index c51af125b..a91d9f36d 100644 --- a/korganizer/freebusymanager.h +++ b/korganizer/freebusymanager.h @@ -39,8 +39,8 @@ #include <kurl.h> #include <libkcal/icalformat.h> #include <libkcal/freebusycache.h> -#include <qstring.h> -#include <qobject.h> +#include <tqstring.h> +#include <tqobject.h> namespace KIO { class Job; } namespace KCal { @@ -56,31 +56,31 @@ class FreeBusyDownloadJob : public QObject { Q_OBJECT public: - FreeBusyDownloadJob( const QString &email, const KURL &url, + FreeBusyDownloadJob( const TQString &email, const KURL &url, FreeBusyManager *manager, const char *name = 0 ); virtual ~FreeBusyDownloadJob(); protected slots: void slotResult( KIO::Job * ); - void slotData( KIO::Job *, const QByteArray &data ); + void slotData( KIO::Job *, const TQByteArray &data ); signals: - void freeBusyDownloaded( KCal::FreeBusy *, const QString& email ); - void freeBusyDownloadError( const QString& email ); + void freeBusyDownloaded( KCal::FreeBusy *, const TQString& email ); + void freeBusyDownloadError( const TQString& email ); private: FreeBusyManager *mManager; - QString mEmail; + TQString mEmail; - QCString mFreeBusyData; + TQCString mFreeBusyData; }; -class FreeBusyManager : public QObject, public KCal::FreeBusyCache +class FreeBusyManager : public TQObject, public KCal::FreeBusyCache { Q_OBJECT public: - FreeBusyManager( QObject *parent, const char *name ); + FreeBusyManager( TQObject *parent, const char *name ); void setCalendar( KCal::Calendar * ); @@ -91,35 +91,35 @@ class FreeBusyManager : public QObject, public KCal::FreeBusyCache KOrganizer downloads somebody else's free/busy list The call is asynchronous, and upon download, the receivers slot specified by member will be called. - The slot should be of type "member(const QString&, KCal::FreeBusy*)" + The slot should be of type "member(const TQString&, KCal::FreeBusy*)" Return true if a download is initiated, and false otherwise */ - bool retrieveFreeBusy( const QString &email, bool forceDownload ); + bool retrieveFreeBusy( const TQString &email, bool forceDownload ); void cancelRetrieval(); - KCal::FreeBusy *iCalToFreeBusy( const QCString &data ); + KCal::FreeBusy *iCalToFreeBusy( const TQCString &data ); /** Load freebusy information belonging to email. */ - KCal::FreeBusy *loadFreeBusy( const QString &email ); + KCal::FreeBusy *loadFreeBusy( const TQString &email ); /** Store freebusy information belonging to email. */ bool saveFreeBusy( KCal::FreeBusy *freebusy, const KCal::Person &person ); -// bool saveFreeBusy( KCal::FreeBusy *, const QString &email ); +// bool saveFreeBusy( KCal::FreeBusy *, const TQString &email ); /** Return URL of freeBusy information for given email address. */ - KURL freeBusyUrl( const QString &email ); + KURL freeBusyUrl( const TQString &email ); /** Return directory used for stroing free/busy information. */ - QString freeBusyDir(); + TQString freeBusyDir(); /** Change the broken Url status @@ -135,15 +135,15 @@ class FreeBusyManager : public QObject, public KCal::FreeBusyCache /** This signal is emitted to return results of free/busy requests. */ - void freeBusyRetrieved( KCal::FreeBusy *, const QString &email ); + void freeBusyRetrieved( KCal::FreeBusy *, const TQString &email ); protected: - void timerEvent( QTimerEvent* ); + void timerEvent( TQTimerEvent* ); /** Return free/busy list of calendar owner as iCalendar string. */ - QString ownerFreeBusyAsString(); + TQString ownerFreeBusyAsString(); /** Return free/busy list of calendar owner. @@ -153,23 +153,23 @@ class FreeBusyManager : public QObject, public KCal::FreeBusyCache /** Convert free/busy object to iCalendar string. */ - QString freeBusyToIcal( KCal::FreeBusy * ); + TQString freeBusyToIcal( KCal::FreeBusy * ); protected slots: bool processRetrieveQueue(); private slots: void slotUploadFreeBusyResult( KIO::Job * ); - void slotFreeBusyDownloadError( const QString& email ); + void slotFreeBusyDownloadError( const TQString& email ); private: KCal::Calendar *mCalendar; KCal::ICalFormat mFormat; - QStringList mRetrieveQueue; + TQStringList mRetrieveQueue; // Free/Busy uploading - QDateTime mNextUploadTime; + TQDateTime mNextUploadTime; int mTimerID; bool mUploadingFreeBusy; bool mBrokenUrl; |