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 QBasicMutex:
| bool | isRecursive() const |
Class QBitArray:
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
Class QByteArray:
| QByteArray & | append(int count, char ch) |
| QByteArray & | insert(int i, int count, char ch) |
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
| QByteArray & | prepend(int count, char ch) |
Class FromBase64Result:
| uint | qHash(const std::pair<T1, T2> &key, uint seed) |
Class QChar:
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
Class QDataStream:
| void | abortTransaction() |
| bool | commitTransaction() |
| void | rollbackTransaction() |
| void | startTransaction() |
Class QDate:
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
Class QDateTime:
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
Class QFlags:
| QFlags<T> & | setFlag(Enum flag, bool on) |
Class QHash:
| QPair<iterator, iterator> | equal_range(const Key &key) |
| QPair<const_iterator, const_iterator> | equal_range(const Key &key) const |
| iterator | erase(const_iterator pos) |
Class QIODevice:
| void | channelBytesWritten(int channel, qint64 bytes) |
| void | channelReadyRead(int channel) |
| void | commitTransaction() |
| int | currentReadChannel() const |
| int | currentWriteChannel() const |
| bool | isTransactionStarted() const |
| int | readChannelCount() const |
| void | rollbackTransaction() |
| void | setCurrentReadChannel(int channel) |
| void | setCurrentWriteChannel(int channel) |
| void | startTransaction() |
| int | writeChannelCount() const |
Class QJsonObject:
| const_iterator | constFind(QLatin1String key) const |
| bool | contains(QLatin1String key) const |
| iterator | find(QLatin1String key) |
| const_iterator | find(QLatin1String key) const |
| QJsonValue | operator[](QLatin1String key) const |
| QJsonValueRef | operator[](QLatin1String key) |
| QJsonValue | value(QLatin1String key) const |
Class QLocale:
| QString | toCurrencyString(double value, const QString &symbol, int precision) const |
Class QMetaObject:
| bool | inherits(const QMetaObject *metaObject) const |
Class QMutex:
| bool | isRecursive() const |
Class QPair:
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
Class QProcess:
| CreateProcessArgumentModifier | createProcessArgumentsModifier() const |
| void | setCreateProcessArgumentsModifier(CreateProcessArgumentModifier modifier) |
Class QRectF:
| QRectF | transposed() const |
Class QRect:
| QRect | transposed() const |
Class QRegExp:
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
Class QSet:
| iterator | erase(const_iterator pos) |
Class QSharedPointer:
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
Class QString:
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
| void | resize(int size, QChar fillChar) |
Class QStringRef:
| const_reverse_iterator | crbegin() const |
| const_reverse_iterator | crend() const |
| QChar | operator[](int position) const |
| const_reverse_iterator | rbegin() const |
| const_reverse_iterator | rend() const |
Class QStringView:
| uint | qHash(const std::pair<T1, T2> &key, uint seed) |
Class QTime:
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
Class QUtf8:
| QChar * | convertToUnicode(QChar *buffer, const char *chars, int len) |
Class QUuid:
| QUuid | fromCFUUID(CFUUIDRef uuid) |
| QUuid | fromNSUUID(const NSUUID *uuid) |
| CFUUIDRef | toCFUUID() const |
| NSUUID * | toNSUUID() const |
Class QCursor:
| void | swap(QCursor &other) |
Class QDrag:
| void | cancel() |
Class QIconEngine:
| bool | isNull() const |
Class QOpenGLFramebufferObject:
| void | blitFramebuffer(QOpenGLFramebufferObject *target, const QRect &targetRect, QOpenGLFramebufferObject *source, const QRect &sourceRect, GLbitfield buffers, GLenum filter, int readColorAttachmentIndex, int drawColorAttachmentIndex, FramebufferRestorePolicy restorePolicy) |
Class Key:
| bool | isValid() const |
Class QPlatformDrag:
| virtual void | cancelDrag() |
Class QPlatformIntegration:
| virtual void | beep() const |
Class QWheelEvent:
| bool | inverted() const |
Class QNetworkInterface:
| int | interfaceIndexFromName(const QString &name) |
| QString | interfaceNameFromIndex(int index) |
Class QSslConfiguration:
| QSslKey | ephemeralServerKey() const |
Class QWindowsWindowFunctions:
| void | setWindowActivationBehavior(int behavior) |
| const int | setWindowActivationBehaviorIdentifier() |
Class QMenu:
| void | showTearOffMenu(const QPoint &pos) |
| void | showTearOffMenu() |
New Global Functions
| QDebug | operator<<(QDebug debug, const QSharedPointer<T> &ptr) |
| QDebug | operator<<(QDebug debug, const std::multimap<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::map<Key, T, Compare, Alloc> &map) |
| QDebug | operator<<(QDebug debug, const std::list<T, Alloc> &vec) |
| QDebug | operator<<(QDebug debug, const std::vector<T, Alloc> &vec) |
| void | qAsConst(const T &&t) |
| typename std::add_const<T>::type & | qAsConst(T &t) |
| void | qAsConst(const T &&t) |
| typename std::add_const<T>::type & | qAsConst(T &t) |
| auto | qConstOverload(T memberFunctionPointer) |
| auto | qConstOverload(T memberFunctionPointer) |
| uint | qHash(const std::pair<T1, T2> &key, uint seed) |
| auto | qNonConstOverload(T memberFunctionPointer) |
| auto | qNonConstOverload(T memberFunctionPointer) |
| auto | qOverload(T functionPointer) |
| auto | qOverload(T functionPointer) |
New Macros
| const wchar_t * | qUtf16Printable(const QString &str) |
| const wchar_t * | qUtf16Printable(const QString &str) |
New Enum Types
| enum | FloatingPointPrecisionOption { FloatingPointShortest } |
| enum | FramebufferRestorePolicy { DontRestoreFramebufferBinding, RestoreFramebufferBindingToDefault, RestoreFrameBufferBinding } |
New Type Aliases
| typedef | const_reverse_iterator |
| typedef | SetWindowActivationBehaviorType |
New Properties
- desktopFileName : const