From fe4a7de238bef3f632827cbc12ddd576ec0ce76d Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Sun, 12 May 2019 14:00:50 +0900 Subject: Headers cleanup in mac style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Solve many duplication between _p_p.h and .cpp, sorted by module and header name, and move headers for each features at the end of includes. Change-Id: Ice9189c10d062bc473258b7ace279df057102167 Reviewed-by: David Faure Reviewed-by: Tor Arne Vestbø --- src/plugins/styles/mac/qmacstyle_mac_p_p.h | 119 +++++++++++++++-------------- 1 file changed, 63 insertions(+), 56 deletions(-) (limited to 'src/plugins/styles/mac/qmacstyle_mac_p_p.h') diff --git a/src/plugins/styles/mac/qmacstyle_mac_p_p.h b/src/plugins/styles/mac/qmacstyle_mac_p_p.h index dd99cf4bb5..6e7004485c 100644 --- a/src/plugins/styles/mac/qmacstyle_mac_p_p.h +++ b/src/plugins/styles/mac/qmacstyle_mac_p_p.h @@ -41,98 +41,105 @@ #ifndef QMACSTYLE_MAC_P_P_H #define QMACSTYLE_MAC_P_P_H -#include -#include #include "qmacstyle_mac_p.h" -#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include +#include +#include +#include + +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +#if QT_CONFIG(checkbox) +#include +#endif #if QT_CONFIG(combobox) -#include +#include +#include #endif -#include -#include -#include -#include -#if QT_CONFIG(checkbox) -#include +#if QT_CONFIG(datetimeedit) +#include #endif -#include #if QT_CONFIG(dialogbuttonbox) -#include +#include #endif #if QT_CONFIG(dockwidget) -#include +#include +#endif +#if QT_CONFIG(graphicsview) +#include +#include #endif -#include -#include -#include #if QT_CONFIG(groupbox) -#include +#include +#endif +#if QT_CONFIG(itemviews) +#include #endif -#include -#include -#include #if QT_CONFIG(lineedit) -#include +#include #endif #if QT_CONFIG(listview) -#include +#include #endif #if QT_CONFIG(mainwindow) -#include +#include #endif -#include #if QT_CONFIG(menubar) -#include +#include #endif -#include -#include -#include -#include #if QT_CONFIG(progressbar) -#include +#include #endif #if QT_CONFIG(pushbutton) -#include +#include #endif -#include +#include #if QT_CONFIG(rubberband) -#include +#include #endif #if QT_CONFIG(sizegrip) -#include +#include #endif #if QT_CONFIG(spinbox) -#include +#include #endif #if QT_CONFIG(splitter) -#include +#include +#endif +#if QT_CONFIG(tableview) +#include #endif -#include -#include -#include #if QT_CONFIG(toolbar) -#include +#include #endif #if QT_CONFIG(toolbutton) -#include +#include #endif #if QT_CONFIG(treeview) -#include -#endif -#if QT_CONFIG(tableview) -#include +#include #endif -#include -#if QT_CONFIG(datetimeedit) -#include -#endif -#include -#include -#include -#include -#include - - // // W A R N I N G -- cgit v1.2.3