Debian Codegraph @

src/librssguard/dynamic-shortcuts/dynamicshortcuts.h

raw symbols SCIP
1 // For license of this file, see <project-root-folder>/LICENSE.md.
2
3 #ifndef DYNAMICSHORTCUTS_H
4 #define DYNAMICSHORTCUTS_H
5
6 #include <QList>
7
8 class QAction;
9
10 class DynamicShortcuts {
11 public:
12 // Checks the application settings and then initializes shortcut of
13 // each action from actions from the settings.
14 static void load(const QList<QAction*>& actions);
15
16 // Stores shortcut of each action from actions into the application
17 // settings.
18 static void save(const QList<QAction*>& actions);
19
20 private:
21 // Constructor.
22 explicit DynamicShortcuts() = default;
23 };
24
25 #endif // DYNAMICSHORTCUTS_H