summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-17 14:40:34 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-17 14:43:52 +0200
commit532f394ac521199490ff0fa1864df133c934408d (patch)
tree09839cd7d7203463c97fb249805bfebe45ddbeb6 /src
parent0704bebd5c4631a4e832e1975c2af4c1faf20a34 (diff)
downloadqttools-532f394ac521199490ff0fa1864df133c934408d.tar.gz
Designer: Make some interfaces needed for IDE integration public.
QDesignerNewFormWidgetInterface QDesignerSettingsInterface QDesignerOptionsPageInterface
Diffstat (limited to 'src')
-rw-r--r--src/designer/src/components/formeditor/embeddedoptionspage.h2
-rw-r--r--src/designer/src/components/formeditor/formeditor_optionspage.h2
-rw-r--r--src/designer/src/components/formeditor/templateoptionspage.h2
-rw-r--r--src/designer/src/components/propertyeditor/propertyeditor.cpp2
-rw-r--r--src/designer/src/components/taskmenu/listwidgeteditor.cpp2
-rw-r--r--src/designer/src/components/widgetbox/widgetboxtreewidget.cpp3
-rw-r--r--src/designer/src/designer/appfontdialog.cpp3
-rw-r--r--src/designer/src/designer/preferencesdialog.cpp4
-rw-r--r--src/designer/src/designer/qdesigner_appearanceoptions.h3
-rw-r--r--src/designer/src/designer/qdesigner_settings.cpp3
-rw-r--r--src/designer/src/lib/sdk/abstractformeditor.cpp9
-rw-r--r--src/designer/src/lib/sdk/abstractnewformwidget.cpp2
-rw-r--r--src/designer/src/lib/sdk/abstractnewformwidget.h (renamed from src/designer/src/lib/sdk/abstractnewformwidget_p.h)11
-rw-r--r--src/designer/src/lib/sdk/abstractoptionspage.h (renamed from src/designer/src/lib/sdk/abstractoptionspage_p.h)11
-rw-r--r--src/designer/src/lib/sdk/abstractsettings.h (renamed from src/designer/src/lib/sdk/abstractsettings_p.h)13
-rw-r--r--src/designer/src/lib/sdk/sdk.pri6
-rw-r--r--src/designer/src/lib/shared/actioneditor.cpp2
-rw-r--r--src/designer/src/lib/shared/newformwidget_p.h2
-rw-r--r--src/designer/src/lib/shared/plaintexteditor.cpp2
-rw-r--r--src/designer/src/lib/shared/previewconfigurationwidget.cpp8
-rw-r--r--src/designer/src/lib/shared/previewmanager.cpp2
-rw-r--r--src/designer/src/lib/shared/qdesigner_qsettings_p.h3
-rw-r--r--src/designer/src/lib/shared/qtresourceeditordialog.cpp5
-rw-r--r--src/designer/src/lib/shared/qtresourceview.cpp2
-rw-r--r--src/designer/src/lib/shared/richtexteditor.cpp2
-rw-r--r--src/designer/src/lib/shared/shared_settings.cpp6
-rw-r--r--src/designer/src/lib/shared/stylesheeteditor.cpp2
27 files changed, 43 insertions, 71 deletions
diff --git a/src/designer/src/components/formeditor/embeddedoptionspage.h b/src/designer/src/components/formeditor/embeddedoptionspage.h
index 7947c3790..792496c08 100644
--- a/src/designer/src/components/formeditor/embeddedoptionspage.h
+++ b/src/designer/src/components/formeditor/embeddedoptionspage.h
@@ -42,7 +42,7 @@
#ifndef EMBEDDEDOPTIONSPAGE_H
#define EMBEDDEDOPTIONSPAGE_H
-#include <QtDesigner/private/abstractoptionspage_p.h>
+#include <QtDesigner/QDesignerOptionsPageInterface>
#include <QtCore/QPointer>
#include <QtGui/QWidget>
diff --git a/src/designer/src/components/formeditor/formeditor_optionspage.h b/src/designer/src/components/formeditor/formeditor_optionspage.h
index d7d169be2..b1f0f42f3 100644
--- a/src/designer/src/components/formeditor/formeditor_optionspage.h
+++ b/src/designer/src/components/formeditor/formeditor_optionspage.h
@@ -42,7 +42,7 @@
#ifndef FORMEDITOR_OPTIONSPAGE_H
#define FORMEDITOR_OPTIONSPAGE_H
-#include <QtDesigner/private/abstractoptionspage_p.h>
+#include <QtDesigner/QDesignerOptionsPageInterface>
#include <QtCore/QPointer>
QT_BEGIN_NAMESPACE
diff --git a/src/designer/src/components/formeditor/templateoptionspage.h b/src/designer/src/components/formeditor/templateoptionspage.h
index 98d468caa..ea1c29b3f 100644
--- a/src/designer/src/components/formeditor/templateoptionspage.h
+++ b/src/designer/src/components/formeditor/templateoptionspage.h
@@ -42,7 +42,7 @@
#ifndef QDESIGNER_TEMPLATEOPTIONS_H
#define QDESIGNER_TEMPLATEOPTIONS_H
-#include <QtDesigner/private/abstractoptionspage_p.h>
+#include <QtDesigner/QDesignerOptionsPageInterface>
#include <QtCore/QPointer>
#include <QtCore/QStringList>
diff --git a/src/designer/src/components/propertyeditor/propertyeditor.cpp b/src/designer/src/components/propertyeditor/propertyeditor.cpp
index 9f298d0a4..31ef2dae7 100644
--- a/src/designer/src/components/propertyeditor/propertyeditor.cpp
+++ b/src/designer/src/components/propertyeditor/propertyeditor.cpp
@@ -59,7 +59,7 @@
#include <QtDesigner/QExtensionManager>
#include <QtDesigner/QDesignerPropertySheetExtension>
#include <QtDesigner/QDesignerWidgetDataBaseInterface>
-#include <QtDesigner/private/abstractsettings_p.h>
+#include <QtDesigner/QDesignerSettingsInterface>
// shared
#include <qdesigner_utils_p.h>
#include <qdesigner_propertycommand_p.h>
diff --git a/src/designer/src/components/taskmenu/listwidgeteditor.cpp b/src/designer/src/components/taskmenu/listwidgeteditor.cpp
index 7c81ea47e..e1259f1c0 100644
--- a/src/designer/src/components/taskmenu/listwidgeteditor.cpp
+++ b/src/designer/src/components/taskmenu/listwidgeteditor.cpp
@@ -43,7 +43,7 @@
#include <designerpropertymanager.h>
#include <abstractformbuilder.h>
-#include <QtDesigner/private/abstractsettings_p.h>
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtDesigner/QDesignerFormEditorInterface>
#include <QtGui/QComboBox>
diff --git a/src/designer/src/components/widgetbox/widgetboxtreewidget.cpp b/src/designer/src/components/widgetbox/widgetboxtreewidget.cpp
index f4b567b69..cbb62445f 100644
--- a/src/designer/src/components/widgetbox/widgetboxtreewidget.cpp
+++ b/src/designer/src/components/widgetbox/widgetboxtreewidget.cpp
@@ -45,7 +45,6 @@
// shared
#include <iconloader_p.h>
#include <sheet_delegate_p.h>
-#include <QtDesigner/private/abstractsettings_p.h>
#include <ui4_p.h>
#include <qdesigner_utils_p.h>
#include <pluginmanager_p.h>
@@ -54,7 +53,7 @@
#include <QtDesigner/QDesignerFormEditorInterface>
#include <QtDesigner/QDesignerDnDItemInterface>
#include <QtDesigner/QDesignerCustomWidgetInterface>
-#include <QtDesigner/private/abstractsettings_p.h>
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtGui/QHeaderView>
#include <QtGui/QApplication>
diff --git a/src/designer/src/designer/appfontdialog.cpp b/src/designer/src/designer/appfontdialog.cpp
index 00b91fa0d..10ec254c4 100644
--- a/src/designer/src/designer/appfontdialog.cpp
+++ b/src/designer/src/designer/appfontdialog.cpp
@@ -42,7 +42,8 @@
#include "appfontdialog.h"
#include <iconloader_p.h>
-#include <abstractsettings_p.h>
+
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtGui/QTreeView>
#include <QtGui/QToolButton>
diff --git a/src/designer/src/designer/preferencesdialog.cpp b/src/designer/src/designer/preferencesdialog.cpp
index a27e366a5..f847baea8 100644
--- a/src/designer/src/designer/preferencesdialog.cpp
+++ b/src/designer/src/designer/preferencesdialog.cpp
@@ -43,9 +43,9 @@
#include "ui_preferencesdialog.h"
#include "qdesigner_appearanceoptions.h"
-#include <QtDesigner/private/abstractoptionspage_p.h>
-
+#include <QtDesigner/QDesignerOptionsPageInterface>
#include <QtDesigner/QDesignerFormEditorInterface>
+
#include <QtGui/QFileDialog>
#include <QtGui/QPushButton>
diff --git a/src/designer/src/designer/qdesigner_appearanceoptions.h b/src/designer/src/designer/qdesigner_appearanceoptions.h
index a6e4f9a49..2c7fda130 100644
--- a/src/designer/src/designer/qdesigner_appearanceoptions.h
+++ b/src/designer/src/designer/qdesigner_appearanceoptions.h
@@ -45,7 +45,8 @@
#include "designer_enums.h"
#include "qdesigner_toolwindow.h"
-#include <QtDesigner/private/abstractoptionspage_p.h>
+#include <QtDesigner/QDesignerOptionsPageInterface>
+
#include <QtCore/QObject>
#include <QtCore/QPointer>
#include <QtGui/QWidget>
diff --git a/src/designer/src/designer/qdesigner_settings.cpp b/src/designer/src/designer/qdesigner_settings.cpp
index 89bec14f2..b5a4e02f5 100644
--- a/src/designer/src/designer/qdesigner_settings.cpp
+++ b/src/designer/src/designer/qdesigner_settings.cpp
@@ -44,8 +44,9 @@
#include "qdesigner_toolwindow.h"
#include "qdesigner_workbench.h"
+#include <QtDesigner/QDesignerSettingsInterface>
+
#include <abstractformeditor.h>
-#include <abstractsettings_p.h>
#include <qdesigner_utils_p.h>
#include <previewmanager_p.h>
diff --git a/src/designer/src/lib/sdk/abstractformeditor.cpp b/src/designer/src/lib/sdk/abstractformeditor.cpp
index 8cc4b56e5..6110a93e3 100644
--- a/src/designer/src/lib/sdk/abstractformeditor.cpp
+++ b/src/designer/src/lib/sdk/abstractformeditor.cpp
@@ -42,10 +42,9 @@
#include "abstractformeditor.h"
#include "abstractdialoggui_p.h"
#include "abstractintrospection_p.h"
-#include "abstractsettings_p.h"
-#include "abstractoptionspage_p.h"
-#include <QtDesigner/QDesignerWidgetBoxInterface>
+#include <QtDesigner/QDesignerOptionsPageInterface>
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtDesigner/QDesignerPropertyEditorInterface>
#include <QtDesigner/QDesignerFormWindowManagerInterface>
#include <QtDesigner/QExtensionManager>
@@ -55,6 +54,8 @@
#include <QtDesigner/QDesignerObjectInspectorInterface>
#include <QtDesigner/QDesignerIntegrationInterface>
#include <QtDesigner/QDesignerActionEditorInterface>
+#include <QtDesigner/QDesignerWidgetBoxInterface>
+
#include <pluginmanager_p.h>
#include <qtresourcemodel_p.h>
#include <qtgradientmanager.h>
@@ -65,6 +66,8 @@
#include <iconloader_p.h>
#include <QtDesigner/QDesignerPromotionInterface>
+#include <QtGui/QIcon>
+
// Must be done outside of the Qt namespace
static void initResources()
{
diff --git a/src/designer/src/lib/sdk/abstractnewformwidget.cpp b/src/designer/src/lib/sdk/abstractnewformwidget.cpp
index 42d43432e..983affb4d 100644
--- a/src/designer/src/lib/sdk/abstractnewformwidget.cpp
+++ b/src/designer/src/lib/sdk/abstractnewformwidget.cpp
@@ -39,7 +39,7 @@
**
****************************************************************************/
-#include "abstractnewformwidget_p.h"
+#include "abstractnewformwidget.h"
#include <newformwidget_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/designer/src/lib/sdk/abstractnewformwidget_p.h b/src/designer/src/lib/sdk/abstractnewformwidget.h
index db0c74031..dc45acb93 100644
--- a/src/designer/src/lib/sdk/abstractnewformwidget_p.h
+++ b/src/designer/src/lib/sdk/abstractnewformwidget.h
@@ -39,17 +39,6 @@
**
****************************************************************************/
-//
-// W A R N I N G
-// -------------
-//
-// This file is not part of the Qt API. It exists for the convenience
-// of Qt Designer. This header
-// file may change from version to version without notice, or even be removed.
-//
-// We mean it.
-//
-
#ifndef ABSTRACTNEWFORMWIDGET_H
#define ABSTRACTNEWFORMWIDGET_H
diff --git a/src/designer/src/lib/sdk/abstractoptionspage_p.h b/src/designer/src/lib/sdk/abstractoptionspage.h
index f6c54ae44..b7da312a0 100644
--- a/src/designer/src/lib/sdk/abstractoptionspage_p.h
+++ b/src/designer/src/lib/sdk/abstractoptionspage.h
@@ -39,17 +39,6 @@
**
****************************************************************************/
-//
-// W A R N I N G
-// -------------
-//
-// This file is not part of the Qt API. It exists for the convenience
-// of Qt Designer. This header
-// file may change from version to version without notice, or even be removed.
-//
-// We mean it.
-//
-
#ifndef ABSTRACTOPTIONSPAGE_P_H
#define ABSTRACTOPTIONSPAGE_P_H
diff --git a/src/designer/src/lib/sdk/abstractsettings_p.h b/src/designer/src/lib/sdk/abstractsettings.h
index 6637d1ae5..652be5fd7 100644
--- a/src/designer/src/lib/sdk/abstractsettings_p.h
+++ b/src/designer/src/lib/sdk/abstractsettings.h
@@ -39,23 +39,12 @@
**
****************************************************************************/
-//
-// W A R N I N G
-// -------------
-//
-// This file is not part of the Qt API. It exists for the convenience
-// of Qt Designer. This header
-// file may change from version to version without notice, or even be removed.
-//
-// We mean it.
-//
-
#ifndef ABSTRACTSETTINGS_P_H
#define ABSTRACTSETTINGS_P_H
#include <QtDesigner/sdk_global.h>
-#include <QVariant>
+#include <QtCore/QVariant>
QT_BEGIN_HEADER
diff --git a/src/designer/src/lib/sdk/sdk.pri b/src/designer/src/lib/sdk/sdk.pri
index c6a474b64..725edeb98 100644
--- a/src/designer/src/lib/sdk/sdk.pri
+++ b/src/designer/src/lib/sdk/sdk.pri
@@ -4,7 +4,7 @@ INCLUDEPATH += $$PWD
HEADERS += $$PWD/abstractformeditor.h \
$$PWD/abstractintrospection_p.h \
- $$PWD/abstractsettings_p.h \
+ $$PWD/abstractsettings.h \
$$PWD/abstractformeditorplugin.h \
$$PWD/abstractresourcebrowser.h \
$$PWD/abstractintegration.h \
@@ -19,7 +19,7 @@ HEADERS += $$PWD/abstractformeditor.h \
$$PWD/abstractobjectinspector.h \
$$PWD/abstractactioneditor.h \
$$PWD/abstractlanguage.h \
- $$PWD/abstractoptionspage_p.h \
+ $$PWD/abstractoptionspage.h \
$$PWD/propertysheet.h \
$$PWD/dynamicpropertysheet.h \
$$PWD/membersheet.h \
@@ -31,7 +31,7 @@ HEADERS += $$PWD/abstractformeditor.h \
$$PWD/abstractpromotioninterface.h \
$$PWD/abstractdialoggui_p.h \
$$PWD/script_p.h \
- $$PWD/abstractnewformwidget_p.h
+ $$PWD/abstractnewformwidget.h
SOURCES += $$PWD/abstractformeditor.cpp \
$$PWD/abstractintrospection.cpp \
diff --git a/src/designer/src/lib/shared/actioneditor.cpp b/src/designer/src/lib/shared/actioneditor.cpp
index 55515842e..9db7ad741 100644
--- a/src/designer/src/lib/shared/actioneditor.cpp
+++ b/src/designer/src/lib/shared/actioneditor.cpp
@@ -58,7 +58,7 @@
#include <QtDesigner/QDesignerPropertySheetExtension>
#include <QtDesigner/QExtensionManager>
#include <QtDesigner/QDesignerMetaDataBaseInterface>
-#include <QtDesigner/private/abstractsettings_p.h>
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtGui/QMenu>
#include <QtGui/QToolBar>
diff --git a/src/designer/src/lib/shared/newformwidget_p.h b/src/designer/src/lib/shared/newformwidget_p.h
index 940b11ce9..a840c9ad8 100644
--- a/src/designer/src/lib/shared/newformwidget_p.h
+++ b/src/designer/src/lib/shared/newformwidget_p.h
@@ -56,7 +56,7 @@
#include "shared_global_p.h"
#include "deviceprofile_p.h"
-#include <abstractnewformwidget_p.h>
+#include <QtDesigner/QDesignerNewFormWidgetInterface>
#include <QtGui/QWidget>
#include <QtGui/QPixmap>
diff --git a/src/designer/src/lib/shared/plaintexteditor.cpp b/src/designer/src/lib/shared/plaintexteditor.cpp
index 748cecc41..88b0b57aa 100644
--- a/src/designer/src/lib/shared/plaintexteditor.cpp
+++ b/src/designer/src/lib/shared/plaintexteditor.cpp
@@ -40,8 +40,8 @@
****************************************************************************/
#include "plaintexteditor_p.h"
-#include "abstractsettings_p.h"
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtDesigner/QDesignerFormEditorInterface>
#include <QtGui/QPlainTextEdit>
diff --git a/src/designer/src/lib/shared/previewconfigurationwidget.cpp b/src/designer/src/lib/shared/previewconfigurationwidget.cpp
index 2b4506a37..a65c3af9d 100644
--- a/src/designer/src/lib/shared/previewconfigurationwidget.cpp
+++ b/src/designer/src/lib/shared/previewconfigurationwidget.cpp
@@ -39,15 +39,9 @@
**
****************************************************************************/
-/* It is possible to link the skins as resources into Designer by specifying:
- * QVFB_ROOT=$$QT_SOURCE_TREE/tools/qvfb
- * RESOURCES += $$QVFB_ROOT/ClamshellPhone.qrc $$QVFB_ROOT/TouchScreenPhone.qrc ...
- * in lib/shared/shared.pri. However, this exceeds a limit of Visual Studio 6. */
-
#include "previewconfigurationwidget_p.h"
#include "ui_previewconfigurationwidget.h"
#include "previewmanager_p.h"
-#include "abstractsettings_p.h"
#include "shared_settings_p.h"
#include <iconloader_p.h>
@@ -55,6 +49,8 @@
#include <deviceskin.h>
+#include <QtDesigner/QDesignerSettingsInterface>
+
#include <QtGui/QFileDialog>
#include <QtGui/QStyleFactory>
#include <QtGui/QFileDialog>
diff --git a/src/designer/src/lib/shared/previewmanager.cpp b/src/designer/src/lib/shared/previewmanager.cpp
index 3857b7864..47a732a32 100644
--- a/src/designer/src/lib/shared/previewmanager.cpp
+++ b/src/designer/src/lib/shared/previewmanager.cpp
@@ -39,7 +39,6 @@
**
****************************************************************************/
-#include "abstractsettings_p.h"
#include "previewmanager_p.h"
#include "qdesigner_formbuilder_p.h"
#include "shared_settings_p.h"
@@ -53,6 +52,7 @@
#include <QtDesigner/QDesignerFormWindowInterface>
#include <QtDesigner/QDesignerFormEditorInterface>
#include <QtDesigner/QDesignerFormWindowManagerInterface>
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtGui/QWidget>
#include <QtGui/qevent.h>
diff --git a/src/designer/src/lib/shared/qdesigner_qsettings_p.h b/src/designer/src/lib/shared/qdesigner_qsettings_p.h
index e0586cc65..81284b68b 100644
--- a/src/designer/src/lib/shared/qdesigner_qsettings_p.h
+++ b/src/designer/src/lib/shared/qdesigner_qsettings_p.h
@@ -53,9 +53,10 @@
#ifndef QDESIGNER_QSETTINGS_H
#define QDESIGNER_QSETTINGS_H
-#include "abstractsettings_p.h"
#include "shared_global_p.h"
+#include <QtDesigner/QDesignerSettingsInterface>
+
#include <QtCore/QSettings>
QT_BEGIN_NAMESPACE
diff --git a/src/designer/src/lib/shared/qtresourceeditordialog.cpp b/src/designer/src/lib/shared/qtresourceeditordialog.cpp
index 59a12de00..1f6838eb0 100644
--- a/src/designer/src/lib/shared/qtresourceeditordialog.cpp
+++ b/src/designer/src/lib/shared/qtresourceeditordialog.cpp
@@ -39,8 +39,6 @@
**
****************************************************************************/
-#include "abstractsettings_p.h"
-#include "abstractformeditor.h"
#include "qtresourceeditordialog_p.h"
#include "ui_qtresourceeditordialog.h"
#include "qtresourcemodel_p.h"
@@ -48,6 +46,9 @@
#include <abstractdialoggui_p.h>
+#include <QtDesigner/QDesignerSettingsInterface>
+#include <QtDesigner/QDesignerFormEditorInterface>
+
#include <QtCore/QFileInfo>
#include <QtCore/QDir>
#include <QtCore/QCoreApplication>
diff --git a/src/designer/src/lib/shared/qtresourceview.cpp b/src/designer/src/lib/shared/qtresourceview.cpp
index 040027355..c6addf09f 100644
--- a/src/designer/src/lib/shared/qtresourceview.cpp
+++ b/src/designer/src/lib/shared/qtresourceview.cpp
@@ -39,7 +39,6 @@
**
****************************************************************************/
-#include "abstractsettings_p.h"
#include "qtresourceview_p.h"
#include "qtresourcemodel_p.h"
#include "qtresourceeditordialog_p.h"
@@ -47,6 +46,7 @@
#include "filterwidget_p.h" // For FilterWidget
#include <QtDesigner/QDesignerFormEditorInterface>
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtGui/QToolBar>
#include <QtGui/QAction>
diff --git a/src/designer/src/lib/shared/richtexteditor.cpp b/src/designer/src/lib/shared/richtexteditor.cpp
index c2cdb2098..fa23baf8d 100644
--- a/src/designer/src/lib/shared/richtexteditor.cpp
+++ b/src/designer/src/lib/shared/richtexteditor.cpp
@@ -43,11 +43,11 @@
#include "htmlhighlighter_p.h"
#include "iconselector_p.h"
#include "ui_addlinkdialog.h"
-#include "abstractsettings_p.h"
#include "iconloader_p.h"
#include <QtDesigner/QDesignerFormEditorInterface>
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtCore/QList>
#include <QtCore/QMap>
diff --git a/src/designer/src/lib/shared/shared_settings.cpp b/src/designer/src/lib/shared/shared_settings.cpp
index 20b49fd35..bf976bcb8 100644
--- a/src/designer/src/lib/shared/shared_settings.cpp
+++ b/src/designer/src/lib/shared/shared_settings.cpp
@@ -43,8 +43,10 @@
#include "grid_p.h"
#include "previewmanager_p.h"
#include "qdesigner_utils_p.h"
-#include <QtDesigner/abstractformeditor.h>
-#include <QtDesigner/private/abstractsettings_p.h>
+
+#include <QtDesigner/QDesignerFormEditorInterface>
+#include <QtDesigner/QDesignerSettingsInterface>
+
#include <QtCore/QStringList>
#include <QtCore/QDir>
#include <QtCore/QVariantMap>
diff --git a/src/designer/src/lib/shared/stylesheeteditor.cpp b/src/designer/src/lib/shared/stylesheeteditor.cpp
index 72e7c10b8..d96fe55f4 100644
--- a/src/designer/src/lib/shared/stylesheeteditor.cpp
+++ b/src/designer/src/lib/shared/stylesheeteditor.cpp
@@ -46,13 +46,13 @@
#include "qtgradientviewdialog.h"
#include "qtgradientutils.h"
#include "qdesigner_utils_p.h"
-#include "abstractsettings_p.h"
#include <QtDesigner/QDesignerFormWindowInterface>
#include <QtDesigner/QDesignerFormWindowCursorInterface>
#include <QtDesigner/QDesignerFormEditorInterface>
#include <QtDesigner/QDesignerPropertySheetExtension>
#include <QtDesigner/QDesignerIntegrationInterface>
+#include <QtDesigner/QDesignerSettingsInterface>
#include <QtDesigner/QExtensionManager>
#include <QtCore/QSignalMapper>