~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to buildtools/pascal/pascalprojectoptionsdlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************
2
 
 *   Copyright (C) 2003 Alexander Dymo                                     *
3
 
 *   cloudtemple@mksat.net                                                 *
4
 
 *                                                                         *
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.                                   *
9
 
 *                                                                         *
10
 
 ***************************************************************************/
11
 
#ifndef PASCALPROJECTOPTIONSDLG_H
12
 
#define PASCALPROJECTOPTIONSDLG_H
13
 
 
14
 
#include <ktrader.h>
15
 
 
16
 
#include "pascalproject_optionsdlgbase.h"
17
 
 
18
 
class PascalProjectPart;
19
 
class KDevCompilerOptions;
20
 
 
21
 
class PascalProjectOptionsDlg : public PascalProjectOptionsDlgBase
22
 
{
23
 
  Q_OBJECT
24
 
 
25
 
public:
26
 
    PascalProjectOptionsDlg(PascalProjectPart *part, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
27
 
    ~PascalProjectOptionsDlg();
28
 
 
29
 
public slots:
30
 
    virtual void accept();
31
 
 
32
 
protected slots:
33
 
    virtual void compiler_box_activated(const QString &s);
34
 
    void configComboTextChanged(const QString &config);
35
 
    void configChanged(const QString &config);
36
 
    void configAdded();
37
 
    void configRemoved();
38
 
    void optionsButtonClicked();
39
 
    void setDirty();
40
 
    void setDefaultOptions();
41
 
 
42
 
private:
43
 
    QStringList allConfigs;
44
 
    QString currentConfig;
45
 
    bool dirty;
46
 
 
47
 
    KTrader::OfferList offers;
48
 
    QStringList service_names;
49
 
    QStringList service_execs;
50
 
 
51
 
    PascalProjectPart *m_part;
52
 
 
53
 
    void saveConfig(QString config);
54
 
    void readConfig(QString config);
55
 
    QStringList allBuildConfigs();
56
 
};
57
 
 
58
 
#endif
59