Qt 6.9 の新しいクラスと関数

このページでは、Qt 6.9 で導入されたすべての新しいクラスと関数の包括的なリストを掲載しています。

新しいクラス

新しいメンバー関数

クラスQAbstractHttpServer

(since 6.9) QHttpServerConfiguration configuration() const
(since 6.9) void setConfiguration(const QHttpServerConfiguration &config)

クラスQAbstractOAuth2

(since 6.9) void accessTokenAboutToExpire()
(since 6.9) void refreshTokens()
(since 6.9) void refreshTokensImplementation()
(since 6.9) void serverReportedErrorOccurred(const QString &error, const QString &errorDescription, const QUrl &uri)
(since 6.9) void setNetworkRequestModifier(const QAbstractOAuth2::ContextTypeForFunctor<Functor> *context, Functor &&callback)

クラスQAnyStringView

(since 6.9) QString arg(Args &&... args) const

クラスQBrush

(since 6.9) QBrush &operator=(QColor color)
(since 6.9) QBrush &operator=(Qt::BrushStyle style)
(since 6.9) QBrush &operator=(Qt::GlobalColor color)

クラスQByteArray

(since 6.9) QByteArray operator+(QByteArrayView lhs, const QByteArray &rhs)
(since 6.9) QByteArray operator+(const QByteArray &lhs, QByteArrayView rhs)

クラスQColorSpace

(since 6.9) QColorSpace::PrimaryPoints primaryPoints() const
(since 6.9) void setPrimaryPoints(const QColorSpace::PrimaryPoints &primaryPoints)

クラスQCommandLineParser

(since 6.9) void showMessageAndExit(QCommandLineParser::MessageType type, const QString &message, int exitCode)

クラスQDebug

(since 6.9) QDebug &operator<<(const std::tuple<Ts...> &tuple)
(since 6.9) QDebug operator<<(QDebug debug, T t)
(since 6.9) QDebug operator<<(QDebug debug, const std::array<T, N> &array)
(since 6.9) QDebug operator<<(QDebug debug, const std::multiset<Key, Compare, Alloc> &multiset)
(since 6.9) QDebug operator<<(QDebug debug, const std::set<Key, Compare, Alloc> &set)
(since 6.9) QDebug operator<<(QDebug debug, const std::unordered_map<Key, T, Hash, KeyEqual, Alloc> &map)
(since 6.9) QDebug operator<<(QDebug debug, const std::unordered_set<Key, Hash, KeyEqual, Alloc> &unordered_set)
(since 6.9) QByteArray toBytes(const T &object)

クラスQDockWidget

(since 6.9) void setDockLocation(Qt::DockWidgetArea area)

クラスQDomNodeList

(since 6.9) QDomNodeList::const_iterator begin() const
(since 6.9) QDomNodeList::const_iterator cbegin() const
(since 6.9) QDomNodeList::const_iterator cend() const
(since 6.9) QDomNodeList::const_iterator constBegin() const
(since 6.9) QDomNodeList::const_iterator constEnd() const
(since 6.9) QDomNodeList::const_reverse_iterator crbegin() const
(since 6.9) QDomNodeList::const_reverse_iterator crend() const
(since 6.9) QDomNodeList::const_iterator end() const
(since 6.9) QDomNodeList::const_reverse_iterator rbegin() const
(since 6.9) QDomNodeList::const_reverse_iterator rend() const

クラスQFile

(since 6.9) bool supportsMoveToTrash()

クラスQFontDatabase

(since 6.9) void addApplicationEmojiFontFamily(const QString &familyName)
(since 6.9) QStringList applicationEmojiFontFamilies()
(since 6.9) bool removeApplicationEmojiFontFamily(const QString &familyName)
(since 6.9) void setApplicationEmojiFontFamilies(const QStringList &familyNames)

クラスQFontInfo

(since 6.9) QList<QFontVariableAxis> variableAxes() const

クラスQHash

