rssguard/src/dynamic-shortcuts/dynamicshortcuts.h
2017-10-25 07:20:47 +02:00

27 lines
613 B
C++
Executable file

// For license of this file, see <project-root-folder>/LICENSE.md.
#ifndef DYNAMICSHORTCUTS_H
#define DYNAMICSHORTCUTS_H
#include <QList>
class QAction;
class DynamicShortcuts {
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.
explicit DynamicShortcuts();
};
#endif // DYNAMICSHORTCUTS_H