forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user