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 Classes
- New Member Functions
- New Global Functions
- New Macros
- New Enum Types
- New QML Types
- New QML Properties
- New QML Signals
- New QML Methods
New Classes
New Member Functions
Class QPlatformTheme:
| keyBindings(int) const |
Class QPlatformFontDatabase:
| registerAliasToFontFamily(const QString &familyName, const QString &alias) |
New Global Functions
| qFloatDistance(double a, double b) | |
| qFloatDistance(float a, float b) | |
| qPopulationCount(quint8 v) | |
| qPopulationCount(quint64 v) | |
| qPopulationCount(quint32 v) | |
| qPopulationCount(quint16 v) |
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 QML Types
- L
- Location
New QML Properties
| colorData | |
| dragType | |
| formats | |
| hasColor | |
| hasHtml | |
| hasText | |
| hasUrls | |
| hoveredLink | |
| hoveredLink | |
| html | |
| mimeData | |
| pixelDensity | |
| proposedAction | |
| showFiles | |
| showHidden | |
| text | |
| urls |