8 #include "DeviceManager.h"
9 #include "PasswordDialog.h"
13 class WeeklyViewWidget;
15 class RoomStatusIndicatorWidget;
17 class MeetingInfoDialog;
18 class CommunicationManager;
21 class UIManager : public QObject
26 UIManager( Engine *aEngine, WindowManager *aWindowManager );
29 void connectDeviceManager( DeviceManager *aDeviceManager );
30 void connectCommunicationManager( CommunicationManager *aCommunicationManager );
32 void showProgressBar( QString aText );
38 void settingsViewRequest();
39 void settingsOkClicked();
40 void roomStatusIndicatorRequested();
41 void previousViewRestored();
42 void changeModeOrdered( DeviceManager::OperationMode aMode );
44 //! Shows any view specific indicators for connection error
45 void connectionLost();
47 //! Removes any view specific indicators for connection error
48 void connectionEstablished();
52 void meetingsFetched( const QList<Meeting*> &aMeetings );
53 void meetingDetailsFetched( Meeting &aDetailedMeeting );
54 void currentRoomChanged( Room *aRoom );
55 void progressBarCancelled();
56 void updateTime( QDateTime aDateTime );
57 void passwordEntered( PasswordDialog::PasswordStatus aStatus );
58 void showMeetingProgressBar( Meeting *aMeeting );
59 void updateProgressBarText( const QString &aText );
60 void hideProgressBar();
64 void createWeeklyView();
65 void createSettingsView();
66 void createRoomStatusIndicator();
67 void createPasswordDialog();
68 void createProgressBar();
69 void createMeetingInfoDialog();
73 WindowManager *iWindowManager;
75 WeeklyViewWidget *iWeeklyView;
76 SettingsView *iSettingsView;
77 RoomStatusIndicatorWidget *iRoomStatusIndicator;
78 PasswordDialog *iPasswordDialog;
79 ProgressBar *iProgressBar;
80 MeetingInfoDialog *iMeetingInfo;
83 #endif /*UIMANAGER_H_*/