X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2FBusinessLogic%2FEngine.h;fp=src%2FBusinessLogic%2FEngine.h;h=c58e423afab42426838353a6e1e2921ee4f43ef8;hb=8e4cea2a85073fb73a1dc58fb4adabb6269f4ac9;hp=6bacdd826c9694669b3c5b219b2562c0559aadd9;hpb=33edea90bd097065e8c6b63cabc6b4b22c6a5d2c;p=qtmeetings diff --git a/src/BusinessLogic/Engine.h b/src/BusinessLogic/Engine.h index 6bacdd8..c58e423 100644 --- a/src/BusinessLogic/Engine.h +++ b/src/BusinessLogic/Engine.h @@ -120,6 +120,8 @@ private slots: void currentRoomChanged( Room *aRoom ); + void tick( QDateTime aCurrentDateTime ); + private: // Make the UIManager as friendly class so it can connect to private slots. friend class UIManager; @@ -145,11 +147,11 @@ private: //! Slot. Fetches meetings from the server. /*! * Slot. Fetches meetings from the server, exact parameters are specified in the parameter list. - * \param aFrom Time from when the meetings need to be fetched. - * \param aUntil Time until when the meetings need to be fetched. + * \param aWeek Week for which the meetings need to be fetched. + * \param aYear Year for which the meetings need to be fetched. * \param aIn The room which meetings need to be fetched. */ - void fetchMeetings( const QDateTime &aFrom, const QDateTime &aUntil, const Room *aIn ); + void fetchMeetings( const int aWeek, const int aYear, const Room *aIn ); //! Initialize configuration package. /*! * This method initializes configuration classes and @@ -192,6 +194,7 @@ private: QTimer *iIdleTimeCounter; Clock *iClock; + QDate iCurrentDate; Configuration *iConfiguration; CommunicationManager *iCommunication; DeviceManager *iDevice;