Main Page | Class List | File List | Class Members | File Members | Related Pages

configdialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Bojan D.                                        *
00003  *   bojan_d@users.sourceforge.net                                         *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 #ifndef CONFIGDIALOG_H
00021 #define CONFIGDIALOG_H
00022 
00034 #include <kdialogbase.h>
00035 #include <qwidget.h>
00036 
00037 class PrefCapture;
00038 class PrefFile;
00039 class PrefFTP;
00040 class PrefWWW;
00041 class PrefCaption;
00042 
00054 class ConfigDialog : public KDialogBase 
00055 {
00056         Q_OBJECT
00057         
00058         public:
00065                 ConfigDialog(QWidget *parent, const char *name=0, WFlags f=0);
00066         
00068                 ~ConfigDialog();
00069                 
00071                 void updateDialog();
00072                 
00074                 void updateConfiguration();
00075                 
00076         public slots:
00078         void slotDefault();
00080                 void slotApply();
00082                 void enableApply();
00083                 
00084         signals:
00086                 void settingsChanged();
00087                 
00088         private:
00089         
00090                 int alignFlags[9];                      
00091         
00092                 PrefCapture* m_prefCapture;     
00093                 PrefFile* m_prefFile;           
00094                 PrefFTP* m_prefFTP;                     
00095                 PrefWWW* m_prefWWW;                     
00096                 PrefCaption* m_prefCaption;     
00097 
00098 };
00099 
00100 #endif

Generated on Mon Sep 5 12:52:33 2005 for kwebsnap.kdevelop by  doxygen 1.3.9.1