pref.h

00001 /***************************************************************************
00002  *   Copyright (C) 2004 by Lynn Hazan                                      *
00003  *   lynn.hazan@myrealbox.com                                              *
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 
00021 #ifndef _NDMANAGERPREF_H_
00022 #define _NDMANAGERPREF_H_
00023 
00024 #include <kdialogbase.h>
00025 #include <qframe.h>
00026 
00027 class ndManagerPrefPageOne;
00028 class ndManagerPrefPageTwo;
00029 
00030 class ndManagerPreferences : public KDialogBase
00031 {
00032     Q_OBJECT
00033 public:
00034   ndManagerPreferences(QWidget* parent,const char* name=0, WFlags f=0);
00035   
00037   void updateDialog();
00038    
00040   void updateConfiguration();
00041    
00043   inline bool isApplyEnable(){return applyEnable;};
00044 
00045  public slots:
00047    void slotDefault();
00049    void slotApply();
00051    void enableApply();
00052 
00053  signals:
00055    void settingsChanged();
00056 
00057 private:
00058   ndManagerPrefPageOne* m_pageOne;
00059   ndManagerPrefPageTwo* m_pageTwo;
00060   bool applyEnable;
00061 };
00062 
00063 class ndManagerPrefPageOne : public QFrame
00064 {
00065     Q_OBJECT
00066 public:
00067     ndManagerPrefPageOne(QWidget *parent = 0);
00068 };
00069 
00070 class ndManagerPrefPageTwo : public QFrame
00071 {
00072     Q_OBJECT
00073 public:
00074     ndManagerPrefPageTwo(QWidget *parent = 0);
00075 };
00076 
00077 #endif // _NDMANAGERPREF_H_

Generated on Sat Sep 15 16:04:45 2007 for ndmanager.kdevelop by  doxygen 1.5.1