1 /*
2  * SPDX-FileCopyrightText: 2019 David Redondo <kde@david-redondo.de>
3  *
4  * SPDX-License-Identifier: GPL-2.0-or-later
5  */
6 
7 #ifndef SHORTCUTSOPTIONSPAGE_H
8 #define SHORTCUTSOPTIONSPAGE_H
9 
10 #include <QWidget>
11 
12 class KShortcutsEditor;
13 
14 class ShortcutsOptionsPage : public QWidget
15 {
16     Q_OBJECT
17 
18 public:
19     explicit ShortcutsOptionsPage(QWidget *parent);
20     ~ShortcutsOptionsPage() override;
21 
22     bool isModified() const;
23     void defaults() const;
24 
25 Q_SIGNALS:
26     void shortCutsChanged();
27 
28 public Q_SLOTS:
29 
30     void saveChanges();
31     void resetChanges();
32 
33 private:
34     KShortcutsEditor *mEditor;
35 };
36 
37 #endif // SHORTCUTSOPTIONSPAGE_H
38