New Classes and Functions in Qt 5.7
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.7. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
New Member Functions
Class QUtf8:
| QChar * | convertToUnicode(buffer, chars, len) |
Class QFlags:
| QFlags & | setFlag(flag, on) |
Class QDataStream:
| void | abortTransaction() |
| bool | commitTransaction() |
| void | rollbackTransaction() |
| void | startTransaction() |
Class QIODevice:
| void | channelBytesWritten(channel, bytes) |
| void | channelReadyRead(channel) |
| void | commitTransaction() |
| int | currentReadChannel() const |
| int | currentWriteChannel() const |
| bool | isTransactionStarted() const |
| int | readChannelCount() const |
| void | rollbackTransaction() |
| void | setCurrentReadChannel(channel) |
| void | setCurrentWriteChannel(channel) |
| void | startTransaction() |
| int | writeChannelCount() const |
Class QProcess:
| CreateProcessArgumentModifier | createProcessArgumentsModifier() const |
| void | setCreateProcessArgumentsModifier(modifier) |
Class QJsonObject:
| const_iterator | constFind(key) const |
| bool | contains(key) const |
| iterator | find(key) |
| const_iterator | find(key) const |
| QJsonValueRef | operator[](key) |
| QJsonValue | operator[](key) const |
| QJsonValue | value(key) const |
Class QMetaObject:
| bool | inherits(metaObject) const |
Class QIconEngine:
| bool | isNull() const |
Class Key:
| bool | isValid() const |
Class QDrag:
| void | cancel() |
Class QWheelEvent:
| bool | inverted() const |
Class QPlatformDrag:
| virtual void | cancelDrag() |
Class QPlatformIntegration:
| virtual void | beep() const |
Class QOpenGLFramebufferObject:
| void | blitFramebuffer(target, targetRect, source, sourceRect, buffers, filter, readColorAttachmentIndex, drawColorAttachmentIndex, restorePolicy) |
Class QNetworkInterface:
| int | interfaceIndexFromName(name) |
| QString | interfaceNameFromIndex(index) |
Class QSslConfiguration:
| QSslKey | ephemeralServerKey() const |
Class QWindowsWindowFunctions:
| void | setWindowActivationBehavior(behavior) |
| const QByteArray | setWindowActivationBehaviorIdentifier() |
Class QMenu:
| void | showTearOffMenu() |
| void | showTearOffMenu(pos) |
New Global Functions
| QDebug | operator<<(stream, vector) |
| QDebug | operator<<(stream, map) |
| QDebug | operator<<(stream, map) |
| QDebug | operator<<(stream, list) |
| QDebug | operator<<(debug, ptr) |
| auto | qConstOverload(memberFunctionPointer) |
| auto | qNonConstOverload(memberFunctionPointer) |
| auto | qOverload(functionPointer) |
New Enum Types
| enum | FramebufferRestorePolicy { DontRestoreFramebufferBinding, RestoreFramebufferBindingToDefault, RestoreFrameBufferBinding } |
| enum | WindowActivationBehavior { DefaultActivateWindow, AlwaysActivateWindow } |
New Type Aliases
| typedef | SetWindowActivationBehaviorType |
New Properties
- desktopFileName : const