New Classes and Functions in Qt 5.4
This page contains a comprehensive list of all new classes and functions introduced in Qt 5.4. 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 Macros
- New Enum Types
- New Typedefs
- New Properties
- New QML Types
- New QML Properties
- New QML Methods
New Classes
New Member Functions
Class QBluetoothDeviceInfo:
| QBluetoothDeviceInfo::CoreConfigurations | coreConfigurations() const |
| void | setCoreConfigurations(QBluetoothDeviceInfo::CoreConfigurations coreConfigs) |
Class QSslSocket:
| QSsl::SslProtocol | sessionProtocol() const |
| long | sslLibraryBuildVersionNumber() |
| QString | sslLibraryBuildVersionString() |
Class QBluetoothUuid:
| QString | characteristicToString(CharacteristicType uuid) |
| QString | descriptorToString(DescriptorType uuid) |
| QString | protocolToString(ProtocolUuid uuid) |
Class QGraphicsSceneMouseEvent:
Class QX11Info:
| QByteArray | nextStartupId() |
| void | setNextStartupId(const QByteArray &id) |
Class QStringList:
| QStringList & | operator<<(const QList<QString> &other) |
| QStringList & | operator=(const QList<QString> &other) |
| QStringList & | operator=(QList<QString> &&other) |
Class QEnableSharedFromThis:
| QSharedPointer<T> | sharedFromThis() |
| QSharedPointer<const T> | sharedFromThis() const |
Class QSqlDriver:
| DbmsType | dbmsType() const |
Class QStringRef:
| const_iterator | begin() const |
| const_iterator | cbegin() const |
| const_iterator | cend() const |
| const_iterator | end() const |
| QVector<QStringRef> | split(const QString &sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive) const |
| QVector<QStringRef> | split(QChar sep, QString::SplitBehavior behavior = QString::KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive) const |
Class QByteArray:
| QByteArray | fromStdString(const std::string &str) |
| std::string | toStdString() const |
Class QCommandLineParser:
| bool | addOptions(const QList<QCommandLineOption> &options) |
| void | showVersion() |
Class QXmlSchema:
| QXmlSchema & | operator=(const QXmlSchema &other) |
Class QQuickWindow:
| void | scheduleRenderJob(QRunnable *job, RenderStage stage) |
Class QAbstractProxyModel:
| virtual bool | canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) const |
| virtual bool | dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) |
Class QAbstractState:
| void | activeChanged(bool active) |
Class QHistoryState:
| void | defaultStateChanged() |
| void | historyTypeChanged() |
Class QDebug:
| QDebug & | maybeQuote(char c = '"') |
| QDebug & | noquote() |
| QDebug & | quote() |
| QDebug & | resetFormat() |
Class QSignalTransition:
| void | senderObjectChanged() |
| void | signalChanged() |
Class QVideoFrame:
| uchar * | bits(int plane) |
| const uchar * | bits(int plane) const |
| int | bytesPerLine(int plane) const |
| int | planeCount() const |
Class QAbstractVideoBuffer:
| int | mapPlanes(MapMode mode, int *numBytes, int[4] bytesPerLine, uchar *[4] data) |
Class QBluetoothTransferReply:
| void | error(QBluetoothTransferReply::TransferError errorType) |
Class QString:
| QVector<QStringRef> | splitRef(const QString &sep, SplitBehavior behavior = KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive) const |
| QVector<QStringRef> | splitRef(QChar sep, SplitBehavior behavior = KeepEmptyParts, Qt::CaseSensitivity cs = Qt::CaseSensitive) const |
| QVector<QStringRef> | splitRef(const QRegExp &rx, SplitBehavior behavior = KeepEmptyParts) const |
| QVector<QStringRef> | splitRef(const QRegularExpression &re, SplitBehavior behavior = KeepEmptyParts) const |
Class QWeakPointer:
Class QSGSimpleTextureNode:
| bool | ownsTexture() const |
| void | setOwnsTexture(bool owns) |
Class QRegularExpression:
| void | optimize() const |
Class QPrinterInfo:
| QPrinter::DuplexMode | defaultDuplexMode() const |
| QList<QPrinter::DuplexMode> | supportedDuplexModes() const |
Class QSslConfiguration:
| QSsl::SslProtocol | sessionProtocol() const |
Class QAbstractTransition:
| void | targetStateChanged() |
| void | targetStatesChanged() |
Class QUrl:
| QUrl | fromUserInput(const QString &userInput, const QString &workingDirectory, UserInputResolutionOptions options = DefaultResolution) |
Class QVector:
Class QState:
| void | childModeChanged() |
| void | errorStateChanged() |
| void | initialStateChanged() |
Class QStateMachine:
| void | runningChanged(bool running) |
Class QSysInfo:
| QString | buildAbi() |
| QString | buildCpuArchitecture() |
| QString | currentCpuArchitecture() |
| QString | kernelType() |
| QString | kernelVersion() |
| QString | prettyProductName() |
| QString | productType() |
| QString | productVersion() |
Class QSslCertificate:
| bool | importPkcs12(QIODevice *device, QSslKey *key, QSslCertificate *certificate, QList<QSslCertificate> *caCertificates = Q_NULLPTR, const QByteArray &passPhrase = QByteArray()) |
| bool | isSelfSigned() const |
Class QTimer:
| void | singleShot(int msec, const QObject *receiver, PointerToMemberFunction method) |
| void | singleShot(int msec, Qt::TimerType timerType, const QObject *receiver, PointerToMemberFunction method) |
| void | singleShot(int msec, Functor functor) |
| void | singleShot(int msec, Qt::TimerType timerType, Functor functor) |
| void | singleShot(int msec, const QObject *context, Functor functor) |
| void | singleShot(int msec, Qt::TimerType timerType, const QObject *context, Functor functor) |
New Functions in Namespaces
| QFuture<T> | run(QThreadPool *pool, Function function, ...) |
New Global Functions
| QString | qFormatLogMessage(QtMsgType type, const QMessageLogContext &context, const QString &str) |
| uint | qHash(const QSslError &key, uint seed = 0) |
| uint | qHash(const QSslCertificate &key, uint seed = 0) |
| uint | qHashBits(const void *p, size_t len, uint seed = 0) |
| quint64 | qNextPowerOfTwo(qint64 value) |
| quint32 | qNextPowerOfTwo(qint32 value) |
| quint64 | qNextPowerOfTwo(quint64 value) |
| quint32 | qNextPowerOfTwo(quint32 value) |
New Macros
| Q_LOGGING_CATEGORY(name, string, msgType) | |
| const char * | qUtf8Printable(const QString &str) |
New Enum Types
| enum | CoreConfiguration { UnknownCoreConfiguration, BaseRateCoreConfiguration, BaseRateAndLowEnergyCoreConfiguration, LowEnergyCoreConfiguration } |
| enum | CharacteristicType { AerobicHeartRateLowerLimit, AerobicHeartRateUpperLimit, AerobicThreshold, Age, ..., WindChill } |
| enum | DescriptorType { CharacteristicExtendedProperties, CharacteristicUserDescription, ClientCharacteristicConfiguration, ServerCharacteristicConfiguration, ..., UnknownDescriptorType } |
| enum | RenderStage { BeforeSynchronizingStage, AfterSynchronizingStage, BeforeRenderingStage, AfterRenderingStage, AfterSwapStage, NoStage } |
| enum | UserInputResolutionOption { DefaultResolution, AssumeLocalFile } |
New Typedefs
| typedef | QLowEnergyHandle |
| typedef | const_iterator |
New Properties
|
|
New QML Types
New QML Properties
| active | |
| activeFocusItem | |
| containsPress | |
| contentItem | |
| devicePixelRatio | |
| ignored | |
| orientationUpdateMask | |
| passwordMaskDelay | |
| sidebarVisible | |
| visibility |
New QML Methods
| QtObject | findChild(parent, objectName) |
| ensureVisible(int position) |