From 1f55af8e54dc4841441ab1adf7759baace9452fa Mon Sep 17 00:00:00 2001 From: James Turner Date: Mon, 27 Feb 2012 13:04:45 +0000 Subject: QPA menu abstraction, originally based on Morten's work MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Create a QPA abstraction for native menus, derived from the Cocoa support in 4.8, but with the expectation to support other platforms too. Update the QtWidget QMenu and QMenuBar code to maintain their QPA equivalents if they exist. Change-Id: Id605de3da8811dc832bf48b35f9107778ad320ff Reviewed-by: Morten Johan Sørvig --- src/plugins/platforms/cocoa/qcocoatheme.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/plugins/platforms/cocoa/qcocoatheme.h') diff --git a/src/plugins/platforms/cocoa/qcocoatheme.h b/src/plugins/platforms/cocoa/qcocoatheme.h index 791f1d4a50..d126050f98 100644 --- a/src/plugins/platforms/cocoa/qcocoatheme.h +++ b/src/plugins/platforms/cocoa/qcocoatheme.h @@ -54,9 +54,6 @@ public: QCocoaTheme(); ~QCocoaTheme(); - QPlatformMenu *createPlatformMenu(QMenu *menu = 0) const; - QPlatformMenuBar *createPlatformMenuBar(QMenuBar *menuBar = 0) const; - bool usePlatformNativeDialog(DialogType dialogType) const; QPlatformDialogHelper *createPlatformDialogHelper(DialogType dialogType) const; -- cgit v1.2.3