src/prefdialog.h

00001 /***************************************************************************
00002                           prefdialog.h  -  description
00003                              -------------------
00004     begin                : Fri Feb 27 2004
00005     copyright            : (C) 2003 by Lynn Hazan
00006     email                :
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 
00018 #ifndef PREFDIALOG_H
00019 #define PREFDIALOG_H
00020 
00021 // include files for QT
00022 #include <qwidget.h>
00023 
00024 // include files for KDE
00025 #include <kdialogbase.h>
00026 
00027 class PrefGeneral;
00028 class PrefDefaults;
00029 class PositionProperties;
00030 class ClusterProperties;
00031 
00032 
00038 class PrefDialog : public KDialogBase {
00039     Q_OBJECT
00040   public:
00042     PrefDialog(QWidget *parent,const char *name=0, WFlags f=0);
00043 
00045     void updateDialog();
00047     void updateConfiguration();
00049     inline bool isApplyEnable(){return applyEnable;};
00050     
00051   public slots:
00053     void slotDefault();
00055     void slotApply();
00057     void enableApply();
00058 
00059   signals:
00061     void settingsChanged();
00062 
00063   
00064   private:
00065     PrefGeneral* prefGeneral;
00066     PrefDefaults* prefDefaults;
00067     PositionProperties* positionProperties;
00068     ClusterProperties* clusterProperties;
00069     bool applyEnable;
00070 };
00071 
00072 #endif  // PREFDIALOG_H

Generated on Mon Sep 17 20:47:31 2007 for NeuroScope by  doxygen 1.5.1