Pop up a dialog if the CMakeCache.txt changes.

Rerun cmake and reparse the file. Add new files to the tree, remove old
ones from th tree. Add/removing targets should also work.
This commit is contained in:
dt
2009-03-26 17:36:58 +01:00
parent ece7c9afd7
commit 0a2df32654
8 changed files with 186 additions and 78 deletions

View File

@@ -29,7 +29,6 @@
#include "proeditormodel.h"
#include "directorywatcher.h"
#include "profilereader.h"
#include "prowriter.h"
#include "qt4nodes.h"
@@ -37,6 +36,7 @@
#include "qt4projectmanager.h"
#include <projectexplorer/nodesvisitor.h>
#include <projectexplorer/filewatcher.h>
#include <coreplugin/editormanager/editormanager.h>
#include <coreplugin/fileiconprovider.h>
@@ -88,7 +88,7 @@ Qt4PriFileNode::Qt4PriFileNode(Qt4Project *project, Qt4ProFileNode* qt4ProFileNo
m_qt4ProFileNode(qt4ProFileNode),
m_projectFilePath(QDir::fromNativeSeparators(filePath)),
m_projectDir(QFileInfo(filePath).absolutePath()),
m_fileWatcher(new FileWatcher(this))
m_fileWatcher(new ProjectExplorer::FileWatcher(this))
{
Q_ASSERT(project);
setFolderName(QFileInfo(filePath).completeBaseName());