Remove dead code.
Change-Id: Idfaef408536bafbb31444ec8728dbcf289abac8d Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
This commit is contained in:
parent
bdf49888ef
commit
f00794bb12
@ -48,6 +48,8 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include <Carbon/Carbon.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
//
|
||||
|
@ -55,6 +55,8 @@
|
||||
#include <qpa/qplatformintegration.h>
|
||||
#include <qpa/qplatformnativeinterface.h>
|
||||
|
||||
#include <Carbon/Carbon.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
const char *QCocoaTheme::name = "cocoa";
|
||||
|
@ -48,7 +48,6 @@
|
||||
#include <qpa/qplatformscreen.h>
|
||||
|
||||
#include <AppKit/AppKit.h>
|
||||
#include <Carbon/Carbon.h>
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
|
@ -33,7 +33,6 @@
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#include <Carbon/Carbon.h>
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "qnsview.h"
|
||||
|
@ -31,8 +31,6 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#include <Carbon/Carbon.h>
|
||||
|
||||
#include "qnsview.h"
|
||||
#include "qcocoahelpers.h"
|
||||
#include "qcocoaaccessibility.h"
|
||||
|
@ -63,30 +63,10 @@
|
||||
|
||||
#include "QtGui/qpainter.h"
|
||||
|
||||
#include <Carbon/Carbon.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QWidget;
|
||||
class QDragMoveEvent;
|
||||
|
||||
/* Event masks */
|
||||
// internal Qt types
|
||||
|
||||
enum {
|
||||
//AE types
|
||||
typeAEClipboardChanged = 1,
|
||||
//types
|
||||
typeQWidget = 1, /* QWidget * */
|
||||
//params
|
||||
kEventParamQWidget = 'qwid', /* typeQWidget */
|
||||
//events
|
||||
kEventQtRequestContext = 13,
|
||||
kEventQtRequestMenubarUpdate = 14,
|
||||
kEventQtRequestShowSheet = 17,
|
||||
kEventQtRequestActivate = 18,
|
||||
kEventQtRequestWindowChange = 20
|
||||
};
|
||||
|
||||
// Simple class to manage short-lived regions
|
||||
class QMacSmartQuickDrawRegion
|
||||
{
|
||||
@ -171,10 +151,6 @@ extern QPoint qt_mac_nativeMapFromParent(const QWidget *child, const QPoint &pt)
|
||||
# undef check
|
||||
#endif
|
||||
|
||||
QFont qfontForThemeFont(ThemeFontID themeID);
|
||||
|
||||
QColor qcolorForThemeTextColor(ThemeTextColor themeColor);
|
||||
|
||||
struct QMacDndAnswerRecord {
|
||||
QRect rect;
|
||||
Qt::KeyboardModifiers modifiers;
|
||||
|
@ -1,4 +1,4 @@
|
||||
!x11:osx {
|
||||
LIBS_PRIVATE += -framework Carbon -framework AppKit -lz
|
||||
LIBS_PRIVATE += -framework AppKit -lz
|
||||
*-mwerks:INCLUDEPATH += compat
|
||||
}
|
||||
|
@ -49,7 +49,8 @@ contains( styles, mac ) {
|
||||
HEADERS += \
|
||||
styles/qmacstyle_mac_p.h \
|
||||
styles/qmacstyle_mac_p_p.h
|
||||
OBJECTIVE_SOURCES += styles/qmacstyle_mac.mm
|
||||
OBJECTIVE_SOURCES += styles/qmacstyle_mac.mm
|
||||
LIBS_PRIVATE += -framework Carbon
|
||||
} else {
|
||||
DEFINES += QT_NO_STYLE_MAC
|
||||
}
|
||||
|
@ -60,18 +60,6 @@
|
||||
#include "qdockarealayout_p.h"
|
||||
#include "qtoolbararealayout_p.h"
|
||||
|
||||
#ifdef Q_DEAD_CODE_FROM_QT4_MAC
|
||||
// Forward defs to make avoid including Carbon.h (faster compile you know ;).
|
||||
struct OpaqueHIObjectRef;
|
||||
typedef struct OpaqueHIObjectRef* HIObjectRef;
|
||||
typedef HIObjectRef HIToolbarItemRef;
|
||||
typedef const void * CFTypeRef;
|
||||
typedef const struct __CFString * CFStringRef;
|
||||
|
||||
#include <private/qunifiedtoolbarsurface_mac_p.h>
|
||||
|
||||
#endif // Q_DEAD_CODE_FROM_QT4_MAC
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QToolBar;
|
||||
|
Loading…
Reference in New Issue
Block a user