KDevelop API Documentation

generalinfowidget.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2002 by Yann Hodique                                    *
00003  *   Yann.Hodique@lifl.fr                                                  *
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 
00011 #ifndef _GENERALINFOWIDGET_H_
00012 #define _GENERALINFOWIDGET_H_
00013 
00014 #include <qwidget.h>
00015 #include <qdom.h>
00016 
00017 #include "generalinfowidgetbase.h"
00018 
00019 class QDomDocument;
00020 
00021 class GeneralInfoWidget : public GeneralInfoWidgetBase {
00022     Q_OBJECT
00023 
00024 public:
00025 
00026     GeneralInfoWidget(QDomDocument &projectDom, QWidget *parent=0, const char *name=0);
00027     ~GeneralInfoWidget();
00028 
00029 public slots:
00030     void accept();
00031 
00032 private slots:
00033     void slotProjectDirectoryChanged( const QString& text );
00034     void slotProjectDirectoryComboChanged();
00035 
00036 private:
00037 
00038     QDomDocument m_projectDom;
00039 
00040     void readConfig();
00041     void writeConfig();
00042 
00043     bool isProjectDirectoryAbsolute();
00044     QString projectDirectory();
00045     void setProjectDirectoryError( const QString& error );
00046     void setProjectDirectorySuccess();
00047 };
00048 
00049 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:03:58 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003