X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2FUserInterface%2FViews%2FWeeklyViewWidget.h;h=055617b6715351c35e0f9c97bd91f36fd074efba;hb=2cf43eccdaf498030f5155f66385ca7d8b9fc483;hp=2f9c7991e46395f589e6780b72a9a6e07842a1df;hpb=c0a6d23f82e80852f0391439720cddf155943c52;p=qtmeetings diff --git a/src/UserInterface/Views/WeeklyViewWidget.h b/src/UserInterface/Views/WeeklyViewWidget.h index 2f9c799..055617b 100644 --- a/src/UserInterface/Views/WeeklyViewWidget.h +++ b/src/UserInterface/Views/WeeklyViewWidget.h @@ -35,12 +35,6 @@ public: //! Destructor. virtual ~WeeklyViewWidget(); - //! Current meeting - /*! - * Returns the current meeting if any - * \return Current meeting if any, otherwise null pointer - */ - Meeting* currentMeeting(); //! Current room /*! * Returns the currently selected meeting room. @@ -54,6 +48,12 @@ public: * \return First day of week. */ QDate beginnigOfShownWeek(); + //! Sends the refresh command to schedule widget. + /*! + * Sends the refresh command to schedule widget. + * \param aMeetings The list of meetings. + */ + void refreshMeetings( const QList &aMeetings ); void showCurrentWeek(); @@ -66,12 +66,6 @@ signals: * \param aNewRoom Selected meeting room. */ void currentRoomChanged( Room *aNewRoom ); - //! Signals change of the current meeting. - /*! - * Signal is emited when new meeting is started. - * \param aNewMeeting Meeting that has been started. - */ - void currentMeetingChanged( Meeting *aNewMeeting ); //! Meeting activated. /*! * Signal is emitted when a meeting is clicked by the user. @@ -123,25 +117,6 @@ public slots: * \param aCurrentDateTime Date and time to be displayd. */ void setCurrentDateTime( QDateTime aCurrentDateTime ); - //! Insert meeting - /*! - * Inserts new meeting into the calendar - * \param aMeeting Meeting to be inserted. - */ - void insertMeeting( Meeting *aMeeting ); - //! Delete meeting - /*! - * Removes meeting from the calendar - * \param aMeeting Meeting to be deleted. - */ - void deleteMeeting( Meeting *aMeeting ); - //! Update meeting - /*! - * Updates the display of given meeting in calendar. - * \param aMeeting Meeting to be updated. - */ - void updateMeeting( Meeting *aMeeting ); - //! Handle resizing /*! * Handle possible resize changes after the view is resized