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 Classes
- New Macros
- New Enum Types
- New Properties
- New QML Types
- New QML Properties
- New QML Signals
- New QML Methods
New Namespaces
| namespace | QBluetooth |
| namespace | QtMac |
New Classes
- B
- QBluetoothAddress
- QBluetoothDeviceDiscoveryAgent
- QBluetoothDeviceInfo
- QBluetoothHostInfo
- QBluetoothLocalDevice
- QBluetoothServer
- QBluetoothServiceDiscoveryAgent
- QBluetoothServiceInfo
- QBluetoothSocket
- QBluetoothTransferManager
- QBluetoothTransferReply
- QBluetoothTransferRequest
- QBluetoothUuid
- C
- const_iterator (QSequentialIterable)
- const_iterator (QAssociativeIterable)
- QCollator
- QCollatorSortKey
- QCommandLineOption
- QCommandLineParser
- G
- QGeoAddress
- QGeoAreaMonitorInfo
- QGeoAreaMonitorSource
- QGeoCircle
- QGeoCoordinate
- QGeoLocation
- QGeoPositionInfo
- QGeoPositionInfoSource
- QGeoPositionInfoSourceFactory
- QGeoRectangle
- QGeoSatelliteInfo
- QGeoSatelliteInfoSource
- QGeoShape
New Macros
| Q_DECLARE_LOGGING_CATEGORY(name) | |
| Q_DECLARE_LOGGING_CATEGORY(name) | |
| Q_FORWARD_DECLARE_CF_TYPE(type) | |
| Q_FORWARD_DECLARE_CF_TYPE(type) | |
| Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type) | |
| Q_FORWARD_DECLARE_MUTABLE_CF_TYPE(type) | |
| Q_FORWARD_DECLARE_OBJC_CLASS(classname) | |
| Q_FORWARD_DECLARE_OBJC_CLASS(classname) | |
| Q_LOGGING_CATEGORY(name, string) | |
| Q_LOGGING_CATEGORY(name, string) | |
| qCCritical(category) | |
| qCCritical(category) | |
| qCDebug(category) | |
| qCDebug(category) | |
| qCWarning(category) | |
| qCWarning(category) |
New Enum Types
| enum | SizeAdjustPolicy { AdjustIgnored, AdjustToContentsOnFirstShow, AdjustToContents } |
| enum | Base64Option { Base64Encoding, Base64UrlEncoding, KeepTrailingEquals, OmitTrailingEquals, IgnoreBase64DecodingErrors, AbortOnBase64DecodingErrors } |
| enum | Option { DontUseCustomDirectoryIcons } |
| enum | SystemFont { GeneralFont, FixedFont, TitleFont, SmallestReadableFont } |
| enum | ActionPosition { LeadingPosition, TrailingPosition } |
| enum | InputChannelMode { ManagedInputChannel, ForwardedInputChannel } |
| enum | NativeGestureType { BeginNativeGesture, EndNativeGesture, PanNativeGesture, ZoomNativeGesture, SmartZoomNativeGesture, …, SwipeNativeGesture } |
| enum | ScrollPhase { NoScrollPhase, ScrollBegin, ScrollUpdate, ScrollEnd, ScrollMomentum } |
| enum | HBitmapFormat { HBitmapNoAlpha, HBitmapPremultipliedAlpha, HBitmapAlpha } |
| enum | WindowFlip3DPolicy { FlipDefault, FlipExcludeBelow, FlipExcludeAbove } |
New Properties
|
|
New QML Types
- L
- Location
New QML Properties
| autoOrientation | |
| colorData | |
| dragType | |
| formats | |
| hasColor | |
| hasHtml | |
| hasText | |
| hasUrls | |
| hoveredLink | |
| hoveredLink | |
| html | |
| mimeData | |
| pixelDensity | |
| proposedAction | |
| showFiles | |
| showHidden | |
| text | |
| urls |