Commit cf7eda0c authored by hjk's avatar hjk

Designer: Code style

Change-Id: Ibcca23d3d0b5612208bfae0c9a230ea22e443651
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 2567f44a
......@@ -38,7 +38,9 @@ namespace Designer {
namespace Internal {
// Associates the XML editor implementing the IEditor and its form widget host
struct EditorData {
class EditorData
{
public:
EditorData() : formWindowEditor(0), widgetHost(0) {}
operator bool() const { return formWindowEditor != 0; }
......
......@@ -40,11 +40,11 @@ QT_END_NAMESPACE
namespace SharedTools { class WidgetHost; }
namespace Core { class IEditor; }
namespace Designer {
class FormWindowEditor;
namespace Designer {
namespace Internal {
struct EditorData;
class EditorData;
class FormEditorStack;
class FormEditorW;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment