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 | QtMac |
New Classes
- C
- QCollator
- QCollatorSortKey
- QCommandLineOption
- QCommandLineParser
- const_iterator (QSequentialIterable)
- G
- QGeoAddress
- QGeoAreaMonitorSource
- QGeoCircle
- QGeoCoordinate
- QGeoLocation
- QGeoPositionInfo
- QGeoPositionInfoSource
- QGeoPositionInfoSourceFactory
- QGeoRectangle
- QGeoSatelliteInfo
- QGeoSatelliteInfoSource
- QGeoShape
New Member Functions
Class QPressureReading:
| setTemperature(qreal temperature) |
Class QNativeGestureEvent:
| gestureType() const | |
| globalPos() const | |
| localPos() const | |
| pos() const | |
| screenPos() const | |
| value() const | |
| windowPos() const |
Class QGuiApplication:
| applicationState() | |
| applicationStateChanged(Qt::ApplicationState state) | |
| sync() |
Class QTouchDevice:
| maximumTouchPoints() const |
Class QVector2D:
| operator[](int i) | |
| operator[](int i) const |
Class QVector3D:
| operator[](int i) | |
| operator[](int i) const |
Class QVector4D:
| operator[](int i) | |
| operator[](int i) const |
Class QWebHitTestResult:
| mediaUrl() const |
Class QMimeType:
| operator=(QMimeType && other) |
Class QThreadPool:
| clear() |
Class QNetworkConfiguration:
| bearerTypeFamily() const |
Class QNetworkAccessManager:
| connectToHost(const QString & hostName, quint16 port) | |
| connectToHostEncrypted(const QString & hostName, quint16 port, const QSslConfiguration & sslConfiguration) | |
| supportedSchemes() const | |
| supportedSchemesImplementation() const |
Class QQuickWindow:
| resetOpenGLState() |
Class QSerialPort:
| handle() const |
Class QSslConfiguration:
| sessionTicket() const | |
| sessionTicketLifeTimeHint() const | |
| setSessionTicket(const QByteArray & sessionTicket) |
Class QUrlQuery:
| operator=(QUrlQuery && other) |
Class QCommandLineOption:
| operator=(QCommandLineOption && other) |
Class QContiguousCache:
| operator=(QContiguousCache<T> && other) |
Class QEasingCurve:
| operator=(QEasingCurve && other) |
Class QExplicitlySharedDataPointer:
| operator=(QExplicitlySharedDataPointer<T> && other) |
Class QSharedDataPointer:
| operator=(QSharedDataPointer<T> && other) |
Class QStringRef:
| left(int n) const | |
| mid(int position, int n) const | |
| right(int n) const |
New Global Functions
| 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 Properties
- filterMode : const
- temperature : const
- nativeOrientation : const
New QML Types
- L
- Location