summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index b6a756c..02db75e 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -23,6 +23,8 @@ namespace Ui {
class QTextEdit;
+class Snake;
+
class MainWindow : public QWidget
{
Q_OBJECT
@@ -49,6 +51,11 @@ public:
LoginForm* loginForm() { return m_LoginForm; }
+protected:
+ virtual void paintEvent(QPaintEvent *event);
+
+ virtual void mouseDoubleClickEvent(QMouseEvent *);
+
public slots:
void showStandby();
void updateClock();
@@ -63,6 +70,7 @@ private:
QImage m_background;
QTextEdit *m_messages;
QLabel *m_Clock;
+ Snake *m_Snake;
};
#endif // MAINWINDOW_H