]> Shamusworld >> Repos - architektonas/blobdiff - src/about.h
Converted codebase from Qt4 to Qt5.
[architektonas] / src / about.h
index 7397e3b8a9679f185eac1b6ad909d248627f0dac..cea55309ea2447b08c6c6fdeb6c6d9712a01f720 100644 (file)
@@ -2,19 +2,22 @@
 // about.h: Credits where credits are due ;-)
 //
 // by James L. Hammons
-// (C) 2010 Underground Software
+// (C) 2012 Underground Software
 //
 
 #ifndef __ABOUT_H__
 #define __ABOUT_H__
 
-#include <QtGui>
+#include <QtWidgets>
 
 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