uic-Codemodel-updating: Decouple form editor.

Pass around contents as string, saving repeated
invocation of FormWindowEditor::contents().
Remove dependency to FormWindowEditor.
Reviewed-by: dt <qtc-committer@nokia.com>
This commit is contained in:
Friedemann Kleint
2010-02-26 14:55:25 +01:00
parent f1192c419e
commit 13a608f86f
5 changed files with 32 additions and 39 deletions

View File

@@ -49,10 +49,6 @@ namespace Core {
class ICore;
}
namespace Designer {
class FormWindowEditor;
}
namespace Qt4ProjectManager {
// Import base classes into namespace
@@ -207,7 +203,7 @@ public:
QStringList variableValue(const Qt4Variable var) const;
void updateCodeModelSupportFromBuild(const QStringList &files);
void updateCodeModelSupportFromEditor(const QString &uiFileName, Designer::FormWindowEditor *fw);
void updateCodeModelSupportFromEditor(const QString &uiFileName, const QString &contents);
QString buildDir() const;