summaryrefslogtreecommitdiff
path: root/plugins-unmaintained/PluginLoader/keybinding/KeyBind.h
blob: f4abf6830f61daa064b0f0a40ca220942d8e3931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef KEYBIND_H
#define KEYBIND_H

#include <QLineEdit>

class KeyBind : public QLineEdit
{
    Q_OBJECT
public:
    explicit KeyBind(QWidget *parent = 0);

signals:
    void newKey(QKeyEvent * event);
public slots:
    void keyPressEvent(QKeyEvent * event);
};

#endif // KEYBIND_H