New Classes and Functions in Qt 5.13
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.13. 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 QML Types
- New QML Properties
- New QML Methods
New Classes
New Member Functions
Class QList:
| void | swapItemsAt(int i, int j) |
Class QByteArrayList:
| int | indexOf(const char *needle, int from) const |
Class QStringList:
| int | indexOf(QStringView str, int from) const |
| int | indexOf(QLatin1String str, int from) const |
| int | lastIndexOf(QStringView str, int from) const |
| int | lastIndexOf(QLatin1String str, int from) const |
Class QMetaType:
| int | id() const |
Class QLocale:
| long | toLong(const QString &s, bool *ok) const |
| long | toLong(const QStringRef &s, bool *ok) const |
| long | toLong(QStringView s, bool *ok) const |
| ulong | toULong(const QString &s, bool *ok) const |
| ulong | toULong(const QStringRef &s, bool *ok) const |
| ulong | toULong(QStringView s, bool *ok) const |
Class QDebug:
| QDebug & | verbosity(int verbosityLevel) |
Class QResource:
| QResource::Compression | compressionAlgorithm() const |
Class QStringListModel:
| virtual QMap<int, QVariant> | itemData(const QModelIndex &index) const override |
| virtual bool | moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) override |
| virtual bool | setItemData(const QModelIndex &index, const QMap<int, QVariant> &roles) override |
Class QTextCharFormat:
| QVariant | fontFamilies() const |
| QVariant | fontStyleName() const |
| void | setFontFamilies(const QStringList &families) |
| void | setFontStyleName(const QString &styleName) |
Class QNetworkRequest:
| QString | peerVerifyName() const |
| void | setPeerVerifyName(const QString &peerName) |
Class QFont:
| QStringList | families() const |
| void | setFamilies(const QStringList &families) |
Class QPainterPath:
Class QImage:
| void | convertTo(QImage::Format format, Qt::ImageConversionFlags flags) |
Class QAbstractSocket:
| QString | protocolTag() const |
| void | setProtocolTag(const QString &tag) |
Class QSslSocket:
| QVector<QOcspResponse> | ocspResponses() const |
Class QHostAddress:
| uint | qHash(const QOcspResponse &response, uint seed) |
Class QSslConfiguration:
| bool | ocspStaplingEnabled() const |
| void | setOcspStaplingEnabled(bool enabled) |
Class QSslPreSharedKeyAuthenticator:
| bool | operator!=(const QOcspResponse &lhs, const QOcspResponse &rhs) |
| bool | operator==(const QOcspResponse &lhs, const QOcspResponse &rhs) |
Class QNetworkAccessManager:
| void | connectToHostEncrypted(const QString &hostName, quint16 port, const QSslConfiguration &sslConfiguration, const QString &peerName) |
Class QOcspResponse:
| QOcspCertificateStatus | certificateStatus() const |
| bool | operator!=(const QOcspResponse &lhs, const QOcspResponse &rhs) |
| QOcspResponse & | operator=(const QOcspResponse &other) |
| QOcspResponse & | operator=(QOcspResponse &&other) |
| bool | operator==(const QOcspResponse &lhs, const QOcspResponse &rhs) |
| class QSslCertificate | responder() const |
| QOcspRevocationReason | revocationReason() const |
| QSslCertificate | subject() const |
| void | swap(QOcspResponse &other) |
Class QSslDiffieHellmanParameters:
| uint | qHash(const QOcspResponse &response, uint seed) |
Class QWindowsWindowFunctions:
| void | setHasBorderInFullScreenDefault(bool border) |
| const QByteArray | setHasBorderInFullScreenDefaultIdentifier() |
Class QPrinterInfo:
| QPrinter::ColorMode | defaultColorMode() const |
| QList<QPrinter::ColorMode> | supportedColorModes() const |
Class QSqlDatabase:
| QSqlDatabase | cloneDatabase(const QString &other, const QString &connectionName) |
Class QWebEnginePagePrivate:
| void | interceptRequest(QWebEngineUrlRequestInfo &info) |
Class QListModel:
| virtual bool | moveRows(const QModelIndex &sourceParent, int sourceRow, int count, const QModelIndex &destinationParent, int destinationChild) override |
Class QFileDialog:
| void | getOpenFileContent(const QString &nameFilter, const std::function<void (const QString &, const QByteArray &)> &fileOpenCompleted) |
Class QTextEdit:
| bool | find(const QRegularExpression &exp, QTextDocument::FindFlags options) |
Class QPlainTextEdit:
| bool | find(const QRegularExpression &exp, QTextDocument::FindFlags options) |
Class QTreeView:
| void | expandRecursively(const QModelIndex &index, int depth) |
New Global Functions
| bool | operator!=(const QOcspResponse &lhs, const QOcspResponse &rhs) |
| bool | operator==(const QOcspResponse &lhs, const QOcspResponse &rhs) |
| uint | qHash(const QOcspResponse &response, uint seed) |
| uint | qHash(const QOcspResponse &response, uint seed) |
New Macros
| QT_NO_DEPRECATED_WARNINGS | |
| QT_NO_DEPRECATED_WARNINGS | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) |
New Enum Types
| enum | VerbosityLevel { MinimumVerbosity, DefaultVerbosity, MaximumVerbosity } |
| enum | QOcspCertificateStatus { Good, Revoked, Unknown } |
| enum | QOcspCertificateStatus { Good, Revoked, Unknown } |
| enum | QOcspRevocationReason { None, Unspecified, KeyCompromise, CACompromise, ..., RemoveFromCRL } |
| enum | QOcspRevocationReason { None, Unspecified, KeyCompromise, CACompromise, ..., RemoveFromCRL } |
| enum | Compression { NoCompression, ZlibCompression, ZstdCompression } |
New Typedefs
| typedef | SetHasBorderInFullScreenDefault |
New QML Types
New QML Properties
New QML Methods
| fitViewportToGeoShape() | |
| isPolishScheduled() | |
| isPolishScheduled() | |
| itemAtIndex() | |
| itemAtIndex() | |
| waitForItemPolished() | |
| waitForItemPolished() |