Designer: Partially pimpl and remove used of global object pool

Change-Id: I88f43678fb07d00501e7b5c04e992acee292d7fe
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2018-02-09 15:55:14 +01:00
parent 42d2c15239
commit 8e83f6f0e7
4 changed files with 35 additions and 32 deletions

View File

@@ -29,10 +29,6 @@
#include <QVariant>
#include <QObject>
QT_BEGIN_NAMESPACE
class QSettings;
QT_END_NAMESPACE
namespace Designer {
class FormClassWizardParameters;
@@ -42,7 +38,8 @@ class QtDesignerFormClassCodeGenerator : public QObject
{
Q_OBJECT
public:
explicit QtDesignerFormClassCodeGenerator(QObject *parent = nullptr);
QtDesignerFormClassCodeGenerator();
~QtDesignerFormClassCodeGenerator();
static bool generateCpp(const FormClassWizardParameters &parameters,
QString *header, QString *source, int indentation = 4);