aboutsummaryrefslogtreecommitdiffstats
path: root/src/macextras/qmacfunctions_ios.mm
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Update commercial license headers"v5.15.3-lts-lgplTarja Sundqvist2021-03-231-20/+20
| | | | | | | | | | | 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-20/+20
| | | | | | | | | | | | | | | 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>
* Doc: Fix documentation warnings for Qt Mac ExtrasTopi Reinio2020-09-101-2/+4
| | | | | | | | | | | | Fix namespacing for \fn commands, and mark deprecated functions correctly with \obsolete. QDoc doesn't see Qt's include paths for this module; work around parsing issues by omitting include statements with the Q_CLANG_QDOC macro. Change-Id: Id7a65aba0dc5d7e95825cff76b10ec1f46a530ef Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Deprecate APIs where other alternatives are preferredTor Arne Vestbø2018-09-121-0/+2
| | | | | | | | | | | | | Some of the APIs in this module now have APIs in other parts of Qt, more closely tied to the classes they convert back and forth from. Other APIs have native equivalents that are just as simple as the Qt wrapper, and we want people to use the native APIs since that scales better, and teaches users that they can mix native and Qt APIs. Change-Id: Id587cefe3ab8bee9f7d3e7dc4cb223882d57d325 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
* Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.1Liang Qi2016-09-171-1/+1
|\ | | | | | | Change-Id: I127063e9dd558bcb8d46ea08fe1e4ae10af3f891
| * Doc: Change instances of 'OS X' to 'macOS'v5.6.2Topi Reinio2016-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of version 10.12 (Sierra), the name of Apple's desktop operating system will be macOS. Change all occurrences where the Mac platform is discussed to use the macro \macos (defined in the documentation configuration in qtbase), except in link targets (QDoc doesn't expand macros in those). Add a 'macOS' prefix to example titles to make it clear they are specific to that platform. Change-Id: I6bac8d92ca080adf7138a12e0f792c132e382f5d Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@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>
* Fix documentation generationSamuel Gaist2015-07-151-4/+5
| | | | | | | Task-number: QTBUG-36985 Change-Id: I9e6a6fdc3fa4802f690317782b054151a8f6087d Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Update copyright headersJani Heikkinen2015-02-161-21/+13
| | | | | | | | | 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-1/+1
| | | | | | | | | | | 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>
* Document qtmacextras functionsSamuel Gaist2014-02-241-0/+15
| | | | | | | | | | | | This patch aims to provide the missing Qt Mac Extras documentation The conversion functions (e.g. NSData <=> QByteArray) are not documented because they will either be moved to QtCore or removed from QtMacExtras since already present in QtCore Change-Id: I364be524966b353602bcf88218d9bb81042497ff Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
* Add helper functions to set/retrieve the application badgeSamuel Gaist2013-11-011-0/+10
| | | | | | | | | | These helper functions wrapp the necessary objective-c calls to set or retrieve a text (OS X) or number (iOS) on the application icon, also known as badge. Change-Id: I34a82c5abc073b63442e12c49a864e65b5428d83 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
* Remove QtWidgets dependencies from QtMacExtras.Morten Johan Sørvig2013-09-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | 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>
* Add a method for getting the current CGContext on both Darwin OSes.Jake Petroules2013-04-161-0/+58
Change-Id: I391f7ecaee0b57e5bb61bca1d0c966675af115e4 Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>