/*!
* \param aConnection Reference to the fetching ConnectionSettings.
*/
- CommunicationManager( const ConnectionSettings &aConnection );
+ CommunicationManager( /*const ConnectionSettings &aConnection*/ );
virtual ~CommunicationManager();
//! Starts fetching meetings. Meetings are returned by the meetingsFetched signal.
/*!
* \param aUntil QDateTime to search meetings until.
* \param aIn Meeting room meetings are searched.
*/
- void fetchMeetings( const QDateTime &aFrom, const QDateTime &aUntil, const Room &aIn );
+ void fetchMeetings( /*const QDateTime &aFrom, const QDateTime &aUntil*/const int aWeek, const int aYear, const Room &aIn );
//! Starts fetching a meeting details. Details are returned by the meetingDetailsFetched signal.
/*!
* \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 ) {};
private:
//! Instance of Connection settings of the fetching communication
- ConnectionSettings *iConnectionSettings;
+ //ConnectionSettings *iConnectionSettings;
//! Instance of the fetching communication
Communication* iFetchingCommunication;
//! Instance of the modifying 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_*/