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
*/
void viewResized(const QSize &/*newSize*/, const QSize &/*oldSize*/) { }
+ void showError( QString aError );
+
void connectionEstablished();
void connectionLost();