custommakeconfigwidget.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Hendrik Kueck * 00003 * kueck@cs.ubc.ca * 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 CUSTOMMAKECONFIGWIDGET_H 00012 #define CUSTOMMAKECONFIGWIDGET_H 00013 00014 #include "domutil.h" 00015 00016 #include <custommakeconfigwidgetbase.h> 00017 00018 class CustomProjectPart; 00019 class EnvironmentVariablesWidget; 00020 00024 class CustomMakeConfigWidget : public CustomMakeConfigWidgetBase 00025 { 00026 Q_OBJECT 00027 00028 public: 00029 CustomMakeConfigWidget(CustomProjectPart* part, const QString& configGroup, QWidget* parent); 00030 00031 ~CustomMakeConfigWidget(); 00032 00033 public slots: 00034 void accept(); 00035 00036 protected: 00037 CustomProjectPart* m_part; 00038 QString m_configGroup; 00039 QDomDocument& m_dom; 00040 00041 QStringList m_allEnvironments; 00042 QString m_currentEnvironment; 00043 00044 EnvironmentVariablesWidget* m_envWidget; 00045 00046 virtual void envNameChanged(const QString& envName); 00047 virtual void envChanged(const QString& envName); 00048 virtual void envAdded(); 00049 virtual void envRemoved(); 00050 virtual void envCopied(); 00051 00052 }; 00053 00054 #endif