New Classes and Functions in Qt 5.10
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.10. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
- New Classes
- New Member Functions
- New Functions in Namespaces
- New Global Functions
- New Enum Types
- New Type Aliases
- New Properties
New Classes
New Member Functions
Class QAbstractFileEngine:
| virtual bool | cloneTo(QAbstractFileEngine *target) |
| virtual bool | setFileTime(const QDateTime &newDate, QAbstractFileEngine::FileTime time) |
Class QDebug:
| QDebug & | operator<<(QStringView s) |
Class QFileDevice:
| QDateTime | fileTime(QFileDevice::FileTime time) const |
| bool | setFileTime(const QDateTime &newDate, QFileDevice::FileTime fileTime) |
Class QFileInfo:
| QDateTime | birthTime() const |
| QDateTime | fileTime(QFile::FileTime time) const |
| QDateTime | metadataChangeTime() const |
Class QByteArray:
| QByteRef | back() |
| char | back() const |
| QByteArray | chopped(int len) const |
| QByteRef | front() |
| char | front() const |
| void | shrink_to_fit() |
Class QImage:
| qsizetype | sizeInBytes() const |
Class QGuiApplication:
| QScreen * | screenAt(const QPoint &point) |
Class QNativeGestureEvent:
| const QTouchDevice * | device() const |
Class QSurfaceFormat:
| QSurfaceFormat::ColorSpace | colorSpace() const |
| void | setColorSpace(QSurfaceFormat::ColorSpace colorSpace) |
Class QWindow:
| void | setWindowStates(Qt::WindowStates state) |
| Qt::WindowStates | windowStates() const |
Class QColor:
| bool | isValidColor(QStringView name) |
| void | setNamedColor(QStringView name) |
Class QPdfWriter:
| QPagedPaintDevice::PdfVersion | pdfVersion() const |
| void | setPdfVersion(QPagedPaintDevice::PdfVersion version) |
Class QPolygon:
| bool | intersects(const QPolygon &p) const |
Class QPolygonF:
| bool | intersects(const QPolygonF &p) const |
Class QTextOption:
| void | setTabStopDistance(qreal tabStopDistance) |
| qreal | tabStopDistance() const |
Class QPlatformCursor:
| virtual void | clearOverrideCursor() |
| virtual void | setOverrideCursor(const QCursor &) |
Class QPlatformIntegration:
| virtual QPlatformVulkanInstance * | createPlatformVulkanInstance(QVulkanInstance *instance) const |
Class QHostInfo:
Class QLocalServer:
| qintptr | socketDescriptor() const |
Class QNetworkAccessManager:
| void | enableStrictTransportSecurityStore(bool enabled, const QString &storeDir) |
| bool | isStrictTransportSecurityStoreEnabled() const |
Class QPrinter:
| QPagedPaintDevice::PdfVersion | pdfVersion() const |
| void | setPdfVersion(QPagedPaintDevice::PdfVersion version) |
Class QSqlError:
Class QSqlQueryModel:
| virtual QHash<int, QByteArray> | roleNames() const override |
Class QAbstractItemView:
| bool | isPersistentEditorOpen(const QModelIndex &index) const |
Class QLineEdit:
| int | selectionEnd() const |
| int | selectionLength() const |
Class QListWidget:
| bool | isPersistentEditorOpen(QListWidgetItem *item) const |
Class QOpenGLWidget:
| void | setTextureFormat(GLenum texFormat) |
| GLenum | textureFormat() const |
Class QTableWidget:
| bool | isPersistentEditorOpen(QTableWidgetItem *item) const |
Class QTreeWidget:
| bool | isPersistentEditorOpen(QTreeWidgetItem *item, int column) const |
New Functions in Namespaces
| void | keySequence(QWindow *window, const QKeySequence &keySequence) |
| void | keySequence(QWidget *widget, const QKeySequence &keySequence) |
| bool | qWaitFor(Functor predicate, int timeout) |
New Global Functions
| bool | operator!=(const QVulkanLayer &lhs, const QVulkanLayer &rhs) |
| bool | operator!=(const QVulkanExtension &lhs, const QVulkanExtension &rhs) |
| bool | operator!=(const QCursor &lhs, const QCursor &rhs) |
| bool | operator==(const QVulkanLayer &lhs, const QVulkanLayer &rhs) |
| bool | operator==(const QVulkanExtension &lhs, const QVulkanExtension &rhs) |
| bool | operator==(const QCursor &lhs, const QCursor &rhs) |
| uint | qHash(const QVulkanLayer &key, uint seed) |
| uint | qHash(const QVulkanExtension &key, uint seed) |
New Enum Types
| enum | FileTime { FileAccessTime, FileBirthTime, FileMetadataChangeTime, FileModificationTime } |
| enum | Capability { OverrideCursor } |
| enum | Flag { NoDebugOutputRedirect } |
New Type Aliases
| typedef | qint16_be |
| typedef | qint16_le |
| typedef | qint32_be |
| typedef | qint32_le |
| typedef | qint64_be |
| typedef | qint64_le |
| typedef | qsizetype |
| typedef | quint16_be |
| typedef | quint16_le |
| typedef | quint32_be |
| typedef | quint32_le |
| typedef | quint64_be |
| typedef | quint64_le |
New Properties
|
|