summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qtuicodemodelsupport.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-26 14:55:25 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-02-26 14:55:39 +0100
commit13a608f86fdd7726f0bd1328fa5a70d0f2d7cf28 (patch)
tree9cda27d28eebd422a26a6012b68cca28f268a588 /src/plugins/qt4projectmanager/qtuicodemodelsupport.h
parentf1192c419ef7123d4ababa365b226b5b24d160f3 (diff)
downloadqt-creator-13a608f86fdd7726f0bd1328fa5a70d0f2d7cf28.tar.gz
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>
Diffstat (limited to 'src/plugins/qt4projectmanager/qtuicodemodelsupport.h')
-rw-r--r--src/plugins/qt4projectmanager/qtuicodemodelsupport.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/qt4projectmanager/qtuicodemodelsupport.h b/src/plugins/qt4projectmanager/qtuicodemodelsupport.h
index d7b46518d4..e85be7c2e3 100644
--- a/src/plugins/qt4projectmanager/qtuicodemodelsupport.h
+++ b/src/plugins/qt4projectmanager/qtuicodemodelsupport.h
@@ -34,10 +34,6 @@
#include <QtCore/QDateTime>
-namespace Designer {
-class FormWindowEditor;
-}
-
namespace Qt4ProjectManager {
class Qt4Project;
namespace Internal {
@@ -54,7 +50,7 @@ public:
void setSourceName(const QString &name);
virtual QByteArray contents() const;
virtual QString fileName() const;
- void updateFromEditor(Designer::FormWindowEditor *);
+ void updateFromEditor(const QString &formEditorContents);
void updateFromBuild();
private:
void init();