(since 6.9) QHash<Key, T>::TryEmplaceResult insertOrAssign(K &&key, Value &&value)
(since 6.9) QHash<Key, T>::TryEmplaceResult insertOrAssign(Key &&key, Value &&value)
(since 6.9) QHash<Key, T>::TryEmplaceResult insertOrAssign(const Key &key, Value &&value)
(since 6.9) std::pair<QHash<Key, T>::key_value_iterator, bool> insert_or_assign(K &&key, Value &&value)
(since 6.9) std::pair<QHash<Key, T>::key_value_iterator, bool> insert_or_assign(Key &&key, Value &&value)
(since 6.9) std::pair<QHash<Key, T>::key_value_iterator, bool> insert_or_assign(const Key &key, Value &&value)
(since 6.9) QHash<Key, T>::key_value_iterator insert_or_assign(QHash<Key, T>::const_iterator hint, K &&key, Value &&value)
(since 6.9) QHash<Key, T>::key_value_iterator insert_or_assign(QHash<Key, T>::const_iterator hint, Key &&key, Value &&value)
(since 6.9) QHash<Key, T>::key_value_iterator insert_or_assign(QHash<Key, T>::const_iterator hint, const Key &key, Value &&value)
(since 6.9) size_t qHash(T key, size_t seed)
(since 6.9) QHash<Key, T>::TryEmplaceResult tryEmplace(K &&key, Args &&... args)
(since 6.9) QHash<Key, T>::TryEmplaceResult tryEmplace(Key &&key, Args &&... args)
(since 6.9) QHash<Key, T>::TryEmplaceResult tryEmplace(const Key &key, Args &&... args)
(since 6.9) QHash<Key, T>::TryEmplaceResult tryInsert(K &&key, const T &value)
(since 6.9) QHash<Key, T>::TryEmplaceResult tryInsert(const Key &key, const T &value)
(since 6.9) std::pair<QHash<Key, T>::key_value_iterator, bool> try_emplace(K &&key, Args &&... args)
(since 6.9) std::pair<QHash<Key, T>::key_value_iterator, bool> try_emplace(Key &&key, Args &&... args)
(since 6.9) std::pair<QHash<Key, T>::key_value_iterator, bool> try_emplace(const Key &key, Args &&... args)
(since 6.9) QHash<Key, T>::key_value_iterator try_emplace(QHash<Key, T>::const_iterator hint, K &&key, Args &&... args)
(since 6.9) QHash<Key, T>::key_value_iterator try_emplace(QHash<Key, T>::const_iterator hint, Key &&key, Args &&... args)
(since 6.9) QHash<Key, T>::key_value_iterator try_emplace(QHash<Key, T>::const_iterator hint, const Key &key, Args &&... args)

クラスQHttp2Configuration

(since 6.9) unsigned int maxConcurrentStreams() const
(since 6.9) void setMaxConcurrentStreams(unsigned int value)

クラスQIODevice

(since 6.9) QByteArrayView readLineInto(QSpan<char> buffer)
(since 6.9) QByteArrayView readLineInto(QSpan<std::byte> buffer)
(since 6.9) QByteArrayView readLineInto(QSpan<uchar> buffer)
(since 6.9) bool readLineInto(QByteArray *line, qint64 maxSize)

クラスQImage

(since 6.9) void flip(Qt::Orientations orient)
(since 6.9) QImage flipped(Qt::Orientations orient) &&
(since 6.9) QImage flipped(Qt::Orientations orient) const &

クラスQJniArray

(since 6.9) QJniArray<T>::reference operator[](QJniArrayBase::size_type i)

クラスQJsonValue

(since 6.9) QJsonValue fromJson(QByteArrayView json, QJsonParseError *error)
(since 6.9) QByteArray toJson(QJsonValue::JsonFormat format) const

クラスQLatin1StringView

(since 6.9) QByteArray toUtf8() const

クラスQList

(since 6.9) auto operator<=>(const QList<T> &lhs, const QList<T> &rhs)

クラスQMediaMetaData

(since 6.9) QtPrivate::QtPrivate::QKeyValueRange<const QHash<Key, QVariant> &> asKeyValueRange() const

クラスQMetaEnum

(since 6.9) bool is64Bit() const
(since 6.9) std::optional<quint64> keyToValue64(const char *key) const
(since 6.9) std::optional<quint64> value64(int index) const

クラスQMetaMethod

(since 6.9) QByteArrayView nameView() const

クラスQOAuth2AuthorizationCodeFlow

(since 6.9) void refreshTokensImplementation()

クラスQOAuth2DeviceAuthorizationFlow

(since 6.9) void refreshTokensImplementation()

クラスQOAuthHttpServerReplyHandler

(since 6.9) QString callbackHost() const
(since 6.9) void setCallbackHost(const QString &host)

