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 |
类 QLibraryInfo :
| QVersionNumber | version () |
类 QMetaEnum :
| bool | isScoped () const |
类 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 ) |
类 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 ) |
类 QSizeF :
| QSizeF | fromCGSize (CGSize size ) |
| CGSize | toCGSize () const |
类 QWaitCondition :
| void | notify_all () |
| void | notify_one () |
| Flags | flags () const |
| void | setFlags (Flags flags ) |
类 QDateTime :
| qint64 | currentSecsSinceEpoch () |
| QDateTime | fromSecsSinceEpoch (qint64 secs , Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) |
| QDateTime | fromSecsSinceEpoch (qint64 secs , const QTimeZone & timeZone ) |
| void | setSecsSinceEpoch (qint64 secs ) |
| qint64 | toSecsSinceEpoch () const |
类 QLine :
| QPoint | center () const |
类 QLineF :
| QPointF | center () const |
类 QRect :
| CGRect | toCGRect () const |
类 QPoint :
| CGPoint | toCGPoint () const |
类 QPointF :
| QPointF | fromCGPoint (CGPoint point ) |
| CGPoint | toCGPoint () const |
类 QRectF :
| QRectF | fromCGRect (CGRect rect ) |
| CGRect | toCGRect () const |
类 QSize :
| CGSize | toCGSize () const |
类 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 |
类 QStringList :
| QString | join (QLatin1String separator ) const |
类 QStringRef :
| void | chop (int n ) |
| int | compare (const QByteArray & other , Qt::CaseSensitivity cs = Qt::CaseSensitive) const |
类 TouchPoint :
| qreal | rotation () const |
| QPointingDeviceUniqueId | uniqueId () const |
类 QOpenGLContext :
| QFunctionPointer | getProcAddress (const char * procName ) const |
类 QPlatformTheme :
| virtual QIcon | fileIcon (const QFileInfo & fileInfo , QPlatformTheme::IconOptions iconOptions = 0) const |
类 QColor :
| bool | isValidColor (QLatin1String name ) |
| void | setNamedColor (QLatin1String name ) |
类 QRegion :
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| const_reverse_iterator | crbegin () const |
| const_reverse_iterator | crend () const |
| const_iterator | end () const |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | rend () const |
类 QAbstractTextDocumentLayout :
| QTextFormat | formatAt (const QPointF & pos ) const |
| QString | imageAt (const QPointF & pos ) const |
类 QFontMetrics :
| int | capHeight () const |
类 QFontMetricsF :
| qreal | capHeight () const |
类 QRawFont :
| qreal | capHeight () const |
| QNetworkReply * | sendCustomRequest (const QNetworkRequest & request , const QByteArray & verb , const QByteArray & data ) |
| QNetworkReply * | sendCustomRequest (const QNetworkRequest & request , const QByteArray & verb , QHttpMultiPart * multiPart ) |
类 QHostAddress :
| bool | isEqual (const QHostAddress & other , ConversionMode mode = TolerantConversion) const |
| QHostAddress & | operator= (SpecialAddress address ) |
| void | setAddress (SpecialAddress address ) |
| bool | usesSystemConfiguration () |
| QSslDiffieHellmanParameters | diffieHellmanParameters () const |
| QByteArray | preSharedKeyIdentityHint () const |
| void | setDiffieHellmanParameters (const QSslDiffieHellmanParameters & dhparams ) |
| void | setPreSharedKeyIdentityHint (const QByteArray & hint ) |
类 QFormLayout :
| void | removeRow (int row ) |
| void | removeRow (QWidget * widget ) |
| void | removeRow (QLayout * layout ) |
| TakeRowResult | takeRow (int row ) |
| TakeRowResult | takeRow (QWidget * widget ) |
| TakeRowResult | takeRow (QLayout * layout ) |
类 QUndoStack :
| void | resetClean () |
类 QMainWindow :
| void | tabifiedDockWidgetActivated (QDockWidget * dockWidget ) |
类 QBluetoothDeviceDiscoveryAgent :
| int | lowEnergyDiscoveryTimeout () const |
| void | setLowEnergyDiscoveryTimeout (int timeout ) |
| void | start (DiscoveryMethods methods ) |
| DiscoveryMethods | supportedDiscoveryMethods () |
| QBluetoothUuid | remoteDeviceUuid () const |
类 QJSEngine :
| QJSValue | newQMetaObject (const QMetaObject * metaObject ) |
| QJSValue | newQMetaObject () |
类 QJSValue :
| bool | isQMetaObject () const |
| const QMetaObject * | toQMetaObject () const |
类 QQmlEngine :
| void | exit (int retCode ) |
类 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 |
| QString | misspelledWord () const |
| QStringList | spellCheckerSuggestions () const |
| DownloadType | type () const |
| bool | isSpellCheckEnabled () const |
| void | setSpellCheckEnabled (bool enable ) |
| void | setSpellCheckLanguages (const QStringList & languages ) |
| QStringList | spellCheckLanguages () const |
类 QWebEnginePage :
| void | print (QPrinter * printer , FunctorOrLambda resultCallback ) |
| void | replaceMisspelledWord (const QString & replacement ) |
| void | save (const QString & filePath , QWebEngineDownloadItem::SavePageFormat format = QWebEngineDownloadItem::MimeHtmlSaveFormat) const |
类 QWebSocket :
| void | preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
类 QWebSocketServer :
| void | preSharedKeyAuthenticationRequired (QSslPreSharedKeyAuthenticator * authenticator ) |
| QAndroidJniObject | androidContext () |
| qreal | convertVolume (qreal volume , VolumeScale from , VolumeScale to ) |
| QTouchDevice * | createTouchDevice (QTouchDevice::DeviceType devType = QTouchDevice::TouchScreen) |
| 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 = 0) |
| uint | qHash (const QRawFont & font , uint seed = 0) |
| uint | qHash (QPointingDeviceUniqueId key , uint seed = 0) |
| uint | qHash (const QMultiHash<Key, T> & key , uint seed = 0) |
| uint | qHash (const QHash<Key, T> & key , uint seed = 0) |
| int | qmlRegisterUncreatableMetaObject (const QMetaObject & staticMetaObject , const char * uri , int versionMajor , int versionMinor , const char * qmlName , const QString & reason ) |
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_ENUM_NS ( ... ) | |
| void | Q_FALLTHROUGH () |
| Q_FLAG_NS ( ... ) | |
| Q_NAMESPACE |
| enum | VolumeScale { LinearVolumeScale, CubicVolumeScale, LogarithmicVolumeScale, DecibelVolumeScale } |
| enum | DiscoveryMethod { NoMethod, ClassicMethod, LowEnergyMethod } |
| enum | ConversionModeFlag { StrictConversion, ConvertV4MappedToIPv4, ConvertV4CompatToIPv4, ConvertLocalHost, ConvertUnspecifiedAddress, TolerantConversion } |
| enum | LegendMarkerType { LegendMarkerTypeArea, LegendMarkerTypeBar, LegendMarkerTypePie, LegendMarkerTypeXY, LegendMarkerTypeBoxPlot, LegendMarkerTypeCandlestick } |
| enum | DownloadType { Attachment, DownloadAttribute, UserRequested, SavePage } |
| 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 (QString message ) |
| callLater ( function , argument1 , argument2 , ... ) | |
| callLater ( function ) | |
| real | convertVolume (real volume , VolumeScale from , VolumeScale to ) |
| tryVerify ( function , timeout = 5000, message = "") | |
| void | sendBinaryMessage (ArrayBuffer message ) |