Add watching of .files/.config/.creator to generic project

Strangely absent.

Task-Number: QTCREATORBUG-6478

Change-Id: I35dd03a7d5b34c01dc668e5ed222d10088f77f15
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
Daniel Teske
2011-11-07 17:03:10 +01:00
parent 0ce5017de0
commit 3ba511c6ad
6 changed files with 27 additions and 72 deletions

View File

@@ -48,7 +48,6 @@ namespace Internal {
class Manager;
class ProjectFilesEditor;
class ProjectFilesEditorWidget;
class ProjectFilesDocument;
class ProjectFilesFactory;
class ProjectFilesFactory: public Core::IEditorFactory
@@ -58,8 +57,6 @@ class ProjectFilesFactory: public Core::IEditorFactory
public:
ProjectFilesFactory(Manager *manager, TextEditor::TextEditorActionHandler *handler);
Manager *manager() const;
virtual Core::IEditor *createEditor(QWidget *parent);
virtual QStringList mimeTypes() const;
@@ -68,7 +65,6 @@ public:
virtual Core::IFile *open(const QString &fileName);
private:
Manager *m_manager;
TextEditor::TextEditorActionHandler *m_actionHandler;
QStringList m_mimeTypes;
};
@@ -105,20 +101,6 @@ private:
TextEditor::TextEditorActionHandler *m_actionHandler;
};
class ProjectFilesDocument: public TextEditor::BaseTextDocument
{
Q_OBJECT
public:
ProjectFilesDocument(Manager *manager);
virtual ~ProjectFilesDocument();
virtual bool save(QString *errorString, const QString &name, bool autoSave);
private:
Manager *m_manager;
};
} // namespace Internal
} // namespace GenericProjectManager