#ifndef ROOMSTATUSINDICATORWIDGET_H_\r
#define ROOMSTATUSINDICATORWIDGET_H_\r
\r
-#include "ObservedWidget.h"\r
+#include "ViewBase.h"\r
#include <QTime>\r
#include <QKeyEvent>\r
#include <QTabletEvent>\r
* and disappears if there is any. Its function is to behave like a screen saver on one hand, and\r
* to provide details about the current availability on the other hand.\r
*/\r
-class RoomStatusIndicatorWidget : public ObservedWidget\r
+class RoomStatusIndicatorWidget : public ViewBase\r
{\r
Q_OBJECT\r
\r
* \param aUntil The new time until the specified status is valid.\r
*/\r
void statusChanged( const Room::Status aStatus, const QTime aUntil );\r
+ //! Changed the current room.\r
+ /*!\r
+ * This slot is used to inform that current room is changed and it changes\r
+ * the room name label.\r
+ */\r
+ void currentRoomChanged( Room *aRoom );\r
+ \r
+ void viewResized(const QSize &newSize, const QSize &oldSize) { }\r
\r
private:\r
//! Translates the status into human readable text.\r