This page contains a comprehensive list of all new classes and functions introduced in Qt 5.8. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
| namespace | QScxmlExecutableContent |
类 QBluetoothDeviceDiscoveryAgent :
| int | lowEnergyDiscoveryTimeout () const |
| void | setLowEnergyDiscoveryTimeout (int timeout ) |
| void | start (QBluetoothDeviceDiscoveryAgent::DiscoveryMethods methods ) |
| QBluetoothDeviceDiscoveryAgent::DiscoveryMethods | supportedDiscoveryMethods () |
| QBluetoothUuid | remoteDeviceUuid () const |
类 FromBase64Result :
| bool | operator!= (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| uint | qHash (const QHash<Key, T> & key , uint seed ) |
| uint | qHash (const QMultiHash<Key, T> & key , uint seed ) |
类 QChar :
| bool | operator!= (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| QCommandLineOption::Flags | flags () const |
| void | setFlags (QCommandLineOption::Flags flags ) |
类 QDateTime :
| qint64 | currentSecsSinceEpoch () |
| QDateTime | fromSecsSinceEpoch (qint64 secs , Qt::TimeSpec spec , int offsetSeconds ) |
| QDateTime | fromSecsSinceEpoch (qint64 secs , const QTimeZone & timeZone ) |
| void | setSecsSinceEpoch (qint64 secs ) |
| qint64 | toSecsSinceEpoch () const |
类 QHash :
| uint | qHash (const QMultiHash<Key, T> & key , uint seed ) |
| bool | operator!= (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
类 QLatin1String :
| QLatin1Char | at (int pos ) const |
| QLatin1String | left (int length ) const |
| QLatin1String | mid (int start ) const |
| QLatin1String | mid (int start , int length ) const |
| QLatin1Char | operator[] (int pos ) const |
| QLatin1String | right (int length ) const |
类 QLibraryInfo :
| QVersionNumber | version () |
类 QLine :
| QPoint | center () const |
类 QLineF :
| QPointF | center () const |
类 QList :
| uint | qHash (const QHash<Key, T> & key , uint seed ) |
| uint | qHash (const QMultiHash<Key, T> & key , uint seed ) |
类 QMetaEnum :
| bool | isScoped () const |
类 QMetaType :
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
类 QMultiHash :
| uint | qHash (const QMultiHash<Key, T> & key , uint seed ) |
类 QMutex :
| bool | try_lock () |
| bool | try_lock_for (std::chrono::duration<Rep, Period> duration ) |
| bool | try_lock_until (std::chrono::time_point<Clock, Duration> timePoint ) |
类 QPair :
| bool | operator!= (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
类 QPoint :
| CGPoint | toCGPoint () const |
类 QPointF :
| QPointF | fromCGPoint (CGPoint point ) |
| CGPoint | toCGPoint () const |
类 QRectF :
| QRectF | fromCGRect (CGRect rect ) |
| CGRect | toCGRect () const |
类 QRect :
| CGRect | toCGRect () const |
类 QRegExp :
| uint | qHash (const QHash<Key, T> & key , uint seed ) |
| uint | qHash (const QMultiHash<Key, T> & key , uint seed ) |
类 QResource :
| QDateTime | lastModified () const |
类 QScopedPointer :
| bool | operator!= (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
类 QSharedPointer :
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
类 QSize :
| CGSize | toCGSize () const |
类 QSizeF :
| QSizeF | fromCGSize (CGSize size ) |
| CGSize | toCGSize () const |
类 QStringList :
| QString | join (QLatin1String separator ) const |
类 QStringRef :
| void | chop (int n ) |
| int | compare (const QByteArray & other , Qt::CaseSensitivity cs ) const |
类 QStringView :
| uint | qHash (const QHash<Key, T> & key , uint seed ) |
| uint | qHash (const QMultiHash<Key, T> & key , uint seed ) |
类 QTimer :
| std::chrono::milliseconds | intervalAsDuration () const |
| std::chrono::milliseconds | remainingTimeAsDuration () const |
| void | singleShot (std::chrono::milliseconds msec , const QObject * receiver , const char * member ) |
| void | singleShot (std::chrono::milliseconds msec , Qt::TimerType timerType , const QObject * receiver , const char * member ) |
| void | start (std::chrono::milliseconds msec ) |
类 QVarLengthArray :
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| uint | qHash (const QHash<Key, T> & key , uint seed ) |
| uint | qHash (const QMultiHash<Key, T> & key , uint seed ) |
类 QVector :
| uint | qHash (const QHash<Key, T> & key , uint seed ) |
| uint | qHash (const QMultiHash<Key, T> & key , uint seed ) |
类 QWaitCondition :
| void | notify_all () |
| void | notify_one () |
类 QWeakPointer :
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
类 QAbstractTextDocumentLayout :
| QTextFormat | formatAt (const QPointF & pos ) const |
| QString | imageAt (const QPointF & pos ) const |
类 QColor :
| bool | isValidColor (QLatin1String name ) |
| void | setNamedColor (QLatin1String name ) |
类 QFont :
| uint | qHash (const QRawFont & font , uint seed ) |
类 QFontMetrics :
| int | capHeight () const |
类 QFontMetricsF :
| qreal | capHeight () const |
类 QMatrix :
| uint | qHash (const QRawFont & font , uint seed ) |
类 QOpenGLContext :
| QFunctionPointer | getProcAddress (const char * procName ) const |
类 QPlatformTheme :
| virtual QIcon | fileIcon (const QFileInfo & fileInfo , QPlatformTheme::IconOptions iconOptions ) const |
| bool | operator!= (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) |
| bool | operator== (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) |
| uint | qHash (QPointingDeviceUniqueId key , uint seed ) |
| uint | qHash (const QRawFont & font , uint seed ) |
类 QRawFont :
| qreal | capHeight () const |
| uint | qHash (const QRawFont & font , uint seed ) |
类 QRegion :
| QRegion::const_iterator | begin () const |
| QRegion::const_iterator | cbegin () const |
| QRegion::const_iterator | cend () const |
| QRegion::const_reverse_iterator | crbegin () const |
| QRegion::const_reverse_iterator | crend () const |
| QRegion::const_iterator | end () const |
| QRegion::const_reverse_iterator | rbegin () const |
| QRegion::const_reverse_iterator | rend () const |
| bool | operator!= (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) |
| uint | qHash (const QRawFont & font , uint seed ) |
类 UniformBlock :
| bool | operator== (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) |
类 QShaderKey :
| uint | qHash (QPointingDeviceUniqueId key , uint seed ) |
| uint | qHash (const QRawFont & font , uint seed ) |
类 TouchPoint :
| qreal | rotation () const |
| QPointingDeviceUniqueId | uniqueId () const |
类 QTransform :
| uint | qHash (const QRawFont & font , uint seed ) |
类 QVector2D :
| bool | operator!= (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) |
| bool | operator== (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) |
类 QHostAddress :
| bool | isEqual (const QHostAddress & other , QHostAddress::ConversionMode mode ) const |
| QDebug | operator<< (QDebug debug , const QSslDiffieHellmanParameters & dhparam ) |
| QHostAddress & | operator= (QHostAddress::SpecialAddress address ) |
| void | setAddress (QHostAddress::SpecialAddress address ) |
| QNetworkReply * | sendCustomRequest (const QNetworkRequest & request , const QByteArray & verb , const QByteArray & data ) |
| QNetworkReply * | sendCustomRequest (const QNetworkRequest & request , const QByteArray & verb , QHttpMultiPart * multiPart ) |
| QDebug | operator<< (QDebug debug , const QSslDiffieHellmanParameters & dhparam ) |
| bool | usesSystemConfiguration () |
类 QOcspResponse :
| bool | operator== (const QSslDiffieHellmanParameters & lhs , const QSslDiffieHellmanParameters & rhs ) |
| QSslDiffieHellmanParameters | diffieHellmanParameters () const |
| QByteArray | preSharedKeyIdentityHint () const |
| void | setDiffieHellmanParameters (const QSslDiffieHellmanParameters & dhparams ) |
| void | setPreSharedKeyIdentityHint (const QByteArray & hint ) |
类 QSslDiffieHellmanParameters :
| QDebug | operator<< (QDebug debug , const QSslDiffieHellmanParameters & dhparam ) |
| bool | operator== (const QSslDiffieHellmanParameters & lhs , const QSslDiffieHellmanParameters & rhs ) |
| uint | qHash (const QSslDiffieHellmanParameters & dhparam , uint seed ) |
类 QSslPreSharedKeyAuthenticator :
| bool | operator== (const QSslDiffieHellmanParameters & lhs , const QSslDiffieHellmanParameters & rhs ) |
类 QUdpSocket :
| QNetworkDatagram | receiveDatagram (qint64 maxSize ) |
| qint64 | writeDatagram (const QNetworkDatagram & datagram ) |
类 QJSEngine :
| QJSValue | newQMetaObject (const QMetaObject * metaObject ) |
| QJSValue | newQMetaObject () |
类 QJSValue :
| bool | isQMetaObject () const |
| const QMetaObject * | toQMetaObject () const |
类 QQmlEngine :
| void | exit (int retCode ) |
| int | qmlRegisterUncreatableMetaObject (const QMetaObject & staticMetaObject , const char * uri , int versionMajor , int versionMinor , const char * qmlName , const QString & reason ) |
类 QQuickWindow :
| QSGImageNode * | createImageNode () const |
| QSGNinePatchNode * | createNinePatchNode () const |
| QSGRectangleNode * | createRectangleNode () const |
| QSGRendererInterface * | rendererInterface () const |
| void | setSceneGraphBackend (QSGRendererInterface::GraphicsApi api ) |
| void | setSceneGraphBackend (const QString & backend ) |
类 QSGEngine :
| QSGImageNode * | createImageNode () const |
| QSGNinePatchNode * | createNinePatchNode () const |
| QSGRectangleNode * | createRectangleNode () const |
| QSGRendererInterface * | rendererInterface () const |
类 QQuickStyle :
| void | setFallbackStyle (const QString & style ) |
类 QSerialPort :
| void | errorOccurred (QSerialPort::SerialPortError error ) |
| QStringList | spellCheckLanguages () const |
类 QWebSocket :
| void | preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
类 QWebSocketServer :
| void | preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
类 QFormLayout :
| void | removeRow (int row ) |
| void | removeRow (QWidget * widget ) |
| void | removeRow (QLayout * layout ) |
| QFormLayout::TakeRowResult | takeRow (int row ) |
| QFormLayout::TakeRowResult | takeRow (QWidget * widget ) |
| QFormLayout::TakeRowResult | takeRow (QLayout * layout ) |
类 QMainWindow :
| void | tabifiedDockWidgetActivated (QDockWidget * dockWidget ) |
类 QUndoStack :
| void | resetClean () |
| QAndroidJniObject | androidContext () |
| qreal | convertVolume (qreal volume , QAudio::VolumeScale from , QAudio::VolumeScale to ) |
| QTouchDevice * | createTouchDevice (QTouchDevice::DeviceType devType ) |
| char * | toString ( std::nullptr_t ) |
| bool | operator!= (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) |
| bool | operator!= ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator!= (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator!= (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator!= ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator!= (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| QDebug | operator<< (QDebug debug , const QSslDiffieHellmanParameters & dhparam ) |
| bool | operator== (const QSslDiffieHellmanParameters & lhs , const QSslDiffieHellmanParameters & rhs ) |
| bool | operator== (QPointingDeviceUniqueId lhs , QPointingDeviceUniqueId rhs ) |
| bool | operator== ( std::nullptr_t , const QWeakPointer<T> & rhs ) |
| bool | operator== (const QWeakPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QSharedPointer<T> & rhs ) |
| bool | operator== (const QSharedPointer<T> & lhs , std::nullptr_t ) |
| bool | operator== ( std::nullptr_t , const QScopedPointer<T, Cleanup> & rhs ) |
| bool | operator== (const QScopedPointer<T, Cleanup> & lhs , std::nullptr_t ) |
| uint | qHash (const QSslDiffieHellmanParameters & dhparam , uint seed ) |
| uint | qHash (const QRawFont & font , uint seed ) |
| uint | qHash (QPointingDeviceUniqueId key , uint seed ) |
| uint | qHash (const QMultiHash<Key, T> & key , uint seed ) |
| uint | qHash (const QHash<Key, T> & key , uint seed ) |
| int | qmlRegisterUncreatableMetaObject (const QMetaObject & staticMetaObject , const char * uri , int versionMajor , int versionMinor , const char * qmlName , const QString & reason ) |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_ENUM_NS ( ... ) | |
| Q_ENUM_NS ( ... ) | |
| void | Q_FALLTHROUGH |
| void | Q_FALLTHROUGH |
| Q_FLAG_NS ( ... ) | |
| Q_FLAG_NS ( ... ) | |
| Q_NAMESPACE | |
| Q_NAMESPACE |
| enum | VolumeScale { LinearVolumeScale, CubicVolumeScale, LogarithmicVolumeScale, DecibelVolumeScale } |
| enum | DiscoveryMethod { NoMethod, ClassicMethod, LowEnergyMethod } |
| enum | ConversionModeFlag { ConvertV4MappedToIPv4, ConvertV4CompatToIPv4, ConvertUnspecifiedAddress, ConvertLocalHost, TolerantConversion, StrictConversion } |
| enum | LegendMarkerType { LegendMarkerTypeArea, LegendMarkerTypeBar, LegendMarkerTypePie, LegendMarkerTypeXY, LegendMarkerTypeBoxPlot, LegendMarkerTypeCandlestick } |
| enum | anonymous { NoContainer, NoString, NoInstruction, NoEvaluator } |
| typedef | QModbusDataUnitMap |
| typedef | QModbusDataUnitMap |
| typedef | const_iterator |
| typedef | const_reverse_iterator |
| typedef | ContainerId |
| typedef | EvaluatorId |
| typedef | InstructionId |
| typedef | StringId |
| delayed | |
| font.hintingPreference | |
| font.hintingPreference | |
| font.hintingPreference | |
| imageSource | |
| overwriteMode | |
| overwriteMode |
| binaryMessageReceived () |
| convertVolume () | |
| sendBinaryMessage () | |
| tryVerify () |