summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-22 11:10:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-27 16:42:57 +0200
commit0a0000a6c4ca5ebfffd33d70f7b7963473be1471 (patch)
tree90e31f30303b4b4d4f4e83086ff4ee70d915fe77 /gui/options-dialog.hpp
parentd20e3d4a3ac6114b296f0284f336b59c178b4e72 (diff)
gui: rename source files only
Diffstat (limited to 'gui/options-dialog.hpp')
-rw-r--r--gui/options-dialog.hpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/gui/options-dialog.hpp b/gui/options-dialog.hpp
deleted file mode 100644
index dab919ed..00000000
--- a/gui/options-dialog.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#pragma once
-
-#include "ui_options-dialog.h"
-#include "logic/shortcuts.h"
-#include <QObject>
-#include <QDialog>
-#include <QWidget>
-#include <functional>
-
-class OptionsDialog : public QDialog
-{
- Q_OBJECT
-signals:
- void closing();
-public:
- OptionsDialog(std::function<void(bool)> pause_keybindings);
-private:
- main_settings main;
- std::function<void(bool)> pause_keybindings;
- Ui::options_dialog ui;
- void closeEvent(QCloseEvent *) override;
- static QString kopts_to_string(const key_opts& opts);
-private slots:
- void doOK();
- void doCancel();
- void done(int res) override;
- void bind_key(key_opts &kopts, QLabel* label);
- void set_disable_translation_state(bool value);
-};