* \param aMeeting A meeting the detailed information is wanted.
*/
void fetchMeetingDetails( Meeting &aMeeting );
+ //! Cancels all meeting detail requests.
+ void cancelFetchMeetingDetails();
/* Not supported member functions which are using the modifying communication
void setModifyCredentials( const QString &aUsername, const QString &aPassword ) {};
void createMeeting( const Meeting &aMeeting ) {};
protected slots:
//! Connected to Communication::requestFinished.
- void requestFinished( int aRequestId, QHttp::Error aError );
+ void requestFinished( int aRequestId, int aError );
//! Connected to Communication::readProgress.
void readProgress( int aRequestId, int aDone, int aTotal );
* \param aRequestId Request ID number returned by the Communication::request
*/
RequestData* takeRequest( int aRequestId );
+ //! Finds a RequestData from the iRequestInfos list.
+ /*!
+ * Returns a pointer to RequestData, NULL if not found.
+ * \param aRequestType Request type
+ */
+ const RequestData* findRequest( RequestType aRequestType ) const;
private:
//! Instance of Connection settings of the fetching communication
QList<Meeting*> iMeetings;
//! Additional information about requests made to the Exchange server
QList<RequestData*> iRequestInfos;
+ //! A flag that all meeting detail requests has been cancelled
+ QList<int> iCancelledRequests;
};
#endif /*COMMUNICATIONMANAGER_H_*/