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 settingsCancelClicked();
41 void roomStatusIndicatorRequested();
42 void previousViewRestored();
43 void changeModeOrdered( DeviceManager::OperationMode aMode );
47 void meetingsFetched( const QList<Meeting*> &aMeetings );
48 void meetingDetailsFetched( Meeting &aDetailedMeeting );
49 void currentRoomChanged( Room *aRoom );
50 void progressBarCancelled();
51 void updateTime( QDateTime aDateTime );
52 void passwordEntered( PasswordDialog::PasswordStatus aStatus );
53 void showMeetingProgressBar( Meeting *aMeeting );
54 void updateProgressBarText( const QString &aText );
55 void hideProgressBar();
59 void createWeeklyView();
60 void createSettingsView();
61 void createRoomStatusIndicator();
62 void createPasswordDialog();
63 void createProgressBar();
64 void createMeetingInfoDialog();
68 WindowManager *iWindowManager;
70 WeeklyViewWidget *iWeeklyView;
71 SettingsView *iSettingsView;
72 RoomStatusIndicatorWidget *iRoomStatusIndicator;
73 PasswordDialog *iPasswordDialog;
74 ProgressBar *iProgressBar;
75 MeetingInfoDialog *iMeetingInfo;
78 #endif /*UIMANAGER_H_*/