Merge branch 'stable' into dev

Change-Id: Ic97db9f545108ff409016916c343ac903a233ffe
Bump qtmacextras version to 5.3.0

Change-Id: I98b21d6562a154d9eab5b896cf6f619188c2f0ef
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I150f544a868db3712d78439af53924e90d29a39d
Add helper functions to set/retrieve the application badge

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>
Merge remote-tracking branch 'origin/stable' into dev

Change-Id: I6f16c9f6c802300b076765d543d96c8b9a8b4da1
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	.qmake.conf

Change-Id: I9ca4507914df98793d210d8fc7a466c9a14d5b53
Merge remote-tracking branch 'origin/stable' into dev

Conflicts:
	.qmake.conf

Change-Id: I1559e3cb17dd182f72e40ec75fcb987beb000f74
Rewrite the Mac native toolbar classes.

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>
Use setNSToolbar from the cocoa platform plugin

The platform plugin will attach the toolbar to the
NSWindow when the NSWindow is created.

Change-Id: I550516a240df1f8ae94da2a225d9f63c76fffc6b
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
Document qtmacextras functions

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>
Removed duplicate NSString NSURL conversion functions

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>