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 Member Functions
- New Global Functions
- New Macros
- New Properties
- New QML Types
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 (QAssociativeIterable)
- QCollator
- QCollatorSortKey
- QCommandLineOption
- QCommandLineParser
- const_iterator (QSequentialIterable)
- G
- QGeoAddress
- QGeoAreaMonitorInfo
- QGeoAreaMonitorSource
- QGeoCircle
- QGeoCoordinate
- QGeoLocation
- QGeoPositionInfo
- QGeoPositionInfoSource
- QGeoPositionInfoSourceFactory
- QGeoRectangle
- QGeoSatelliteInfo
- QGeoSatelliteInfoSource
- QGeoShape
New Member Functions
Class QUrlQuery:
| QUrlQuery & | operator=(QUrlQuery && other) |
Class QMimeType:
| QMimeType & | operator=(QMimeType && other) |
Class QThreadPool:
| void | clear() |
Class QCommandLineOption:
| QCommandLineOption & | operator=(QCommandLineOption && other) |
Class QContiguousCache:
| QContiguousCache<T> & | operator=(QContiguousCache<T> && other) |
Class QEasingCurve:
| QEasingCurve & | operator=(QEasingCurve && other) |
Class QSharedDataPointer:
| QSharedDataPointer<T> & | operator=(QSharedDataPointer<T> && other) |
Class QExplicitlySharedDataPointer:
| QExplicitlySharedDataPointer<T> & | operator=(QExplicitlySharedDataPointer<T> && other) |
Class QStringRef:
| QStringRef | left(int n) const |
| QStringRef | mid(int position, int n = -1) const |
| QStringRef | right(int n) const |
Class QGuiApplication:
| Qt::ApplicationState | applicationState() |
| void | applicationStateChanged(Qt::ApplicationState state) |
| void | sync() |
Class QNativeGestureEvent:
| Qt::NativeGestureType | gestureType() const |
| const QPoint | globalPos() const |
| const QPointF & | localPos() const |
| const QPoint | pos() const |
| const QPointF & | screenPos() const |
| qreal | value() const |
| const QPointF & | windowPos() const |
Class QTouchDevice:
| int | maximumTouchPoints() const |
Class QVector3D:
| float & | operator[](int i) |
| float | operator[](int i) const |
Class QVector2D:
| float & | operator[](int i) |
| float | operator[](int i) const |
Class QVector4D:
| float & | operator[](int i) |
| float | operator[](int i) const |
Class QNetworkAccessManager:
| void | connectToHost(const QString & hostName, quint16 port = 80) |
| void | connectToHostEncrypted(const QString & hostName, quint16 port = 443, const QSslConfiguration & sslConfiguration = QSslConfiguration::defaultConfiguration()) |
| QStringList | supportedSchemes() const |
| QStringList | supportedSchemesImplementation() const |
Class QNetworkConfiguration:
| BearerType | bearerTypeFamily() const |
Class QSslConfiguration:
| QByteArray | sessionTicket() const |
| int | sessionTicketLifeTimeHint() const |
| void | setSessionTicket(const QByteArray & sessionTicket) |
Class QQuickWindow:
| void | resetOpenGLState() |
Class QWebHitTestResult:
| QUrl | mediaUrl() const |
Class QX11Info:
| unsigned long | getTimestamp() |
| bool | isPlatformX11() |
Class QPressureReading:
| void | setTemperature(qreal temperature) |
Class QSerialPort:
| Handle | handle() const |
New Global Functions
| quint64 | qFloatDistance(double a, double b) |
| quint32 | qFloatDistance(float a, float b) |
| uint | qPopulationCount(quint64 v) |
| uint | qPopulationCount(quint16 v) |
| uint | qPopulationCount(quint8 v) |
| uint | qPopulationCount(quint32 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 Properties
- filterMode : Qt::MatchFlags
- temperature : const qreal
- nativeOrientation : const Qt::ScreenOrientation
New QML Types
- L
- Location
Additions to Other Qt 5 Releases
© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.