aboutsummaryrefslogtreecommitdiffstats
path: root/src/macextras/qmactoolbardelegate.mm
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update commercial license headers"v5.15.3-lts-lgplTarja Sundqvist2021-03-231-21/+21
| | | | | | | | | | | This reverts commit fa52d41e3861715ec2418225946d56e39d783900. Revert of commercial license headers is required for Qt 5.15.3 opensource release. Task-number: QTBUG-91108 Change-Id: I6e9bea104d5cf5289152fb592273f31f0b3bcd7d Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update commercial license headersTarja Sundqvist2021-01-271-21/+21
| | | | | | | | | | | | | | | Updated header.COMM to the file in tqtc-qtmacextras. Examples, tests or documentation files are not updated. The commercial license header may contain some additional lines so that its line count equals with the earlier license header. Reason for this is that some autotests use hard coded line numbers and a change in the line count causes failures in tests. Task-number: QTQAINFRA-4169 Change-Id: I6a50040df036bb22491ee8acca04a72e476224dc Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Eradicate Q_FOREACH loops and mark the module as Q_FOREACH-freev5.8.0-beta1Marc Mutz2016-09-061-1/+1
| | | | | | | In the examples, replaced a Q_FOREACH with QList<QByteArray>::join(). Change-Id: I6b1ca1666bf0a69c6489f970da19b3f966327cdb Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Updated license headersAntti Kokko2016-01-201-14/+20
| | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: Ib1e8528c43e103ce71a4555228a34466c41e2695 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-161-22/+14
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: Ic70e215d0e32bb8bd5a17a2619854e7987aa6f57 Reviewed-by: Iikka Eklund <iikka.eklund@theqtcompany.com>
* Removed duplicate NSString NSURL conversion functionsv5.3.0-alpha1Samuel Gaist2014-02-251-5/+6
| | | | | | | | | | | Currently there's a duplication of the QString <-> NSString and QUrl <-> NSURL functions. This patch removes the private implementation and updates the code to to use QtCore's functions directly. Change-Id: I8fa613ac6753cc16fedd208f676f39ee2fec6bfa Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
* Rewrite the Mac native toolbar classes.Morten Johan Sørvig2014-02-101-85/+9
| | | | | | | | | | | | | | | | | | | | | | Rename the classes to QMacToolBar and QMacToolBarItem. (Keep the Qt-style ToolBar name capitalization.) API-review and document a core set of the API, remove the rest. Missing functionality can be added back later on. Add a simple QWindow-based mactoolbar example that shows the core toolbar functionality. Add manual test for more comprehensive testing. Make the QToolbarItem properties actually work, you can now change the text and icon after the toolbar has been displayed. Update license headers. Change-Id: I99fb207df7f1b3cf0d5df178aa863c77cd372a1f Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
* Remove QtWidgets dependencies from QtMacExtras.Morten Johan Sørvig2013-09-261-53/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to use QtMacExtras from other modules without adding a QtWidgets dependency. It also makes it possible to use QtMacExtras from QtWidgets. Widget-related classes and functions will be added to QtWidgets. Specifics: Make QMacNativeToolBar private, for use by QMainWindow:: setUnifiedTitleAndToolBarOnMac(). Remove the QAction based APIs. Remove the example. We can make QMacNativeToolBar public again when the API is ready and documented. Remove misc functions: toNSMenu, setDockMenu, isMainWindow. Make toCfSTring/Url private pending inclusion into QtCore. Change-Id: Ic55e78d8ef923149c23884f6589732f7dfb94153 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Rename the QtMacExtras namespace to QtMacJ-P Nurmi2013-09-131-7/+7
| | | | | | | | | Change-Id: If6a01685a9fc5ff59dd02dbeeef7e8682cefae39 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Laszlo Papp <lpapp@kde.org>
* Privatise private headers and modules.Jake Petroules2013-09-041-1/+1
| | | | | Change-Id: Iaad9cdc897ba19acfdbfc136e4baf959cabc3f70 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Support namespaced buildLiang Qi2013-07-011-0/+2
| | | | | | Change-Id: Ie2073c629dcca6e8bdf33b803c9015b0373fc3a5 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
* Remove the now-unnecessary "Mac" infixes from namespaced functions.Jake Petroules2013-04-151-1/+1
| | | | | Change-Id: I9dc0730a837ed091de6285f1b6f8b014f762a921 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Rename QtMacToolbarDelegate / QtNSToolbarNotifierMorten Johan Sørvig2013-04-111-1/+1
| | | | | | Change-Id: Ia81bee1255388969df395ca92f040bd6fd8da35d Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Rename files: qtfoo -> qfooMorten Johan Sørvig2013-04-111-0/+215
Change-Id: I9951164716550fe6a656af32c79be3e9812625bf Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>