KDevelop API Documentation

adaglobaloptionsdlg.h

Go to the documentation of this file.
00001 /* $Id: adaglobaloptionsdlg.h,v 1.1 2003/05/01 23:47:37 okellogg Exp $
00002  * Copyright (C) 2003 Oliver Kellogg
00003  * okellogg@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 #ifndef ADAGLOBALOPTIONSDLG_H
00011 #define ADAGLOBALOPTIONSDLG_H
00012 
00013 #include <qmap.h>
00014 
00015 #include <ktrader.h>
00016 
00017 #include "adaproject_optionsdlgbase.h"
00018 
00019 class AdaProjectPart;
00020 
00021 class AdaGlobalOptionsDlg : public AdaProjectOptionsDlgBase
00022 {
00023     Q_OBJECT
00024 
00025 public:
00026     AdaGlobalOptionsDlg(AdaProjectPart *part, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00027     ~AdaGlobalOptionsDlg();
00028 
00029 public slots:
00030     virtual void accept();
00031 
00032 protected slots:
00033     virtual void optionsButtonClicked();
00034     virtual void compiler_box_activated(const QString& text);
00035 
00036 private:
00037     AdaProjectPart *m_part;
00038     KTrader::OfferList offers;
00039     QString currentCompiler;
00040     QStringList service_names;
00041     QStringList service_execs;
00042     QMap<QString, QString> configCache;
00043 
00044     void saveCompilerOpts(QString compiler);
00045     void readCompilerOpts(QString compiler);
00046 
00047     void readConfigCache();
00048     void saveConfigCache();
00049 };
00050 
00051 #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:38 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003