forked from qt-creator/qt-creator
Designer: Remove compatibility code for Qt < 5.0
Change-Id: I3ebe69b2c56635d1978da994fc772536a2839304 Reviewed-by: Christian Stenger <christian.stenger@digia.com> Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -31,12 +31,7 @@
|
||||
#define QTCREATORINTEGRATION_H
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
#if QT_VERSION >= 0x050000
|
||||
# include <QDesignerIntegration>
|
||||
#else
|
||||
# include "qt_private/qdesigner_integration_p.h"
|
||||
#endif
|
||||
#include <QDesignerIntegration>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QUrl)
|
||||
|
||||
@@ -45,12 +40,8 @@ namespace Internal {
|
||||
|
||||
class FormEditorW;
|
||||
|
||||
class QtCreatorIntegration :
|
||||
#if QT_VERSION >= 0x050000
|
||||
public QDesignerIntegration {
|
||||
#else
|
||||
public qdesigner_internal::QDesignerIntegration {
|
||||
#endif
|
||||
class QtCreatorIntegration : public QDesignerIntegration
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit QtCreatorIntegration(QDesignerFormEditorInterface *core, FormEditorW *parent = 0);
|
||||
|
||||
Reference in New Issue
Block a user