summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/customexecutablerunconfiguration.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2009-12-03 18:37:27 +0100
committerdt <qtc-committer@nokia.com>2009-12-07 15:00:17 +0100
commit1e46cb424e05a8be9909b13b2031625b691839ec (patch)
tree166f82ae2924483b604be18a499d687740d0fd90 /src/plugins/projectexplorer/customexecutablerunconfiguration.h
parent429a52742c81e6001d626f720f2f521168f3a14b (diff)
downloadqt-creator-1e46cb424e05a8be9909b13b2031625b691839ec.tar.gz
Rework connections on the project pane for Qt4Projects.
Should fix a lot of corner cases, might introduce a few bugs. Also rename functions/slots to be better named. Generic Project Manager and CMake Project Manager are missing from this patch.
Diffstat (limited to 'src/plugins/projectexplorer/customexecutablerunconfiguration.h')
-rw-r--r--src/plugins/projectexplorer/customexecutablerunconfiguration.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/plugins/projectexplorer/customexecutablerunconfiguration.h b/src/plugins/projectexplorer/customexecutablerunconfiguration.h
index 35f91fe902..096a8a9827 100644
--- a/src/plugins/projectexplorer/customexecutablerunconfiguration.h
+++ b/src/plugins/projectexplorer/customexecutablerunconfiguration.h
@@ -102,6 +102,8 @@ signals:
void baseEnvironmentChanged();
void userEnvironmentChangesChanged(const QList<ProjectExplorer::EnvironmentItem> &diff);
+private slots:
+ void activeBuildConfigurationChanged();
private:
enum BaseEnvironmentBase { CleanEnvironmentBase = 0,
@@ -126,6 +128,7 @@ private:
QString m_userName;
QList<ProjectExplorer::EnvironmentItem> m_userEnvironmentChanges;
BaseEnvironmentBase m_baseEnvironmentBase;
+ ProjectExplorer::BuildConfiguration *m_lastActiveBuildConfiguration;
};
class CustomExecutableRunConfigurationFactory : public IRunConfigurationFactory
@@ -154,16 +157,16 @@ public:
private slots:
void changed();
- void setExecutable();
- void setCommandLineArguments(const QString &commandLineArguments);
- void setUserName(const QString &name);
- void setWorkingDirectory();
+ void executableEdited();
+ void argumentsEdited(const QString &arguments);
+ void userNameEdited(const QString &name);
+ void workingDirectoryEdited();
void termToggled(bool);
- void userChangesUpdated();
+ void userChangesChanged();
void baseEnvironmentChanged();
void userEnvironmentChangesChanged();
- void baseEnvironmentComboBoxChanged(int index);
+ void baseEnvironmentSelected(int index);
private:
bool m_ignoreChange;
CustomExecutableRunConfiguration *m_runConfiguration;