rssguard/src/librssguard/dynamic-shortcuts/dynamicshortcuts.h

26 lines
621 B
C
Raw Normal View History

// For license of this file, see <project-root-folder>/LICENSE.md.
2014-02-26 07:41:40 +01:00
#ifndef DYNAMICSHORTCUTS_H
#define DYNAMICSHORTCUTS_H
#include <QList>
class QAction;
class DynamicShortcuts {
2017-09-19 10:18:21 +02:00
public:
// Checks the application settings and then initializes shortcut of
// each action from actions from the settings.
static void load(const QList<QAction*>& actions);
// Stores shortcut of each action from actions into the application
// settings.
static void save(const QList<QAction*>& actions);
private:
// Constructor.
2019-04-12 07:12:13 +02:00
explicit DynamicShortcuts() = default;
};
#endif // DYNAMICSHORTCUTS_H