kmtopwidget.h
00001 /* 00002 * KMTopLevelWidget class interface 00003 * 00004 * Copyright (C) 1998 Stefan Taferner 00005 * 00006 * This program is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU General Public License as published by the 00008 * Free Software Foundation; either version 2 of the License, or (at your 00009 * option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, but 00012 * WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABLILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * General Public License for more details. You should have received a copy 00015 * of the GNU General Public License along with this program; if not, write 00016 * to the Free Software Foundation, Inc, 59 Temple Place - Suite 330, Boston, MA 02111-1307, 00017 * USA. 00018 */ 00019 #ifndef kmtopwidget_h 00020 #define kmtopwidget_h 00021 00022 #include <kmainwindow.h> 00023 00024 class QCloseEvent; 00025 00029 class KMTopLevelWidget: public KMainWindow 00030 { 00031 Q_OBJECT 00032 00033 public: 00034 KMTopLevelWidget(const char *name = 0); 00035 ~KMTopLevelWidget(); 00036 00038 virtual void readConfig(void); 00039 00041 virtual void writeConfig(void); 00042 00043 protected: 00044 virtual void closeEvent(QCloseEvent*); 00045 }; 00046 00047 #endif /*kmtopwidget_h*/