KDevelop API Documentation

pascalprojectoptionsdlg.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 Alexander Dymo                                     *
00003  *   cloudtemple@mksat.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  ***************************************************************************/
00011 #ifndef PASCALPROJECTOPTIONSDLG_H
00012 #define PASCALPROJECTOPTIONSDLG_H
00013 
00014 #include <ktrader.h>
00015 
00016 #include "pascalproject_optionsdlgbase.h"
00017 
00018 class PascalProjectPart;
00019 class KDevCompilerOptions;
00020 
00021 class PascalProjectOptionsDlg : public PascalProjectOptionsDlgBase
00022 {
00023   Q_OBJECT
00024 
00025 public:
00026     PascalProjectOptionsDlg(PascalProjectPart *part, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00027     ~PascalProjectOptionsDlg();
00028 
00029 public slots:
00030     virtual void accept();
00031 
00032 protected slots:
00033     virtual void compiler_box_activated(const QString &s);
00034     void configComboTextChanged(const QString &config);
00035     void configChanged(const QString &config);
00036     void configAdded();
00037     void configRemoved();
00038     void optionsButtonClicked();
00039     void setDirty();
00040     void setDefaultOptions();
00041 
00042 private:
00043     QStringList allConfigs;
00044     QString currentConfig;
00045     bool dirty;
00046 
00047     KTrader::OfferList offers;
00048     QStringList service_names;
00049     QStringList service_execs;
00050 
00051     PascalProjectPart *m_part;
00052 
00053     void saveConfig(QString config);
00054     void readConfig(QString config);
00055     QStringList allBuildConfigs();
00056 };
00057 
00058 #endif
00059 
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:40 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003