Moved the logicasl part of the progresbar/password dialog from WindowManager to Engin...
[qtmeetings] / src / UserInterface / WindowManager.h
index 0c85515..6a56e77 100644 (file)
@@ -57,6 +57,11 @@ public:
         * \param aMessage The message to be shown in the password dialog.\r
         */\r
        void showPasswordDialog( QByteArray aAdminPassword, const QString &aMessage );\r
+       //! Closes the password dialog.\r
+       /*!\r
+        * Closes the password dialog.\r
+        */\r
+       void closePasswordDialog();\r
        //! Displays the weekly view.\r
        /*!\r
         * Displays the weekly view.\r
@@ -78,6 +83,17 @@ public:
         * Switches the views to full screen.\r
         */\r
        void fullScreen();\r
+       //! Shows the progress bar.\r
+       /*!\r
+        * Starts showing the progress bar.\r
+        * \param aText The text to be shown in progress bar.\r
+        */\r
+       void showProgressBar( const QString &aText );\r
+       //! Closes the progress bar.\r
+       /*!\r
+        * Closes the progress bar.\r
+        */\r
+       void closeProgressBar();\r
        \r
        void insertMeeting( Meeting *aMeeting );\r
        \r
@@ -113,6 +129,17 @@ signals:
         * \param aRoom Selected meeting room.\r
         */\r
        void currentRoomChanged( Room *aRoom );\r
+       //! Signals when the password dialog buttons are clicked.\r
+       /*!\r
+        * Signal is emitted when the password dialog buttons are clicked.\r
+        * \param aPasswordStatus The status of the password.\r
+        */\r
+       void passwordEntered( PasswordDialog::PasswordStatus aPasswordStatus );\r
+       //! Signals when the cancel button in the progress bar is clicked.\r
+       /*!\r
+        * Signal is emitted when the cancel button in the progress bar is clicked.\r
+        */\r
+       void progressBarCancelled();\r
        \r
 public slots:\r
        //! Slot for displaying the screensaver (room status view).\r
@@ -130,20 +157,6 @@ public slots:
 private slots:\r
        //! Displays the settings view\r
        void showSettingsView();\r
-       //! Slot for receiving the status of the entered password\r
-       /*!\r
-        * Slot. Receives the status of the entered password and makes the DeviceManager to change the\r
-        * operation mode if the password is correct.\r
-        * \param aPasswordStatus The status of the password.\r
-        */\r
-       void passwordEntered( PasswordDialog::PasswordStatus aPasswordStatus );\r
-       //! Slot for showing/hiding the progress bar.\r
-       /*!\r
-        * Slot. Starts showing or hides the progress bar.\r
-        * \param aText The text to be shown in progress bar.\r
-        * \param aStart to indicate whether the progress bar is wanted to shown or hidden\r
-        */\r
-       void progressBar( const QString &aText = "", bool aStart = false );\r
 \r
 private:\r
        //! Name of the application.\r