Status bar fixed
[qtmeetings] / src / UserInterface / Views / WeeklyViewWidget.h
index 0fcd1cb..a9632a2 100644 (file)
@@ -112,12 +112,14 @@ signals:
        void shownWeekChanged( QDate aDate );
 
 public slots:
-       //! Sets the date and time
+       //! Slot. Sets the connection status
        /*!
-        * Sets the current date and time
-        * \param aCurrentDateTime Date and time to be displayd.
+        * Sets the current time, and connection status
+        * \param aCurrentTime Time to be displayed.
+        * \param aConnected connection status to be displayed.
+        * \param aLastUpdated Time of last successful connection to be displayed.
         */
-       void setCurrentDateTime( QDateTime aCurrentDateTime );
+       void setConnectionStatus( QDateTime aCurrentTime, bool aConnected, QTime aLastUpdated = QTime(), QString aError = "" );
        //! Handle resizing
        /*!
         * Handle possible resize changes after the view is resized
@@ -125,6 +127,8 @@ public slots:
         */
        void viewResized(const QSize &/*newSize*/, const QSize &/*oldSize*/) { }
 
+       void showError( QString aError );
+
        void connectionEstablished();
 
        void connectionLost();