00001 /*************************************************************************** 00002 aboutbox.h - description 00003 ------------------- 00004 begin : Sat Jul 30 2005 00005 copyright : (C) 2005-2006 by Ben Swerts 00006 email : bswerts@users.sourceforge.net 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00020 00021 #ifndef ABOUTBOX_H 00022 #define ABOUTBOX_H 00023 00025 00026 // Base class header file 00027 #include <qdialog.h> 00028 00030 00031 class AboutBox: public QDialog 00032 { 00033 public: 00034 AboutBox(QWidget* parent = 0, const char* name = 0); // Constructor 00035 ~AboutBox(); // Destructor 00036 00037 protected: 00038 void keyPressEvent(QKeyEvent* e); // handles key presses 00039 void mousePressEvent(QMouseEvent* e); // handles mouse presses 00040 }; 00041 00042 #endif 00043