public:
AboutWindow(QWidget * parent = 0);
+ protected:
+ void keyPressEvent(QKeyEvent *);
+
private:
QVBoxLayout * layout;
QLabel * text;
};
#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