KDevelop API Documentation

pascalglobaloptionsdlg.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 PASCALGLOBALOPTIONSDLG_H
00012 #define PASCALGLOBALOPTIONSDLG_H
00013 
00014 #include <qmap.h>
00015 
00016 #include <ktrader.h>
00017 
00018 #include "pascalproject_optionsdlgbase.h"
00019 
00020 class PascalProjectPart;
00021 
00022 class PascalGlobalOptionsDlg : public PascalProjectOptionsDlgBase
00023 {
00024     Q_OBJECT
00025 
00026 public:
00027     PascalGlobalOptionsDlg(PascalProjectPart *part, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00028     ~PascalGlobalOptionsDlg();
00029 
00030 public slots:
00031     virtual void accept();
00032 
00033 protected slots:
00034     virtual void optionsButtonClicked();
00035     virtual void compiler_box_activated(const QString& text);
00036 
00037 private:
00038     PascalProjectPart *m_part;
00039     KTrader::OfferList offers;
00040     QString currentCompiler;
00041     QStringList service_names;
00042     QStringList service_execs;
00043     QMap<QString, QString> configCache;
00044 
00045     void saveCompilerOpts(QString compiler);
00046     void readCompilerOpts(QString compiler);
00047 
00048     void readConfigCache();
00049     void saveConfigCache();
00050 };
00051 
00052 #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:40 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003