- Qt 5.3
- New Classes and Functions in Qt 5.2
- Qt 5.3.2 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 Classes
- New Member Functions
- New Global Functions
- New Macros
- New Properties
- New QML Types

### New Namespaces

namespace | QtMac

### New Classes

A
  QAssociativeIterable

C
  QCollator
  QCollatorSortKey
  QCommandLineOption
  QCommandLineParser
  const_iterator (QSequentialIterable)

F
  QFileSelector

G
  QGeoAddress
  QGeoAreaMonitorSource
  QGeoCircle
  QGeoCoordinate
  QGeoLocation
  QGeoPositionInfo
  QGeoPositionInfoSource
  QGeoPositionInfoSourceFactory
  QGeoRectangle
  QGeoSatelliteInfo
  QGeoSatelliteInfoSource
  QGeoShape

K
  QKeySequenceEdit

L
  QLoggingCategory

M
  QMacPasteboardMime

N
  QNativeGestureEvent
  QNmeaPositionInfoSource

O
  QOpenGLTexture

Q
  QQmlFileSelector
  QQuickFramebufferObject

R
  Renderer (QQuickFramebufferObject)

S
  QSequentialIterable
  QStaticPlugin

T
  QTimeZone

### New Member Functions

Class QNetworkConfiguration:

| bearerTypeFamily() const

Class QSslConfiguration:

| sessionTicket() const
| sessionTicketLifeTimeHint() const
| setSessionTicket(const QByteArray & sessionTicket)

Class QWebHitTestResult:

| mediaUrl() const

Class QSerialPort:

| handle() const

Class QUrlQuery:

| operator=(QUrlQuery && other)

Class QMimeType:

| operator=(QMimeType && other)

Class QThreadPool:

| clear()

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

Class QQuickWindow:

| resetOpenGLState()

Class QPressureReading:

| setTemperature(qreal temperature)

Class QNetworkAccessManager:

| connectToHost(const QString & hostName, quint16 port)
| connectToHostEncrypted(const QString & hostName, quint16 port, const QSslConfiguration & sslConfiguration)
| supportedSchemes() const
| supportedSchemesImplementation() const

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

### 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

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

## Additions to Other Qt 5 Releases

- What's New in Qt 5.3
- What's New in Qt 5.1
- What's New in Qt 5.0