Fix FileManager to correctly handle multiple IFile's for the same file

And port the Qt4ProjectManager to use that API for synchronization
between editors and the .pro file tree.

Reviewed-By: con
This commit is contained in:
dt
2010-01-22 16:49:57 +01:00
parent 508173b872
commit 75545a2bf0
12 changed files with 265 additions and 195 deletions

View File

@@ -187,12 +187,6 @@ bool FileManagerPrototype::isFileManaged(const QString &fileName) const
return callee()->isFileManaged(fileName);
}
QList<Core::IFile *>
FileManagerPrototype::managedFiles(const QString &fileName) const
{
return callee()->managedFiles(fileName);
}
void FileManagerPrototype::blockFileChange(Core::IFile *file)
{
callee()->blockFileChange(file);

View File

@@ -117,7 +117,6 @@ public slots:
QString getSaveAsFileName(Core::IFile *file);
bool isFileManaged(const QString &fileName) const;
QList<Core::IFile *> managedFiles(const QString &fileName) const;
void blockFileChange(Core::IFile *file);
void unblockFileChange(Core::IFile *file);