クラスQOAuthUriSchemeReplyHandler

(since 6.9) bool handleAuthorizationRedirect(const QUrl &url)

クラスQOpcUaAuthenticationInformation

(since 6.9) void setCertificateAuthentication(const QString &certificatePath, const QString &privateKeyPath)

クラスQPainter

(since 6.9) void setBrush(QColor color)
(since 6.9) void setBrush(Qt::GlobalColor color)

クラスQPdfWriter

(since 6.9) QString author() const
(since 6.9) void setAuthor(const QString &author)

クラスQPen

(since 6.9) QPen &operator=(QColor color)
(since 6.9) QPen &operator=(Qt::PenStyle style)

クラスQQuickWidget

(since 6.9) void loadFromModule(QAnyStringView uri, QAnyStringView typeName)
(since 6.9) void setInitialProperties(const QVariantMap &initialProperties)

クラスQRhi

(since 6.9) QRhiShadingRateMap *newShadingRateMap()
(since 6.9) void setQueueSubmitParams(QRhiNativeHandles *params)
(since 6.9) QList<QSize> supportedShadingRates(int sampleCount) const

クラスQRhiCommandBuffer

(since 6.9) void setShadingRate(const QSize &coarsePixelSize)

クラスQRhiSwapChain

(since 6.9) void setShadingRateMap(QRhiShadingRateMap *map)
(since 6.9) QRhiShadingRateMap *shadingRateMap() const

クラスQRhiTextureRenderTargetDescription

(since 6.9) void setShadingRateMap(QRhiShadingRateMap *map)
(since 6.9) QRhiShadingRateMap *shadingRateMap() const

クラスQSerialPort

(since 6.9) void settingsRestoredOnCloseChanged(bool restore)

クラスQShaderBaker

(since 6.9) void setGlslOptions(QShaderBaker::GlslOptions options)

クラスQSharedPointer

(since 6.9) QSharedPointer<X> constCast() &&
(since 6.9) QSharedPointer<X> dynamicCast() &&
(since 6.9) QSharedPointer<X> objectCast() &&
(since 6.9) QSharedPointer<X> qSharedPointerCast(QSharedPointer<T> &&other)
(since 6.9) QSharedPointer<X> qSharedPointerConstCast(QSharedPointer<T> &&src)
(since 6.9) QSharedPointer<X> qSharedPointerDynamicCast(QSharedPointer<T> &&src)
(since 6.9) QSharedPointer<X> qSharedPointerObjectCast(QSharedPointer<T> &&src)
(since 6.9) QSharedPointer<X> staticCast() &&

クラスQSortFilterProxyModel

(since 6.9) void beginFilterChange()

クラスQSpan

(since 6.9) void chop(QSpan<T, E>::size_type n)
(since 6.9) QSpan<T> chopped(QSpan<T, E>::size_type n) const
(since 6.9) void slice(QSpan<T, E>::size_type pos)
(since 6.9) void slice(QSpan<T, E>::size_type pos, QSpan<T, E>::size_type n)

クラスQSqlDriver

(since 6.9) QString connectionName() const

クラスQSqlQueryModel

(since 6.9) void refresh()

クラスQStackedLayout

(since 6.9) void widgetAdded(int index)

クラスQStackedWidget

(since 6.9) void widgetAdded(int index)

クラスQString

(since 6.9) QString operator+(QStringView lhs, const QString &rhs)
(since 6.9) QString operator+(const QString &lhs, QStringView rhs)
(since 6.9) QString &setUnicode(const char16_t *unicode, qsizetype size)
(since 6.9) QString &setUtf16(const char16_t *unicode, qsizetype size)

クラスQStringList

(since 6.9) QStringList filter(const QLatin1StringMatcher &matcher) const

クラスQThread

(since 6.9) QThread::QualityOfService serviceLevel() const
(since 6.9) void setServiceLevel(QThread::QualityOfService serviceLevel)

クラスQThreadPool

(since 6.9) QThread::QualityOfService serviceLevel() const
(since 6.9) void setServiceLevel(QThread::QualityOfService serviceLevel)

クラスQTimerEvent

(since 6.9) bool matches(const QBasicTimer &timer) const

クラスQUtf8StringView

(since 6.9) QString arg(Args &&... args) const

クラスQUuid

(since 6.9) QUuid createUuidV7()

