此页面包含 Qt 5.4 引入的所有新类和函数的综合列表。在此页面底部可以找到之前 Qt 5 发行的新 API 链接。
类 QSysInfo :
| QString | buildAbi () |
| QString | buildCpuArchitecture () |
| QString | currentCpuArchitecture () |
| QString | kernelType () |
| QString | kernelVersion () |
| QString | prettyProductName () |
| QString | productType () |
| QString | productVersion () |
类 QDebug :
| QDebug & | maybeQuote (char c = '"') |
| QDebug & | noquote () |
| QDebug & | quote () |
| QDebug & | resetFormat () |
类 QUrl :
| QUrl | fromUserInput (const QString & userInput , const QString & workingDirectory , UserInputResolutionOptions options = DefaultResolution) |
| 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 ) |
类 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 ) |
| void | targetStateChanged () |
| void | targetStatesChanged () |
类 QAbstractState :
| void | activeChanged (bool active ) |
类 QHistoryState :
| void | defaultStateChanged () |
| void | historyTypeChanged () |
| void | senderObjectChanged () |
| void | signalChanged () |
类 QState :
| void | childModeChanged () |
| void | errorStateChanged () |
| void | initialStateChanged () |
类 QStateMachine :
| void | runningChanged (bool running ) |
类 QByteArray :
| QByteArray | fromStdString (const std::string & str ) |
| std::string | toStdString () const |
| bool | addOptions (const QList<QCommandLineOption> & options ) |
| void | showVersion () |
| void | optimize () const |
类 QWeakPointer :
| QSharedPointer<T> | lock () const |
| void | swap (QWeakPointer<T> & other ) |
| QSharedPointer<T> | sharedFromThis () |
| QSharedPointer<const T> | sharedFromThis () const |
类 QStringList :
| QStringList & | operator<< (const QList<QString> & other ) |
| QStringList & | operator= (const QList<QString> & other ) |
| QStringList & | operator= (QList<QString> && other ) |
类 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 |
类 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 |
类 QVector :
| int | removeAll (const T & t ) |
| bool | removeOne (const T & t ) |
类 QImageReader :
| QByteArray | subType () const |
| QList<QByteArray> | supportedSubTypes () const |
类 QImageWriter :
| void | setSubType (const QByteArray & type ) |
| QByteArray | subType () const |
| QList<QByteArray> | supportedSubTypes () const |
类 QGuiApplication :
| void | paletteChanged (const QPalette & palette ) |
| void | screenRemoved (QScreen * screen ) |
类 QOpenGLContext :
| QVariant | nativeHandle () const |
| void | setNativeHandle (const QVariant & handle ) |
类 QPlatformDrag :
| virtual bool | ownsDragObject () const |
类 QPlatformWindow :
| QPlatformScreen * | screenForGeometry (const QRect & newGeometry ) const |
类 QSurfaceFormat :
| QSurfaceFormat | defaultFormat () |
| void | setDefaultFormat (const QSurfaceFormat & format ) |
类 QOpenGLTexture :
| DepthStencilMode | depthStencilMode () const |
| void | setDepthStencilMode (DepthStencilMode mode ) |
| Target | target () const |
类 QSslCertificate :
| bool | importPkcs12 (QIODevice * device , QSslKey * key , QSslCertificate * certificate , QList<QSslCertificate> * caCertificates = Q_NULLPTR, const QByteArray & passPhrase = QByteArray()) |
| bool | isSelfSigned () const |
| QSsl::SslProtocol | sessionProtocol () const |
类 QSslSocket :
| QSsl::SslProtocol | sessionProtocol () const |
| long | sslLibraryBuildVersionNumber () |
| QString | sslLibraryBuildVersionString () |
类 QPrinterInfo :
| QPrinter::DuplexMode | defaultDuplexMode () const |
| QList<QPrinter::DuplexMode> | supportedDuplexModes () const |
| Qt::MouseEventFlags | flags () const |
| Qt::MouseEventSource | source () const |
| QBluetoothDeviceInfo::CoreConfigurations | coreConfigurations () const |
| void | setCoreConfigurations (QBluetoothDeviceInfo::CoreConfigurations coreConfigs ) |
| void | error (QBluetoothTransferReply::TransferError errorType ) |
类 QBluetoothUuid :
| QString | characteristicToString (CharacteristicType uuid ) |
| QString | descriptorToString (DescriptorType uuid ) |
| QString | protocolToString (ProtocolUuid uuid ) |
类 QQuickWindow :
| void | scheduleRenderJob (QRunnable * job , RenderStage stage ) |
| bool | ownsTexture () const |
| void | setOwnsTexture (bool owns ) |
| int | mapPlanes (MapMode mode , int * numBytes , int[4] bytesPerLine , uchar *[4] data ) |
类 QVideoFrame :
| uchar * | bits (int plane ) |
| const uchar * | bits (int plane ) const |
| int | bytesPerLine (int plane ) const |
| int | planeCount () const |
类 QX11Info :
| QByteArray | nextStartupId () |
| void | setNextStartupId (const QByteArray & id ) |
| void | iconicLivePreviewPixmapRequested () |
| void | iconicThumbnailPixmapRequested () |
类 QXmlSchema :
| QXmlSchema & | operator= (const QXmlSchema & other ) |
| QFuture<T> | run (QThreadPool * pool , Function function , ... ) |
| 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 ) |
| Q_LOGGING_CATEGORY ( name , string , msgType ) | |
| const char * | qUtf8Printable (const QString & str ) |
| enum | CoreConfiguration { UnknownCoreConfiguration, BaseRateCoreConfiguration, BaseRateAndLowEnergyCoreConfiguration, LowEnergyCoreConfiguration } |
| enum | CharacteristicType { AerobicHeartRateLowerLimit, AerobicHeartRateUpperLimit, AerobicThreshold, Age, ..., WindChill } |
| enum | DescriptorType { CharacteristicExtendedProperties, CharacteristicUserDescription, ClientCharacteristicConfiguration, ServerCharacteristicConfiguration, ..., UnknownDescriptorType } |
| enum | DepthStencilMode { DepthMode, StencilMode } |
| enum | RenderStage { BeforeSynchronizingStage, AfterSynchronizingStage, BeforeRenderingStage, AfterRenderingStage, AfterSwapStage, NoStage } |
| enum | UserInputResolutionOption { DefaultResolution, AssumeLocalFile } |
| typedef | QLowEnergyHandle |
| typedef | const_iterator |
|
|
| iconicLivePreviewRequested () | |
| iconicThumbnailRequested () |
| QtObject | findChild ( parent , objectName ) |
| ensureVisible (int position ) |