rssguard/src/core/dynamicshortcuts.h
2013-08-30 17:40:17 +02:00

23 lines
522 B
C++

#ifndef DYNAMICSHORTCUTS_H
#define DYNAMICSHORTCUTS_H
#include <QList>
class QAction;
class DynamicShortcuts {
private:
explicit 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);
};
#endif // DYNAMICSHORTCUTS_H