Design mode/Qt Designer clean-up, part III: Resources.

Move resource code to new ResourceHandler class and
instantiate it on the form window.
This commit is contained in:
Friedemann Kleint
2010-03-09 17:01:34 +01:00
parent 8aae812558
commit c7e3e6adf3
14 changed files with 287 additions and 154 deletions

View File

@@ -112,9 +112,9 @@ Designer::FormWindowEditor *EditorWidget::formWindowEditorForXmlEditor(const Cor
return m_stack->formWindowEditorForXmlEditor(xmlEditor);
}
FormWindowEditor *EditorWidget::activeFormWindow() const
EditorData EditorWidget::activeEditor() const
{
return m_stack->activeFormWindow();
return m_stack->activeEditor();
}
Designer::FormWindowEditor *EditorWidget::formWindowEditorForFormWindow(const QDesignerFormWindowInterface *fw) const