forked from qt-creator/qt-creator
Designer: Use static pattern for FormEditorW singleton
Change-Id: Icf4a0135d9bc8441d468fd77abe29adcee677bb9 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -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 ¶meterNames,
|
||||
QString *errorMessage);
|
||||
FormEditorW *m_few;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user