summaryrefslogtreecommitdiffstats
path: root/src/loginform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/loginform.h')
-rw-r--r--src/loginform.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/loginform.h b/src/loginform.h
index 83ddd28..35d0fea 100644
--- a/src/loginform.h
+++ b/src/loginform.h
@@ -46,11 +46,12 @@ public slots:
void hideMessage();
protected:
- virtual void keyPressEvent(QKeyEvent *event);
+ virtual void keyPressEvent(QKeyEvent *event) override;
+ virtual bool eventFilter(QObject *object, QEvent *event) override;
private:
void initialize();
- void loadSubs();
+ void checkCaps();
void addLeaveEntry(bool canDo, QString iconName, QString text, QString actionName);
QString currentSession();
void setCurrentSession(QString session);
@@ -64,6 +65,7 @@ private:
QTimer hideMessageTimer;
bool clearMsg;
+ int capsOn;
};
#endif // LOGINFORM_H