diff main.h @ 17:d40345d63733

Implement some keyboard shortcuts.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 30 Mar 2017 18:37:49 +0300
parents 466417b7a1e4
children 87f098892804
line wrap: on
line diff
--- a/main.h	Thu Mar 30 18:15:09 2017 +0300
+++ b/main.h	Thu Mar 30 18:37:49 2017 +0300
@@ -7,6 +7,7 @@
 #define MAINWINDOW_H
 
 #include <QMainWindow>
+#include <QShortcut>
 #include <QDialog>
 #include <QtSql>
 #include <QSqlQueryModel>
@@ -148,6 +149,8 @@
     int peopleSortIndex;
     Qt::SortOrder peopleSortOrder;
     QString peopleFilter;
+
+    QShortcut *sc_quit, *sc_esc;
 };