2010-02-27 19:20:20 +01:00
|
|
|
#ifndef SHORTCUTSDIALOG_H
|
|
|
|
#define SHORTCUTSDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QSettings>
|
|
|
|
|
|
|
|
#include "ui_shortcutsdialog.h"
|
|
|
|
|
|
|
|
class ShortcutsDialog : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
ShortcutsDialog(QWidget* parent = 0);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void DefaultShortcuts();
|
|
|
|
void SaveShortcuts();
|
|
|
|
void CancelEvent();
|
|
|
|
|
2010-02-28 22:46:25 +01:00
|
|
|
|
2010-02-27 19:20:20 +01:00
|
|
|
private:
|
|
|
|
Ui::ShortcutsDialog ui_;
|
|
|
|
QSettings settings_;
|
|
|
|
static const char* kSettingsGroup;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SHORTCUTSDIALOG_H
|