New Classes and Functions in Qt 5.6
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.6. 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 Typedefs
- New Properties
- New QML Types
- New QML Properties
- New QML Signals
- New QML Methods
New Classes
- G
- QGeoCodeReply
- QGeoCodingManager
- QGeoCodingManagerEngine
- QGeoManeuver
- QGeoRoute
- QGeoRouteReply
- QGeoRouteRequest
- QGeoRouteSegment
- QGeoRoutingManager
- QGeoRoutingManagerEngine
- QGeoServiceProvider
- QGeoServiceProviderFactory
- K
- key_iterator (QHash)
- key_iterator (QMap)
- P
- QPlace
- QPlaceAttribute
- QPlaceCategory
- QPlaceContent
- QPlaceContentReply
- QPlaceContentRequest
- QPlaceDetailsReply
- QPlaceEditorial
- QPlaceIcon
- QPlaceIdReply
- QPlaceImage
- QPlaceManager
- QPlaceManagerEngine
- QPlaceMatchReply
- QPlaceMatchRequest
- QPlaceRatings
- QPlaceReply
- QPlaceResult
- QPlaceReview
- QPlaceSearchReply
- QPlaceSearchRequest
- QPlaceSearchResult
- QPlaceSearchSuggestionReply
- QPlaceSupplier
- QPlaceUser
- R
- QRgba64
- T
- QTransform (Qt3DCore)
New Member Functions
Class QBluetoothSocket:
| QBluetooth::SecurityFlags | preferredSecurityFlags() const |
| void | setPreferredSecurityFlags(QBluetooth::SecurityFlags flags) |
Class QSysInfo:
| QString | machineHostName() |
Class QRegExp:
| uint | qHash(const QRegExp &key, uint seed) |
| uint | qHash(const QLocale &key, uint seed) |
| uint | qHash(const QRegularExpression &key, uint seed) |
| uint | qHash(const QUrlQuery &key, uint seed) |
| uint | qHash(const QMimeType &key, uint seed) |
Class QHash:
| int | qGlobalQHashSeed() |
| uint | qHash(const QLocale &key, uint seed) |
| uint | qHash(const QRegularExpression &key, uint seed) |
| uint | qHash(const QUrlQuery &key, uint seed) |
| uint | qHash(const QMimeType &key, uint seed) |
| void | qSetGlobalQHashSeed(int newSeed) |
Class QLocale:
| uint | qHash(const QLocale &key, uint seed) |
| uint | qHash(const QRegularExpression &key, uint seed) |
| uint | qHash(const QUrlQuery &key, uint seed) |
| uint | qHash(const QMimeType &key, uint seed) |
Class QTextStream:
| QTextStream & | operator<<(const QStringRef &string) |
Class QRegularExpression:
| uint | qHash(const QRegularExpression &key, uint seed) |
| uint | qHash(const QUrlQuery &key, uint seed) |
| uint | qHash(const QMimeType &key, uint seed) |
Class QUrlQuery:
Class QStorageInfo:
| int | blockSize() const |
Class QTemporaryDir:
| QString | errorString() const |
Class QCommandLineParser:
| void | setOptionsAfterPositionalArgumentsMode(QCommandLineParser::OptionsAfterPositionalArgumentsMode parsingMode) |
Class QUuid:
| uint | qHash(const QMimeType &key, uint seed) |
Class QHistoryState:
| QAbstractTransition * | defaultTransition() const |
| void | setDefaultTransition(QAbstractTransition *transition) |
Class QMimeType:
| uint | qHash(const QMimeType &key, uint seed) |
Class QDBusMessage:
| QDBusMessage | createTargetedSignal(const QString &service, const QString &path, const QString &interface, const QString &name) |
Class QPointingDeviceUniqueId:
Class QColor:
| QColor | fromRgba64(ushort r, ushort g, ushort b, ushort a) |
| QColor | fromRgba64(QRgba64 rgba64) |
| QRgba64 | rgba64() const |
| void | setRgba64(QRgba64 rgba) |
Class QGuiApplication:
| bool | isFallbackSessionManagementEnabled() |
| void | setFallbackSessionManagementEnabled(bool enabled) |
Class QFont:
Class QMatrix:
Class QTransform:
| uint | qHash(const QTransform &key, uint seed) |
Class QImage:
| QColor | pixelColor(int x, int y) const |
| void | setPixelColor(int x, int y, const QColor &color) |
Class QIcon:
Class QImageReader:
Class QTextLayout:
| void | clearFormats() |
| QVector<QTextLayout::FormatRange> | formats() const |
| void | setFormats(const QVector<QTextLayout::FormatRange> &formats) |
Class QStandardItem:
| void | setAutoTristate(bool tristate) |
| void | setUserTristate(bool tristate) |
Class QOpenGLFramebufferObject:
| void | addColorAttachment(const QSize &size, GLenum internalFormat) |
| void | addColorAttachment(int width, int height, GLenum internalFormat) |
| QVector<QSize> | sizes() const |
| GLuint | takeTexture(int colorAttachmentIndex) |
| QVector<GLuint> | textures() const |
| QImage | toImage(bool flipped, int colorAttachmentIndex) const |
Class QMediaPlayer:
| void | audioRoleChanged(QAudio::Role role) |
| QList<QAudio::Role> | supportedAudioRoles() const |
Class QNetworkRequest:
| int | maximumRedirectsAllowed() const |
| void | setMaximumRedirectsAllowed(int maxRedirectsAllowed) |
Class QHostAddress:
| bool | isMulticast() const |
Class QJSEngine:
| void | installExtensions(QJSEngine::Extensions extensions, const QJSValue &object) |
Class QQmlDebuggingEnabler:
| bool | connectToLocalDebugger(const QString &socketFileName, QQmlDebuggingEnabler::StartMode mode) |
Class QQuickTextureFactory:
| QQuickTextureFactory * | textureFactoryForImage(const QImage &image) |
Class QWebSocket:
Class QMainWindow:
| void | resizeDocks(const QList<QDockWidget *> &docks, const QList<int> &sizes, Qt::Orientation orientation) |
New Global Functions
| int | qGlobalQHashSeed() |
| uint | qHash(const QTransform &key, uint seed) |
| uint | qHash(const QMatrix &key, uint seed) |
| uint | qHash(const QKeySequence &key, uint seed) |
| uint | qHash(const QMimeType &key, uint seed) |
| uint | qHash(const QUrlQuery &key, uint seed) |
| uint | qHash(const QRegularExpression &key, uint seed) |
| uint | qHash(const QLocale &key, uint seed) |
| uint | qHash(const QRegExp &key, uint seed) |
| void | qSetGlobalQHashSeed(int newSeed) |
New Macros
| QTRY_VERIFY2(condition, message) | |
| QTRY_VERIFY2(condition, message) | |
| QTRY_VERIFY2_WITH_TIMEOUT(condition, message, timeout) | |
| QTRY_VERIFY2_WITH_TIMEOUT(condition, message, timeout) | |
| QT_NO_PROCESS_COMBINED_ARGUMENT_START | |
| QT_NO_PROCESS_COMBINED_ARGUMENT_START |
New Enum Types
| enum | Role { UnknownRole, MusicRole, VideoRole, VoiceCommunicationRole, ..., CustomRole } |
| enum | OptionsAfterPositionalArgumentsMode { ParseAsOptions, ParseAsPositionalArguments } |
| enum | EnterKeyType { EnterKeyDefault, EnterKeyReturn, EnterKeyDone, EnterKeyGo, ..., EnterKeyPrevious } |
New Typedefs
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
| typedef | const_reverse_iterator |
| typedef | reverse_iterator |
New Properties
- supportedSchemes : const
- audioRole : const
- mirrorVertically : const
- showIsMaximized : const
New QML Types
- E
- EnterKey
New QML Properties
New QML Signals
New QML Methods
| append() | |
| clear() | |
| get() | |
| indexOf() | |
| insert() | |
| move() | |
| remove() | |
| supportedAudioRoles() | |
| supportedAudioRoles() | |
| supportedAudioRoles() |