]> Shamusworld >> Repos - architektonas/blobdiff - src/about.h
Added some extra keys to aid in dismissal of About dialog.
[architektonas] / src / about.h
index 7397e3b8a9679f185eac1b6ad909d248627f0dac..1eceedb72a578c711a50bb43063d9f5ce55d6862 100644 (file)
@@ -2,7 +2,7 @@
 // about.h: Credits where credits are due ;-)
 //
 // by James L. Hammons
-// (C) 2010 Underground Software
+// (C) 2012 Underground Software
 //
 
 #ifndef __ABOUT_H__
@@ -15,6 +15,9 @@ class AboutWindow: public QWidget
        public:
                AboutWindow(QWidget * parent = 0);
 
+       protected:
+               void keyPressEvent(QKeyEvent *);
+
        private:
                QVBoxLayout * layout;
                QLabel * text;
@@ -22,21 +25,3 @@ class AboutWindow: public QWidget
 };
 
 #endif // __ABOUT_H__
-
-
-#if 0
-class AboutWindow : public QbWindow {
-  Q_OBJECT
-
-public:
-  QVBoxLayout *layout;
-  struct Logo : public QWidget {
-    void paintEvent(QPaintEvent*);
-  } *logo;
-  QLabel *info;
-
-  AboutWindow();
-};
-
-extern AboutWindow *aboutWindow;
-#endif