kmail Library API Documentation

configuredialog.h

00001 /* -*- c++ -*- 00002 * kmail: KDE mail client 00003 * This file: Copyright (C) 2000 Espen Sand, espen@kde.org 00004 * Copyright (C) 2001-2002 Marc Mutz <mutz@kde.org> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 * 00020 */ 00021 00022 #ifndef _CONFIGURE_DIALOG_H_ 00023 #define _CONFIGURE_DIALOG_H_ 00024 00025 #include <kdialogbase.h> 00026 #include <qptrlist.h> 00027 #include <qguardedptr.h> 00028 00029 class KConfig; 00030 class ConfigurationPage; 00031 class ProfileDialog; 00032 00033 class ConfigureDialog : public KDialogBase 00034 { 00035 Q_OBJECT 00036 00037 public: 00038 ConfigureDialog( QWidget *parent=0, const char *name=0, bool modal=true ); 00039 ~ConfigureDialog(); 00040 00041 public slots: 00043 void show(); 00044 00045 protected slots: 00047 void slotOk(); 00049 void slotApply(); 00051 void slotHelp(); 00053 void slotUser1(); 00061 void slotInstallProfile( KConfig * profile ); 00062 00063 private slots: 00064 void slotCancelOrClose(); 00065 00066 signals: 00067 void configChanged(); 00068 00069 private: 00070 void setup(); 00071 void apply(bool); 00072 00073 private: 00074 QPtrList<ConfigurationPage> mPages; 00075 QGuardedPtr<ProfileDialog> mProfileDialog; 00076 }; 00077 00078 #endif
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 Wed Jul 28 23:57:57 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003