This page contains a comprehensive list of all new classes and functions introduced in Qt 5.12. Links to new APIs in previous Qt 5 releases are found at the bottom of this page.
| namespace | QMqtt |
| QByteArray | manufacturerData (quint16 manufacturerId ) const |
| QHash<quint16, QByteArray> | manufacturerData () const |
| QVector<quint16> | manufacturerIds () const |
| bool | setManufacturerData (quint16 manufacturerId , const QByteArray & data ) |
类 QByteArray :
| int | compare (const char * c , Qt::CaseSensitivity cs ) const |
| int | compare (const QByteArray & a , Qt::CaseSensitivity cs ) const |
| bool | isLower () const |
| bool | isUpper () const |
| int | hashLength (QCryptographicHash::Algorithm method ) |
类 QExplicitlySharedDataPointer :
| T * | take () |
类 QMetaEnum :
| const char * | enumName () const |
类 QMetaEnumBuilder :
| QByteArray | enumName () const |
| void | setEnumName (const QByteArray & alias ) |
| QString | anchoredPattern (const QString & 表达式 ) |
| QString | wildcardToRegularExpression (const QString & pattern ) |
| void | setFilterRegularExpression (const QString & pattern ) |
类 QString :
| int | compare (QStringView s , Qt::CaseSensitivity cs ) const |
| bool | isLower () const |
| bool | isUpper () const |
类 QStringList :
| bool | contains (QStringView str , Qt::CaseSensitivity cs ) const |
类 QStringView :
| int | compare (QStringView str , Qt::CaseSensitivity cs ) const |
类 QTextStream :
| QTextStream & | operator<< (QStringView string ) |
类 QTimer :
| QMetaObject::Connection | callOnTimeout (Functor slot , Qt::ConnectionType connectionType ) |
| QMetaObject::Connection | callOnTimeout (const QObject * context , Functor slot , Qt::ConnectionType connectionType ) |
| QMetaObject::Connection | callOnTimeout (const QObject * receiver , MemberFunction * slot , Qt::ConnectionType connectionType ) |
类 QWaitCondition :
| bool | wait (QMutex * lockedMutex , QDeadlineTimer deadline ) |
| bool | wait (QReadWriteLock * lockedReadWriteLock , QDeadlineTimer deadline ) |
类 QDBusMessage :
| bool | isInteractiveAuthorizationAllowed () const |
| void | setInteractiveAuthorizationAllowed (bool enable ) |
类 QBitmap :
| QBitmap | fromImage (QImage && image , Qt::ImageConversionFlags flags ) |
类 QIcon :
| QString | fallbackThemeName () |
| void | setFallbackThemeName (const QString & name ) |
类 QImageReader :
| QList<QByteArray> | imageFormatsForMimeType (const QByteArray & mimeType ) |
类 QImageWriter :
| QList<QByteArray> | imageFormatsForMimeType (const QByteArray & mimeType ) |
类 QPainter :
| void | fillRect (int x , int y , int width , int height , QGradient::Preset preset ) |
| void | fillRect (const QRect & rectangle , QGradient::Preset preset ) |
| void | fillRect (const QRectF & rectangle , QGradient::Preset preset ) |
类 QPalette :
| const QBrush & | placeholderText () const |
类 QStandardItem :
| void | clearData () |
| bool | clearItemData (const QModelIndex & index ) |
类 QTextBlockFormat :
| int | headingLevel () const |
| void | setHeadingLevel (int level ) |
类 QTextImageFormat :
| int | quality () const |
| void | setQuality (int quality ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
类 QKnxAddress :
| quint8 | mainOrAreaSection () const |
| quint8 | middleOrLineSection () const |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| quint16 | subOrDeviceSection (QKnxAddress::Notation notation ) const |
类 QKnxByteArray :
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
类 QKnxControlField :
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| QKnxAddress | individualAddress () const |
| bool | isExtended () const |
类 Builder :
| Builder & | setIndividualAddress (const QKnxAddress & address ) |
类 QKnxNetIpEndpointConnection :
| void | connectToHost (const QHostAddress & address , quint16 port , QKnxNetIp::HostProtocol protocol ) |
类 QKnxNetIpFrame :
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
类 QKnxNetIpRoutingIndicationProxy :
| QKnxLinkLayerFrame | cemi () const |
类 Builder :
| Builder & | setCemi (const QKnxLinkLayerFrame & cemi ) |
类 QKnxNetIpSearchRequestProxy :
| QKnxNetIpSearchRequestProxy::ExtendedBuilder | extendedBuilder () |
| QVector<QKnxNetIpSrp> | extendedSearchParameters () const |
| bool | isExtended () const |
类 QKnxNetIpSearchResponseProxy :
| QKnxNetIpSearchResponseProxy::ExtendedBuilder | extendedBuilder () |
| bool | isExtended () const |
| QVector<QKnxNetIpDib> | optionalDibs () const |
| QVector<QKnxNetIpDib> | variableDibs () const |
类 QKnxNetIpServerDiscoveryAgent :
| QKnxNetIpServerDiscoveryAgent::DiscoveryModes | discoveryMode () const |
| QVector<QKnxNetIpSrp> | extendedSearchParameters () const |
| void | setDiscoveryMode (QKnxNetIpServerDiscoveryAgent::DiscoveryModes mode ) |
| void | setExtendedSearchParameters (const QVector<QKnxNetIpSrp> & srps ) |
| QKnxNetIpDib | extendedHardware () const |
| quint16 | maskVersion () const |
| quint16 | maximumLocalApduLength () const |
| QKnx::MediumStatus | mediumStatus () const |
| QKnxNetIpDib | tunnelingInfo () const |
| QVector<QKnxNetIpTunnelingSlotInfo> | tunnelingSlotInfos () const |
| typename std::enable_if<is_type<T, QKnxNetIp::SearchParameterType>::value, bool>::type | isMandatory () const |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| typename std::enable_if<is_type<T, QKnxNetIp::SearchParameterType>::value, void>::type | setMandatory (bool value ) |
类 QKnxNetIpStruct :
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
类 QKnxNetIpTunnel :
| bool | sendTunnelingFeatureGet (QKnx::InterfaceFeature feature ) |
| bool | sendTunnelingFeatureSet (QKnx::InterfaceFeature feature , const QKnxByteArray & value ) |
| void | tunnelingFeatureInfoReceived (QKnx::InterfaceFeature feature , QKnxByteArray value ) |
| void | tunnelingFeatureResponseReceived (QKnx::InterfaceFeature feature , QKnx::ReturnCode code , QKnxByteArray value ) |
类 QKnxTpdu :
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
类 QGeoRoute :
| QList<QGeoRouteLeg> | routeLegs () const |
| void | setRouteLegs (const QList<QGeoRouteLeg> & legs ) |
类 QGeoRouteSegment :
| bool | isLegLastSegment () const |
类 QGeoServiceProviderFactoryV3 :
| virtual void | setQmlEngine (QQmlEngine * engine ) |
类 QMqttClient :
| void | authenticate (const QMqttAuthenticationProperties & prop ) |
| void | authenticationFinished (const QMqttAuthenticationProperties & p ) |
| void | authenticationRequested (const QMqttAuthenticationProperties & p ) |
| QMqttConnectionProperties | connectionProperties () const |
| QMqttLastWillProperties | lastWillProperties () const |
| void | messageStatusChanged (qint32 id , QMqtt::MessageStatus s , const QMqttMessageStatusProperties & properties ) |
| qint32 | publish (const QMqttTopicName & topic , const QMqttPublishProperties & properties , const QByteArray & message , quint8 qos , bool retain ) |
| QMqttServerConnectionProperties | serverConnectionProperties () const |
| void | setConnectionProperties (const QMqttConnectionProperties & prop ) |
| void | setLastWillProperties (const QMqttLastWillProperties & prop ) |
| QMqttSubscription * | subscribe (const QMqttTopicFilter & topic , const QMqttSubscriptionProperties & properties , quint8 qos ) |
| void | unsubscribe (const QMqttTopicFilter & topic , const QMqttUnsubscriptionProperties & properties ) |
类 QMqttMessage :
| QMqttPublishProperties | publishProperties () const |
| QMqttUserProperties | userProperties () const |
类 QMqttTopicFilter :
| QString | sharedSubscriptionName () const |
类 QSslCertificate :
| QString | issuerDisplayName () const |
| QString | subjectDisplayName () const |
| void | adapterStateChanged (QNearFieldManager::AdapterState state ) |
| bool | isSupported () const |
类 QNearFieldTarget :
| void | reportError (QNearFieldTarget::Error error , const QNearFieldTarget::RequestId & id ) |
类 QGeoPath :
| void | clearPath () |
类 QGeoPolygon :
| void | addHole (const QVariant & holePath ) |
| void | addHole (const QList<QGeoCoordinate> & holePath ) |
| const QVariantList | hole (int index ) const |
| const QList<QGeoCoordinate> | holePath (int index ) const |
| int | holesCount () const |
| void | removeHole (int index ) |
类 QJSEngine :
| QJSValue | importModule (const QString & fileName ) |
| QJSValue | newErrorObject (QJSValue::ErrorType errorType , const QString & message ) |
类 QJSValue :
| QJSValue::ErrorType | errorType () const |
类 QQmlComponent :
| QQmlEngine * | engine () const |
类 QQmlEngine :
| int | qmlTypeId (const char * uri , int versionMajor , int versionMinor , const char * qmlName ) |
| T | singletonInstance (int qmlTypeId ) |
类 QQuickStyle :
| void | addStylePath (const QString & path ) |
| QStringList | stylePathList () |
| void | addHostSideConnection (QIODevice * ioDevice ) |
| void | addClientSideConnection (QIODevice * ioDevice ) |
| void | registerExternalSchema (const QString & schema , QRemoteObjectNode::RemoteObjectSchemaHandler handler ) |
类 QCanBusDevice :
| void | clear (QCanBusDevice::Directions direction ) |
| QVector<QCanBusFrame> | readAllFrames () |
| void | addSocketDescriptor (int fd ) |
类 QWaylandSeat :
| void | sendKeyEvent (int qtKey , bool pressed ) |
类 QWebSocket :
| qint64 | bytesToWrite () const |
类 QWebSocketServer :
| qintptr | nativeDescriptor () const |
| bool | setNativeDescriptor (qintptr socketDescriptor ) |
类 QDoubleSpinBox :
| void | setStepType (QAbstractSpinBox::StepType stepType ) |
类 QLayout :
| int | indexOf (QLayoutItem * layoutItem ) const |
类 QLineEdit :
| void | inputRejected () |
类 QSpinBox :
| void | setStepType (QAbstractSpinBox::StepType stepType ) |
| QByteArray | deriveKeyPbkdf1 (QCryptographicHash::Algorithm algorithm , const QByteArray & data , const QByteArray & salt , int iterations , quint64 dkLen ) |
| QByteArray | deriveKeyPbkdf2 (QCryptographicHash::Algorithm algorithm , const QByteArray & data , const QByteArray & salt , int iterations , quint64 dkLen ) |
| bool | isInterfaceFeature (QKnx::InterfaceFeature feature ) |
| bool | isStructType (QKnx::NetIp::SearchParameterType type ) |
| char * | toString (const QCborError & c ) |
| char * | toString (const std::tuple<Types...> & tuple ) |
| QDebug | operator<< (QDebug debug , const QKnxNetIpStruct<QKnxNetIp::SearchParameterType> & srp ) |
| void | qFromBigEndian (const void * src , qsizetype count , void * dest ) |
| void | qFromLittleEndian (const void * src , qsizetype count , void * dest ) |
| void | qToBigEndian (const void * src , qsizetype count , void * dest ) |
| void | qToBigEndian (const void * src , qsizetype count , void * dest ) |
| void | qToLittleEndian (const void * src , qsizetype count , void * dest ) |
| void | qToLittleEndian (const void * src , qsizetype count , void * dest ) |
| int | qmlTypeId (const char * uri , int versionMajor , int versionMinor , const char * qmlName ) |
| QT_TRANSLATE_N_NOOP ( context , sourceText ) | |
| QT_TRANSLATE_N_NOOP ( context , sourceText ) | |
| QT_TRANSLATE_N_NOOP3 ( context , sourceText , comment ) | |
| QT_TRANSLATE_N_NOOP3 ( context , sourceText , comment ) | |
| QT_TR_N_NOOP ( sourceText ) | |
| QT_TR_N_NOOP ( sourceText ) |
| enum class | SearchParameterType { Unknown, Invalid, SelectByProgrammingMode, SelectByMACAddress, SelectByService, …, Reserved03 } |
| enum class | SecureSessionStatus { AuthenticationSuccess, AuthenticationFailed, Unauthenticated, Timeout, KeepAlive, …, Unknown } |
| enum class | Field { None, RSSI, ManufacturerData, All } |
| enum | Direction { Input, Output, AllDirections } |
| enum | HandshakeState { HandshakeNotStarted, HandshakeInProgress, PeerVerificationFailed, HandshakeComplete } |
| enum class | QDtlsError { NoError, InvalidInputParameters, InvalidOperation, UnderlyingSocketError, RemoteClosedConnectionError, …, TlsNonFatalError } |
| enum class | QDtlsError { NoError, InvalidInputParameters, InvalidOperation, UnderlyingSocketError, RemoteClosedConnectionError, …, TlsNonFatalError } |
| enum | Preset { WarmFlame, NightFade, SpringWarmth, JuicyPeach, YoungPassion, …, NumPresets } |
| enum | ErrorType { NoError, GenericError, EvalError, RangeError, ReferenceError, …, URIError } |
| enum class | EmiType { Unknown, EMI1, EMI2, cEMI } |
| enum class | InterfaceFeature { Unknown, SupportedEmiType, HostDeviceDescriptorType0, BusConnectionStatus, KnxManufacturerCode, …, InterfaceFeatureInfoServiceEnable } |
| enum class | MediumStatus { Unknown, CommunicationPossible, CommunicationImpossible } |
| enum class | ReturnCode { Success, SuccessWithCrc, MemoryError, CommandInvalid, CommandImpossible, …, Error } |
| enum | DiscoveryMode { CoreV1, CoreV2 } |
| enum class | MessageStatus { Unknown, Published, Acknowledged, Received, Released, Completed } |
| enum class | PayloadFormatIndicator { Unspecified, UTF8Encoded } |
| enum class | ReasonCode { Success, SubscriptionQoSLevel0, SubscriptionQoSLevel1, SubscriptionQoSLevel2, NoMatchingSubscriber, …, WildCardSubscriptionsNotSupported } |
| enum class | AdapterState { Offline, TurningOn, Online, TurningOff } |
| typedef | RemoteObjectSchemaHandler |
|
|
| defaultLogLevel | |
| orientation | |
| sortCaseSensitive | |
| synchronousDrag | |
| visibleArea |
| finished () | |
| finished () |
| action () | |
| addSocketDescriptor () | |
| coordToMercator () | |
| 等于 () | |
| mercatorToCoord () | |
| polygon () | |
| sendKeyEvent () |