Designer: Use static pattern for FormEditorW singleton

Change-Id: Icf4a0135d9bc8441d468fd77abe29adcee677bb9
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-09-03 16:03:35 +02:00
parent f70ba9930e
commit 1e28e75904
14 changed files with 294 additions and 292 deletions

View File

@@ -38,13 +38,12 @@ QT_FORWARD_DECLARE_CLASS(QUrl)
namespace Designer {
namespace Internal {
class FormEditorW;
class QtCreatorIntegration : public QDesignerIntegration
{
Q_OBJECT
public:
explicit QtCreatorIntegration(QDesignerFormEditorInterface *core, FormEditorW *parent = 0);
explicit QtCreatorIntegration(QDesignerFormEditorInterface *core, QObject *parent = 0);
QWidget *containerWindow(QWidget *widget) const;
@@ -66,7 +65,6 @@ private:
const QString &signalSignature,
const QStringList &parameterNames,
QString *errorMessage);
FormEditorW *m_few;
};
} // namespace Internal