summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qt4projectmanagerplugin.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2010-01-13 18:00:02 +0100
committerdt <qtc-committer@nokia.com>2010-01-13 18:02:22 +0100
commitfb3ae97df39860e5431c85434a70e04a1e0d7216 (patch)
tree63e9a7fc83227936a782fc841ddabf8fe2f46426 /src/plugins/qt4projectmanager/qt4projectmanagerplugin.h
parent407b7f1ff0ea0b5772d5bfc5d9a9a9de96098f48 (diff)
downloadqt-creator-fb3ae97df39860e5431c85434a70e04a1e0d7216.tar.gz
Add Build to the right click menu of sub projects for Qt4 Projects
They do what you expect them to do, that is build only a subtree. The implementation is a little bit strange. We temporarly set the sub node to be built on the BuildConfiguration, enqueue that BuildConfiguration (which calls BuildStep::init()), and then reset that temporary value. A more general way would be to have the ability to extend BuildConfiguration::buildProject() in a way that additional data can be passed to the BuildSteps. Task-Nr: QTCREATOR-5 Task-Nr: QTCREATORBUG-44
Diffstat (limited to 'src/plugins/qt4projectmanager/qt4projectmanagerplugin.h')
-rw-r--r--src/plugins/qt4projectmanager/qt4projectmanagerplugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qt4projectmanager/qt4projectmanagerplugin.h b/src/plugins/qt4projectmanager/qt4projectmanagerplugin.h
index 3d1a265ff8..d860219bed 100644
--- a/src/plugins/qt4projectmanager/qt4projectmanagerplugin.h
+++ b/src/plugins/qt4projectmanager/qt4projectmanagerplugin.h
@@ -80,6 +80,7 @@ private:
QAction *m_runQMakeAction;
QAction *m_runQMakeActionContextMenu;
+ QAction *m_buildSubProjectContextMenu;
GettingStartedWelcomePage *m_welcomePage;
};