クラスQWebEngineUrlRequestInfo

(since 6.9) bool isDownload() const

クラスQWindow

(since 6.9) QMargins safeAreaMargins() const
(since 6.9) void safeAreaMarginsChanged(QMargins margins)

クラスQXYSeries

(since 6.9) void pointsAdded(qsizetype start, qsizetype end)

新しいマクロ

(since 6.9) QCOMPARE_3WAY(lhs, rhs, order)
(since 6.9) Q_CONSTEXPR_DTOR
(since 6.9) Q_DECL_CONSTEXPR_DTOR
(since 6.9) Q_DECL_EQ_DELETE_X(reason)
(since 6.9) Q_DISABLE_COPY_MOVE_X(Class, reason)
(since 6.9) Q_DISABLE_COPY_X(Class, reason)
(since 6.9) Q_LIKELY_BRANCH
(since 6.9) Q_STATIC_LOGGING_CATEGORY(name, string, msgType)
(since 6.9) Q_STATIC_LOGGING_CATEGORY(name, string)
(since 6.9) Q_UNLIKELY_BRANCH

新しい列挙型

(since 6.9) enum class NonceMode { Automatic, Enabled, Disabled }
(since 6.9) enum class LabelDrawingMode { UseStyle, UseDelegate }
(since 6.9) enum class MessageType { Information, Error }
(since 6.9) enum class AccessLevelExBit { None, CurrentRead, CurrentWrite, HistoryRead, HistoryWrite, …, Constant }
(since 6.9) enum class QualityOfService { Auto, High, Eco }
(since 6.9) enum class TransparencyTechnique { Default, Approximate, Accurate }

新しい列挙型の値

新しい型のエイリアス

(since 6.9) const_iterator
(since 6.9) const_pointer
(since 6.9) const_reference
(since 6.9) const_reverse_iterator
(since 6.9) difference_type
(since 6.9) pointer
(since 6.9) reference
(since 6.9) value_type
(since 6.9) JsonFormat

新しいプロパティ

新しいQMLタイプ

新しいQMLプロパティ

QMLタイプAbstract3DAxis

(since 6.9) labelSize : real
(since 6.9) scaleLabelsByCount : bool

QML TypeAbstractAxis

(since 6.9) alignment : alignment

QML TypeApplicationWindow

(since 6.9) bottomPadding : real
(since 6.9) leftPadding : real
(since 6.9) rightPadding : real
(since 6.9) topPadding : real

QML TypeDebugSettings

(since 6.9) drawPointLightShadowBoxes : bool

QML TypeDirectionalLight

(since 6.9) lockShadowmapTexels : bool

QMLタイプDynamicRigidBody

(since 6.9) isSleeping : bool

QMLタイプFlickable

(since 6.9) acceptedButtons : flags

QMLタイプFontMetrics

(since 6.9) capitalHeight : real

QMLタイプGraphsItem3D

(since 6.9) maxCameraXRotation : real
(since 6.9) maxCameraYRotation : real
(since 6.9) minCameraXRotation : real
(since 6.9) minCameraYRotation : real
(since 6.9) rootNode : Node
(since 6.9) transparencyTechnique : Graphs3D.TransparencyTechnique

QMLタイプGraphsView

(since 6.9) plotArea : rect

QMLタイプLight

(since 6.9) use32BitShadowmap : bool

QMLタイプOrbitCameraController

(since 6.9) acceptedButtons : Qt::MouseButtons
(since 6.9) automaticClipping : bool

QMLタイプPath

(since 6.9) asynchronous : bool

QMLタイプRandomInstancing

(since 6.9) gridSpacing : vector3d

QMLタイプSceneEnvironment

(since 6.9) oitMethod : enumeration

QMLタイプValueAxis

(since 6.9) pan : real
(since 6.9) zoom : real

QMLタイプVideo

(since 6.9) endOfStreamPolicy : enumeration
(since 6.9) orientation : int

QMLタイプVideoOutput

(since 6.9) endOfStreamPolicy : enumeration
(since 6.9) mirrored : bool

QMLタイプXrInputAction

(since 6.9) enabled : bool

新しいQMLシグナル

(since 6.9) pointsAdded(int start, int end)
(since 6.9) textEdited()

新しいQMLメソッド

QML タイプVideo

(since 6.9) clearOutput()

QML型VideoOutput

(since 6.9) void clearOutput()

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.