17 #ifndef SHORTCUTSPAGE_H
18 #define SHORTCUTSPAGE_H
21 #include <QModelIndex>
22 #include <QKeySequence>
27 class QStandardItemModel;
46 void tableItemClicked(
const QModelIndex&);
47 void keyCapLineEditTextChanged(QKeySequence);
48 void restoreShortcutsButtonClicked();
49 void clearButtonClicked();
52 bool isKeySequenceExist(
const QSettings&, QString, QKeySequence);
53 void removeDuplicateKeySequence(QSettings*, QKeySequence);
54 void treeModelLoadShortcutsSetting();
56 QStandardItemModel* m_treeModel =
nullptr;
57 QModelIndex m_currentItemIndex;
59 Ui::ShortcutsPage* ui =
nullptr;
64 #endif // SHORTCUTSPAGE_H