1
/***************************************************************************
2
* Copyright (C) 2003 Alexander Dymo *
3
* cloudtemple@mksat.net *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
***************************************************************************/
11
#ifndef PASCALPROJECTOPTIONSDLG_H
12
#define PASCALPROJECTOPTIONSDLG_H
16
#include "pascalproject_optionsdlgbase.h"
18
class PascalProjectPart;
19
class KDevCompilerOptions;
21
class PascalProjectOptionsDlg : public PascalProjectOptionsDlgBase
26
PascalProjectOptionsDlg(PascalProjectPart *part, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
27
~PascalProjectOptionsDlg();
30
virtual void accept();
33
virtual void compiler_box_activated(const QString &s);
34
void configComboTextChanged(const QString &config);
35
void configChanged(const QString &config);
38
void optionsButtonClicked();
40
void setDefaultOptions();
43
QStringList allConfigs;
44
QString currentConfig;
47
KTrader::OfferList offers;
48
QStringList service_names;
49
QStringList service_execs;
51
PascalProjectPart *m_part;
53
void saveConfig(QString config);
54
void readConfig(QString config);
55
QStringList allBuildConfigs();