class Configuration;
class CommunicationManager;
class Meeting;
-class WeeklyViewWidget;
-class SettingsView;
-class RoomStatusIndicatorWidget;
-class PasswordDialog;
-class MeetingInfoDialog;
+class UIManager;
//! BusinessLogic class. Contains all the business logic of the application.
/*!
* Slot. Asks the communication to fetch new meeting data.
* \param aCurrentRoom The current room.
*/
- void currentRoomChanged( Room *aCurrentRoom );
- //! Slot. Asks the communication to fetch new meeting data.
- /*!
- * Slot. Asks the communication to fetch new meeting data.
- * \param aCurrentRoom The current room.
- */
void shownWeekChanged( QDate aDate );
//! Slot. Handles errors.
/*!
* \param aMeetings The list of freshly fetched meetings.
*/
void meetingsFetched( const QList<Meeting*>& );
-
- void meetingDetailsFetched( Meeting &aDetailedMeeting );
-
//! Slot. Checks the availability of all the rooms.
/*!
* Slot. Checks the availability of all the rooms by iterating through the current object's local
* room storage and calling the roomStatusInfoNeeded() separately on each of them.
*/
void checkStatusOfAllRooms();
- //! Slot for popping up the confirmation dialog to change the current operation mode
- /*!
- * Slot. Asks Window manager to pop up a confirmation dialog.
- * \param aMode The operation mode to be changed to
- */
- void changeModeOrdered( DeviceManager::OperationMode aMode );
//! Slot. Fetches meeting details from the server.
/*!
* Slot. Fetches meeting details from the server.
void handleViewEvent();
void previousViewRestored();
- void settingsViewRequested();
-
- void idleTimerTimeout();
-
- void settingsOkClicked();
//! Slot for dialog activation signal.
/*!
*/
void dialogDeactivated();
+ void stopIdleTimeCounter();
+ void startIdleTimeCounter();
+
private:
+ // Make the UIManager as friendly class so it can connect to private slots.
+ friend class UIManager;
+
//! Provides the index of the Meeting instance which is at the specified time.
/*!
* Provides the index of the Meeting instance which is at the specified time. If there are
static QTime endOfTheDay;
WindowManager *iWindowManager;
- WeeklyViewWidget *iWeeklyView;
- SettingsView *iSettingsView;
- RoomStatusIndicatorWidget *iRoomStatusIndicator;
-
- PasswordDialog *iPasswordDialog;
- MeetingInfoDialog *iMeetingInfoDialog;
QTimer *iIdleTimeCounter;
Clock *iClock;
Configuration *iConfiguration;
CommunicationManager *iCommunication;
DeviceManager *iDevice;
+ UIManager *iUIManager;
QTimer *iAutoRefresh;