kmail Library API Documentation

kmtopwidget.cpp

00001 /*
00002  * KMTopLevelWidget class implementation
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 #ifdef HAVE_CONFIG_H
00020 #include <config.h>
00021 #endif
00022 
00023 #include "kmtopwidget.h"
00024 
00025 #include <kapplication.h>
00026 
00027 //-----------------------------------------------------------------------------
00028 KMTopLevelWidget::KMTopLevelWidget(const char* aName):
00029   KMainWindow(0, aName)
00030 {
00031   kapp->ref();
00032 }
00033 
00034 
00035 //-----------------------------------------------------------------------------
00036 KMTopLevelWidget::~KMTopLevelWidget()
00037 {
00038   kapp->deref();
00039 }
00040 
00041 
00042 //-----------------------------------------------------------------------------
00043 void KMTopLevelWidget::closeEvent(QCloseEvent* e)
00044 {
00045   // Almost verbatim from KMainWindow
00046   KMainWindow::closeEvent( e ); 
00047 }
00048 
00049 
00050 //-----------------------------------------------------------------------------
00051 void KMTopLevelWidget::readConfig(void)
00052 {
00053 }
00054 
00055 
00056 //-----------------------------------------------------------------------------
00057 void KMTopLevelWidget::writeConfig(void)
00058 {
00059 }
00060 
00061 #include "kmtopwidget.moc"
KDE Logo
This file is part of the documentation for kmail Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:37:34 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003