summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/projectexplorer.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-04-17 16:49:43 +0200
committerFriedemann Kleint <Friedemann.Kleint@digia.com>2014-04-22 16:19:13 +0200
commit32bb96ebd458ba22249c08bdf59928649735f388 (patch)
tree2245f7ce2ea1e92812ffa373b91b413881ebcf31 /src/plugins/projectexplorer/projectexplorer.h
parent8e455f61b6008d9e7fd984179adbec3dbb19f59e (diff)
downloadqt-creator-32bb96ebd458ba22249c08bdf59928649735f388.tar.gz
Open projects from file system view.
Use ICore::openFiles() instead of EditorManager::openEditor() in FolderNavigationWidget since it is also able to open projects. Add menu entry to open a project in a directory, which uses a logic similar to the command line processing, trying to locate a project file in the directory using file globs. This allows for conveniently opening several projects by right-clicking instead of having to open the file dialog and to look for .pro files in directory listings. Change-Id: I8404342f7f09b4b994e6eee82af3dc712cd97512 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/projectexplorer.h')
-rw-r--r--src/plugins/projectexplorer/projectexplorer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/projectexplorer.h b/src/plugins/projectexplorer/projectexplorer.h
index 0e82ff9281..735badd0c3 100644
--- a/src/plugins/projectexplorer/projectexplorer.h
+++ b/src/plugins/projectexplorer/projectexplorer.h
@@ -128,6 +128,7 @@ public:
static QString directoryFor(Node *node);
static QString pathFor(Node *node);
+ static QStringList projectFileGlobs();
signals:
void runControlStarted(ProjectExplorer::RunControl *rc);