X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Fkeygrabber.h;h=aae59616fe1401441939e0c0f98a1a01b6fea216;hb=d59de2a3408a34b53772bfd4b00cd3e8dc50a03b;hp=481debbe71cbfcd5e67ade7a3ea98173f32ffbf8;hpb=166019baeee39e3867ecf6c4eddd0855dc3507a4;p=virtualjaguar diff --git a/src/gui/keygrabber.h b/src/gui/keygrabber.h index 481debb..aae5961 100644 --- a/src/gui/keygrabber.h +++ b/src/gui/keygrabber.h @@ -1,7 +1,7 @@ // // keygrabber.h - Widget to grab a key and dismiss itself // -// by James L. Hammons +// by James Hammons // (C) 2011 Underground Software // @@ -10,10 +10,6 @@ #include -//class GeneralTab; -//class ControllerTab; -//class AlpineTab; - class KeyGrabber: public QDialog { Q_OBJECT @@ -21,26 +17,16 @@ class KeyGrabber: public QDialog public: KeyGrabber(QWidget * parent = 0); ~KeyGrabber(); -// void UpdateVJSettings(void); - void SetText(QString); -// int GetKeyGrabbed(void); + void SetKeyText(int); protected: void keyPressEvent(QKeyEvent *); -// private: -// void LoadDialogFromSettings(void); - - private: -// QTabWidget * tabWidget; -// QDialogButtonBox * buttonBox; +private: QLabel * label; public: int key; -// GeneralTab * generalTab; -// ControllerTab * controllerTab; -// AlpineTab * alpineTab; }; #endif // __KEYGRABBER_H__