diff options
Diffstat (limited to 'simple-visualization/qmpkeyboardwindow.hpp')
-rw-r--r-- | simple-visualization/qmpkeyboardwindow.hpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/simple-visualization/qmpkeyboardwindow.hpp b/simple-visualization/qmpkeyboardwindow.hpp index 65ad266..b540cca 100644 --- a/simple-visualization/qmpkeyboardwindow.hpp +++ b/simple-visualization/qmpkeyboardwindow.hpp @@ -7,24 +7,24 @@ class QLabel; class qmpPianoWidget; -class qmpKeyboardWindow:public QWidget +class qmpKeyboardWindow: public QWidget { - Q_OBJECT - private: - qmpPianoWidget *pw[16]; - QLabel *lb[16]; - qmpPluginAPI *api; - int eh; - public: - qmpKeyboardWindow(qmpPluginAPI *_api,QWidget *parent); - ~qmpKeyboardWindow(); - void resetAll(); - protected: - void closeEvent(QCloseEvent *event); - signals: - void keystateupdated(int ch,int key,bool state); - public slots: - void onkeystatesupdate(int ch,int key,bool state); + Q_OBJECT +private: + qmpPianoWidget *pw[16]; + QLabel *lb[16]; + qmpPluginAPI *api; + int eh; +public: + qmpKeyboardWindow(qmpPluginAPI *_api, QWidget *parent); + ~qmpKeyboardWindow(); + void resetAll(); +protected: + void closeEvent(QCloseEvent *event); +signals: + void keystateupdated(int ch, int key, bool state); +public slots: + void onkeystatesupdate(int ch, int key, bool state); }; #endif |