\r
class QLabel;\r
class QVBoxLayout;\r
-class TimeDisplayWidget;\r
+class BorderedBarWidget;\r
+\r
+class QEvent;\r
\r
//! UserInterface class. Indicates if the default meeting room is busy or not.\r
/*!\r
RoomStatusIndicatorWidget( Room *aDefaultRoom, Room::Status aStatus, QTime aUntil, QString aTimeFormat, QWidget *aParent = 0 );\r
//! Destructor.\r
virtual ~RoomStatusIndicatorWidget();\r
+ \r
+ bool event(QEvent *event);\r
\r
public slots:\r
//! Slot. Sets current time.\r
*/\r
void statusChanged( const Room::Status aStatus, const QTime aUntil );\r
\r
+ void currentRoomChanged( Room *aRoom );\r
+ \r
void viewResized(const QSize &newSize, const QSize &oldSize) { }\r
\r
+ void connectionEstablished();\r
+ \r
+ void connectionLost();\r
+ \r
private:\r
//! Translates the status into human readable text.\r
/*!\r
QLabel *iDefaultRoomLabel;\r
QLabel *iStatusLabel;\r
QLabel *iUntilTextLabel;\r
- TimeDisplayWidget *iTimeDisplay;\r
+ BorderedBarWidget *iTimeDisplay;\r
+ BorderedBarWidget *iStatusBar;\r
+\r
QString iTimeFormat;\r
\r
static QTime endOfTheDay;\r