summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/designmodecontext.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-04-13 13:00:30 +0200
committerhjk <qtc-committer@nokia.com>2011-04-14 11:15:07 +0200
commit70d392d23515e9fc4c5a64897fd4c295d3f17817 (patch)
tree228cf7522e5cd695295b810d6fe5daf53afc9488 /src/plugins/qmldesigner/designmodecontext.h
parentcbfaea1ed342102cdfa848698d96cb7c010dae48 (diff)
downloadqt-creator-70d392d23515e9fc4c5a64897fd4c295d3f17817.tar.gz
core: make context and widget IContext data members
Diffstat (limited to 'src/plugins/qmldesigner/designmodecontext.h')
-rw-r--r--src/plugins/qmldesigner/designmodecontext.h32
1 files changed, 2 insertions, 30 deletions
diff --git a/src/plugins/qmldesigner/designmodecontext.h b/src/plugins/qmldesigner/designmodecontext.h
index 587730bf4f..2b9f1511d3 100644
--- a/src/plugins/qmldesigner/designmodecontext.h
+++ b/src/plugins/qmldesigner/designmodecontext.h
@@ -35,53 +35,25 @@
#define DESIGNMODECONTEXT_H
#include <coreplugin/icontext.h>
-#include <QList>
-
-QT_BEGIN_NAMESPACE
-class QWidget;
-QT_END_NAMESPACE
namespace QmlDesigner {
-
-class FormEditorWidget;
-
namespace Internal {
-class DesignModeWidget;
-
/**
* Bauhaus Design mode context object
*/
class DesignModeContext : public Core::IContext
{
public:
- DesignModeContext(DesignModeWidget *widget);
- ~DesignModeContext();
-
- Core::Context context() const;
- QWidget *widget();
-
+ DesignModeContext(QWidget *widget);
QString contextHelpId() const;
-
-private:
- DesignModeWidget *m_widget;
- const Core::Context m_context;
};
class FormEditorContext : public Core::IContext
{
public:
- FormEditorContext(FormEditorWidget *widget);
- ~FormEditorContext();
-
- Core::Context context() const;
- QWidget *widget();
-
+ FormEditorContext(QWidget *widget);
QString contextHelpId() const;
-
-private:
- FormEditorWidget *m_widget;
- const Core::Context m_context;
};
}