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 (QMap)
- key_iterator (QHash)
- 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 QByteArray:
QByteArray::const_reverse_iterator | crbegin() const |
QByteArray::const_reverse_iterator | crend() const |
QByteArray::reverse_iterator | rbegin() |
QByteArray::const_reverse_iterator | rbegin() const |
QByteArray::reverse_iterator | rend() |
QByteArray::const_reverse_iterator | rend() const |
Class QPair:
bool | operator<(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator<(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator<=(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator<=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator>(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>=(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator>=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
Class QSysInfo:
QString | machineHostName() |
Class QChar:
bool | operator<(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator<(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator<=(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator<=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator>(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>=(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator>=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
Class QStringView:
uint | qHash(const QVector<T> &key, uint seed) |
uint | qHash(const QList<T> &key, uint seed) |
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 QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
Class QString:
QString::const_reverse_iterator | crbegin() const |
QString::const_reverse_iterator | crend() const |
QString::reverse_iterator | rbegin() |
QString::const_reverse_iterator | rbegin() const |
QString::reverse_iterator | rend() |
QString::const_reverse_iterator | rend() const |
Class QStringRef:
void | truncate(int position) |
Class QVector:
void | append(T &&value) |
const T & | constFirst() const |
const T & | constLast() const |
QVector::const_reverse_iterator | crbegin() const |
QVector::const_reverse_iterator | crend() const |
void | move(int from, int to) |
bool | operator<(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator<(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator<=(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator<=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator>(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>=(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator>=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
void | push_back(T &&value) |
uint | qHash(const QVector<T> &key, uint seed) |
uint | qHash(const QList<T> &key, uint seed) |
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 QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
QVector::reverse_iterator | rbegin() |
QVector::const_reverse_iterator | rbegin() const |
QVector::reverse_iterator | rend() |
QVector::const_reverse_iterator | rend() const |
Class QList:
const T & | constFirst() const |
const T & | constLast() const |
QList::const_reverse_iterator | crbegin() const |
QList::const_reverse_iterator | crend() const |
bool | operator<(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator<=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
uint | qHash(const QList<T> &key, uint seed) |
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 QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
QList::reverse_iterator | rbegin() |
QList::const_reverse_iterator | rbegin() const |
QList::reverse_iterator | rend() |
QList::const_reverse_iterator | rend() const |
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 QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
Class QVarLengthArray:
QVarLengthArray::const_reverse_iterator | crbegin() const |
QVarLengthArray::const_reverse_iterator | crend() const |
bool | operator<(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator<=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
QVarLengthArray::reverse_iterator | rbegin() |
QVarLengthArray::const_reverse_iterator | rbegin() const |
QVarLengthArray::reverse_iterator | rend() |
QVarLengthArray::const_reverse_iterator | rend() const |
Class QMap:
QPair<QMap::const_iterator, QMap::const_iterator> | equal_range(const Key &key) const |
QMap::key_iterator | keyBegin() const |
QMap::key_iterator | keyEnd() const |
Class QHash:
QHash::key_iterator | keyBegin() const |
QHash::key_iterator | keyEnd() const |
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 QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
void | qSetGlobalQHashSeed(int newSeed) |
Class QMultiHash:
uint | qHash(const QLocale &key, uint seed) |
uint | qHash(const QRegularExpression &key, uint seed) |
uint | qHash(const QUrlQuery &key, uint seed) |
uint | qHash(const QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
Class QPersistentModelIndex:
uint | qHash(const QLocale &key, uint seed) |
uint | qHash(const QRegularExpression &key, uint seed) |
uint | qHash(const QUrlQuery &key, uint seed) |
uint | qHash(const QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
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 QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
void | swap(QLocale &other) |
Class QTextStream:
QTextStream & | operator<<(const QStringRef &string) |
Class QSet:
QSet::const_reverse_iterator | crbegin() const |
QSet::const_reverse_iterator | crend() const |
bool | intersects(const QSet<T> &other) const |
QSet::reverse_iterator | rbegin() |
QSet::const_reverse_iterator | rbegin() const |
QSet::reverse_iterator | rend() |
QSet::const_reverse_iterator | rend() const |
Class QDebug:
void | setVerbosity(int verbosityLevel) |
int | verbosity() const |
Class QRegularExpression:
uint | qHash(const QRegularExpression &key, uint seed) |
uint | qHash(const QUrlQuery &key, uint seed) |
uint | qHash(const QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
Class QUrlQuery:
uint | qHash(const QUrlQuery &key, uint seed) |
uint | qHash(const QVersionNumber &key, uint seed) |
uint | qHash(const QMimeType &key, uint seed) |
Class QUuid:
Class QCommandLineParser:
void | setOptionsAfterPositionalArgumentsMode(QCommandLineParser::OptionsAfterPositionalArgumentsMode parsingMode) |
Class QDir:
QChar | listSeparator() |
Class QHistoryState:
QAbstractTransition * | defaultTransition() const |
void | defaultTransitionChanged() |
void | setDefaultTransition(QAbstractTransition *transition) |
Class QItemSelectionRange:
void | swap(QItemSelectionRange &other) |
Class QLinkedList:
QLinkedList::const_reverse_iterator | crbegin() const |
QLinkedList::const_reverse_iterator | crend() const |
QLinkedList::reverse_iterator | rbegin() |
QLinkedList::const_reverse_iterator | rbegin() const |
QLinkedList::reverse_iterator | rend() |
QLinkedList::const_reverse_iterator | rend() const |
Class QMimeType:
uint | qHash(const QMimeType &key, uint seed) |
Class QPointer:
void | swap(QPointer<T> &other) |
Class QProcess:
void | errorOccurred(QProcess::ProcessError error) |
Class QStorageInfo:
int | blockSize() const |
Class QTemporaryDir:
QString | errorString() const |
Class QXmlStreamStringRef:
void | swap(QXmlStreamStringRef &other) |
Class QDBusMessage:
QDBusMessage | createTargetedSignal(const QString &service, const QString &path, const QString &interface, const QString &name) |
Class QPointingDeviceUniqueId:
Class QIcon:
Class QGuiApplication:
bool | isFallbackSessionManagementEnabled() |
void | setFallbackSessionManagementEnabled(bool enabled) |
Class QImageReader:
Class QImage:
QColor | pixelColor(const QPoint &position) const |
QColor | pixelColor(int x, int y) const |
void | setPixelColor(const QPoint &position, const QColor &color) |
void | setPixelColor(int x, int y, const QColor &color) |
Class QPaintDevice:
qreal | devicePixelRatioF() const |
Class QColor:
QColor | fromRgba64(ushort r, ushort g, ushort b, ushort a) |
QColor | fromRgba64(QRgba64 rgba64) |
uint | qAlpha(QRgba64 rgba64) |
uint | qBlue(QRgba64 rgba64) |
uint | qGreen(QRgba64 rgba64) |
QRgba64 | qPremultiply(QRgba64 rgba64) |
uint | qRed(QRgba64 rgba64) |
QRgba64 | qRgba64(quint16 r, quint16 g, quint16 b, quint16 a) |
QRgba64 | qRgba64(quint64 c) |
QRgba64 | qUnpremultiply(QRgba64 rgba64) |
QRgba64 | rgba64() const |
void | setRgba64(QRgba64 rgba) |
Class QMatrix:
Class QFont:
Class QTransform:
uint | qHash(const QTransform &key, uint seed) |
Class QTextLayout:
void | clearFormats() |
QVector<QTextLayout::FormatRange> | formats() const |
void | setFormats(const QVector<QTextLayout::FormatRange> &formats) |
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 QStandardItem:
bool | isAutoTristate() const |
bool | isUserTristate() const |
void | setAutoTristate(bool tristate) |
void | setUserTristate(bool tristate) |
Class QMediaPlayer:
void | audioRoleChanged(QAudio::Role role) |
QList<QAudio::Role> | supportedAudioRoles() const |
Class QNetworkRequest:
int | maximumRedirectsAllowed() const |
void | setMaximumRedirectsAllowed(int maxRedirectsAllowed) |
Class QNetworkReply:
void | redirected(const QUrl &url) |
Class QHostAddress:
bool | isMulticast() const |
void | swap(QHostAddress &other) |
Class QWindowsWindowFunctions:
void | setHasBorderInFullScreen(QWindow *window, bool border) |
const QByteArray | setHasBorderInFullScreenIdentifier() |
Class QQmlDebuggingEnabler:
bool | connectToLocalDebugger(const QString &socketFileName, QQmlDebuggingEnabler::StartMode mode) |
Class QJSEngine:
void | installExtensions(QJSEngine::Extensions extensions, const QJSValue &object) |
Class QQuickTextureFactory:
QQuickTextureFactory * | textureFactoryForImage(const QImage &image) |
Class QWebSocket:
Class QSizePolicy:
uint | qHash(QSizePolicy key, uint seed) |
Class QMainWindow:
void | resizeDocks(const QList<QDockWidget *> &docks, const QList<int> &sizes, Qt::Orientation orientation) |
Class QMenu:
QAction * | addAction(const QString &text, Functor functor, const QKeySequence &shortcut) |
QAction * | addAction(const QString &text, const QObject *context, Functor functor, const QKeySequence &shortcut) |
QAction * | addAction(const QIcon &icon, const QString &text, Functor functor, const QKeySequence &shortcut) |
QAction * | addAction(const QIcon &icon, const QString &text, const QObject *context, Functor functor, const QKeySequence &shortcut) |
Class QToolBar:
QAction * | addAction(const QString &text, Functor functor) |
QAction * | addAction(const QString &text, const QObject *context, Functor functor) |
QAction * | addAction(const QIcon &icon, const QString &text, Functor functor) |
QAction * | addAction(const QIcon &icon, const QString &text, const QObject *context, Functor functor) |
New Global Functions
bool | operator<(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator<(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator<=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator<=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator<=(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator>(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>(const QVector<T> &lhs, const QVector<T> &rhs) |
bool | operator>=(const QVarLengthArray<T, Prealloc1> &lhs, const QVarLengthArray<T, Prealloc2> &rhs) |
bool | operator>=(const QList<T> &lhs, const QList<T> &rhs) |
bool | operator>=(const QVector<T> &lhs, const QVector<T> &rhs) |
uint | qAlpha(QRgba64 rgba64) |
uint | qBlue(QRgba64 rgba64) |
uint | qCountLeadingZeroBits(quint64 v) |
uint | qCountLeadingZeroBits(quint16 v) |
uint | qCountLeadingZeroBits(quint8 v) |
uint | qCountLeadingZeroBits(quint64 v) |
uint | qCountLeadingZeroBits(quint16 v) |
uint | qCountLeadingZeroBits(quint8 v) |
uint | qCountLeadingZeroBits(quint32 v) |
uint | qCountTrailingZeroBits(quint64 v) |
uint | qCountTrailingZeroBits(quint16 v) |
uint | qCountTrailingZeroBits(quint32 v) |
uint | qCountTrailingZeroBits(quint8 v) |
uint | qCountTrailingZeroBits(quint64 v) |
uint | qCountTrailingZeroBits(quint16 v) |
uint | qCountTrailingZeroBits(quint32 v) |
uint | qCountTrailingZeroBits(quint8 v) |
int | qGlobalQHashSeed() |
uint | qGreen(QRgba64 rgba64) |
uint | qHash(QSizePolicy key, uint seed) |
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 QVersionNumber &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) |
uint | qHash(const QList<T> &key, uint seed) |
uint | qHash(const QVector<T> &key, uint seed) |
QRgba64 | qPremultiply(QRgba64 rgba64) |
uint | qRed(QRgba64 rgba64) |
QRgba64 | qRgba64(quint64 c) |
QRgba64 | qRgba64(quint16 r, quint16 g, quint16 b, quint16 a) |
void | qSetGlobalQHashSeed(int newSeed) |
QRgba64 | qUnpremultiply(QRgba64 rgba64) |
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() |
Additions to Other Qt 5 Releases
© 2019 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.