Qt 5.11 | New Classes and Functions in Qt 5.2

Qt 5.11.3 Reference Documentation

# New Classes and Functions in Qt 5.2

This page contains a comprehensive list of all new classes and functions introduced in Qt 5.2. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.

- New Namespaces
- New Macros
- New Enum Types
- New Variables
- New QML Types
- New QML Properties
- New QML Signals
- New QML Methods

### New Namespaces

namespace | QtMac

### New Macros

| Q_DECLARE_LOGGING_CATEGORY(name)
| Q_FORWARD_DECLARE_CF_TYPE(type)
| Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type)
| Q_FORWARD_DECLARE_OBJC_CLASS(classname)
| Q_LOGGING_CATEGORY(name, string)
| qCCritical(category)
| qCDebug(category)
| qCWarning(category)

### New Enum Types

enum | NativeGestureType { BeginNativeGesture, EndNativeGesture, PanNativeGesture, ZoomNativeGesture, ..., SwipeNativeGesture }
enum | ScrollPhase { NoScrollPhase, ScrollBegin, ScrollUpdate, ScrollEnd }

### New Variables

| quint32

### New QML Types

A
  Address
  Animator

B
  BluetoothDiscoveryModel
  BluetoothService
  BluetoothSocket
  BusyIndicator
  BusyIndicatorStyle

F
  FontDialog

L
  Location

M
  MessageDialog

N
  NdefFilter
  NdefMimeRecord
  NdefTextRecord
  NdefUriRecord
  NearField

O
  OpacityAnimator

P
  Position
  PositionSource

Q
  QtPositioning

R
  RotationAnimator

S
  ScaleAnimator
  SpinBoxStyle
  StatusBarStyle
  Switch
  SwitchStyle

T
  TextAreaStyle
  ToolBarStyle

U
  UniformAnimator

X
  XAnimator

Y
  YAnimator

### New QML Properties

| colorData
| dragType
| formats
| hasColor
| hasHtml
| hasText
| hasUrls
| hoveredLink
| hoveredLink
| html
| mimeData
| pixelDensity
| proposedAction
| showFiles
| showHidden
| text
| urls

### New QML Signals

| linkHovered()
| linkHovered()
| editingFinished()

### New QML Methods

| acceptProposedAction()
| getDataAsString()
| matches()
| append()

## Additions to Other Qt 5 Releases

- What's New in Qt 5.6
- What's New in Qt 5.5
- What's New in Qt 5.4
- What's New in Qt 5.3
- What's New in Qt 5.1
- What's New in Qt 5.0