4#define QT_CORE_BUILD_REMOVED_API
10#if QT_CORE_REMOVED_SINCE(6, 1)
27#if QT_CORE_REMOVED_SINCE(6, 2)
33 registerDependency_helper(
data);
38#if QT_CORE_REMOVED_SINCE(6, 3)
42# if QT_POINTER_SIZE != 4
72# ifndef QT_NO_DATASTREAM
77 return *
this >>
reinterpret_cast<qint16&
>(
f);
82 return *this << reinterpret_cast<qint16&>(
f);
121# if QT_POINTER_SIZE != 4
167 return toAce(domain, {});
172#if QT_CORE_REMOVED_SINCE(6, 4)
202 setObjectName<void>(
name);
207#if QT_CONFIG(settings)
281#if QT_CORE_REMOVED_SINCE(6, 5)
294#if QT_POINTER_SIZE != 4
310int QMetaType::idHelper()
const
313 return registerHelper(d_ptr);
316#if QT_CONFIG(sharedmemory)
319void QSharedMemory::setNativeKey(
const QString &
key)
321 setNativeKey(
key, QNativeIpcKey::legacyDefaultTypeForOs());
330#ifndef QT_NO_GEOM_VARIANT
345#if QT_CONFIG(xmlstreamreader)
350 : QXmlStreamReader(
data, PrivateConstructorTag{})
354QXmlStreamReader::QXmlStreamReader(
const QString &
data)
359QXmlStreamReader::QXmlStreamReader(
const char *
data)
373void QXmlStreamReader::addData(
const char *
data)
380#if QT_CONFIG(xmlstreamwriter)
397void QXmlStreamWriter::writeCDATA(
const QString &
text)
402void QXmlStreamWriter::writeCharacters(
const QString &
text)
407void QXmlStreamWriter::writeComment(
const QString &
text)
412void QXmlStreamWriter::writeDTD(
const QString &dtd)
417void QXmlStreamWriter::writeEmptyElement(
const QString &qualifiedName)
422void QXmlStreamWriter::writeEmptyElement(
const QString &namespaceUri,
const QString &
name)
428void QXmlStreamWriter::writeTextElement(
const QString &qualifiedName,
const QString &
text)
441void QXmlStreamWriter::writeEntityReference(
const QString &
name)
446void QXmlStreamWriter::writeNamespace(
const QString &namespaceUri,
const QString &prefix)
452void QXmlStreamWriter::writeDefaultNamespace(
const QString &namespaceUri)
463void QXmlStreamWriter::writeStartDocument(
const QString &version)
468void QXmlStreamWriter::writeStartDocument(
const QString &version,
bool standalone)
474void QXmlStreamWriter::writeStartElement(
const QString &qualifiedName)
479void QXmlStreamWriter::writeStartElement(
const QString &namespaceUri,
const QString &
name)
497#if QT_CORE_REMOVED_SINCE(6, 6)
535 return toUcs4_helper(
reinterpret_cast<const char16_t *
>(uc),
length,
536 reinterpret_cast<char32_t *
>(
out));
542bool QReadWriteLock::tryLockForRead()
544 return tryLockForRead(0);
547bool QReadWriteLock::tryLockForWrite()
549 return tryLockForWrite(0);
553#include "private/qthreadpool_p.h"
569 if (!
d->allThreads.isEmpty() &&
d->areAllThreadsActive())
573 if (
d->tryStart(runnable))
629#if QT_CORE_REMOVED_SINCE(6, 7)
635 return QBitArray(*this).inverted_inplace();
663 switch (QContainerImplHelper::mid(
size(), &
p, &l)) {
664 case QContainerImplHelper::Null:
666 case QContainerImplHelper::Empty:
668 return QByteArray(DataPointer::fromRawData(&_empty, 0));
670 case QContainerImplHelper::Full:
672 case QContainerImplHelper::Subset:
681{
return sliced(0,
n); }
683{
return sliced(
size() -
n,
n); }
689{
return sliced(0,
size() -
n); }
696 return std::as_const(*this).lastError();
729int QDataStream::readBlock(
char *
data,
int len)
744#if defined(Q_OS_ANDROID)
750 return QJniObject::loadClass(
className, env);
758void QJniObject::callVoidMethodV(JNIEnv *env, jmethodID
id, va_list
args)
const
760 env->CallVoidMethodV(javaObject(),
id,
args);
825 QList<void*> *
list, Qt::FindChildOptions options)
831 QList<void*> *
list, Qt::FindChildOptions options)
837 Qt::FindChildOptions options)
851 return invokeMethodImpl(
object, slot,
type, 1, &
ret,
nullptr,
nullptr);
858 if (
size_t(
n) >=
size_t(
size()))
865 if (
size_t(
n) >=
size_t(
size()))
875 switch (QContainerImplHelper::mid(
size(), &
p, &l)) {
876 case QContainerImplHelper::Null:
878 case QContainerImplHelper::Empty:
880 case QContainerImplHelper::Full:
882 case QContainerImplHelper::Subset:
885 Q_UNREACHABLE_RETURN(
QString());
930#if QT_CORE_REMOVED_SINCE(6, 8)
945 return (*
this <<
qint8(
i));
950bool QDir::operator==(
const QDir &
dir)
const
964bool QFileInfo::operator==(
const QFileInfo &fileinfo)
const
1029 using namespace std::chrono;
1030 using ratio = std::ratio_divide<std::milli, std::nano>;
1032 if (qMulOverflow<ratio::num>(
time.count(), &
r)) {
1033 qWarning(
"QObject::startTimer(std::chrono::milliseconds): "
1034 "'time' arg overflowed when converted to nanoseconds.");
1035 r = nanoseconds::max().count();
1040#if QT_CONFIG(processenvironment)
1049#if QT_CONFIG(regularexpression)
1088#if QT_CONFIG(future)
1104#if QT_CONFIG(thread)
1110bool QUrl::operator<(
const QUrl &
url)
const
1115bool QUrl::operator==(
const QUrl &
url)
const
1120bool QUrl::operator!=(
const QUrl &
url)
const
T loadRelaxed() const noexcept
friend QBitArray operator~(QBitArray a)
Returns a bit array that contains the inverted bits of the bit array a.
Q_WEAK_OVERLOAD qsizetype indexIn(const QByteArray &ba, qsizetype from=0) const
QByteArray left(qsizetype n) const &
QByteArray right(qsizetype n) const &
QByteArray sliced(qsizetype pos) const &
QByteArray chopped(qsizetype len) const &
QByteArray last(qsizetype n) const &
QByteArray first(qsizetype n) const &
QByteArray mid(qsizetype index, qsizetype len=-1) const &
The QCalendar class describes calendar systems.
QCborError lastError() const
Returns the last error in decoding the stream, if any.
static QByteArray hash(QByteArrayView data, Algorithm method)
Returns the hash of data using method.
void addData(QByteArrayView data) noexcept
Adds the characters in bytes to the cryptographic hash.
\inmodule QtCore\reentrant
qint64 readRawData(char *, qint64 len)
Reads at most len bytes from the stream into s and returns the number of bytes read.
Q_CORE_EXPORT friend QDataStream & operator>>(QDataStream &in, QString &str)
qint64 skipRawData(qint64 len)
qint64 writeRawData(const char *, qint64 len)
Writes len bytes from s to the stream.
QDataStream & writeBytes(const char *, qint64 len)
Writes the length specifier len and the buffer s to the stream and returns a reference to the stream.
Q_CORE_EXPORT friend QDataStream & operator<<(QDataStream &out, const QString &str)
\inmodule QtCore\reentrant
void setDate(QDate date, TransitionResolution resolve=TransitionResolution::LegacyBehavior)
Sets the date part of this datetime to date.
void setTimeZone(const QTimeZone &toZone, TransitionResolution resolve=TransitionResolution::LegacyBehavior)
QTime time() const
Returns the time part of the datetime.
QDateTime() noexcept
Constructs a null datetime, nominally using local time.
friend Q_CORE_EXPORT Qt::weak_ordering compareThreeWay(const QDateTime &lhs, const QDateTime &rhs)
void setTime(QTime time, TransitionResolution resolve=TransitionResolution::LegacyBehavior)
Sets the time part of this datetime to time.
QDate date() const
Returns the date part of the datetime.
\inmodule QtCore \reentrant
QString operator[](qsizetype) const
Returns the file name at position pos in the list of file names.
qsizetype count(QT6_DECL_NEW_OVERLOAD) const
Returns the total number of directories and files in the directory.
friend Q_CORE_EXPORT bool comparesEqual(const QDir &lhs, const QDir &rhs)
friend Q_CORE_EXPORT bool comparesEqual(const QEasingCurve &lhs, const QEasingCurve &rhs) noexcept
friend Q_CORE_EXPORT bool comparesEqual(const QFileInfo &lhs, const QFileInfo &rhs)
\inmodule QtCore\reentrant
friend Q_CORE_EXPORT bool comparesEqual(const QJsonArray &lhs, const QJsonArray &rhs) noexcept
\inmodule QtCore\reentrant
friend Q_CORE_EXPORT bool comparesEqual(const QJsonDocument &lhs, const QJsonDocument &rhs) noexcept
\inmodule QtCore\reentrant
friend Q_CORE_EXPORT bool comparesEqual(const QJsonObject &lhs, const QJsonObject &rhs) noexcept
\inmodule QtCore\reentrant
friend Q_CORE_EXPORT bool comparesEqual(const QJsonValue &lhs, const QJsonValue &rhs) noexcept
\inmodule QtCore\compares equality \compareswith equality QLine \endcompareswith
\inmodule QtCore\compares equality \compareswith equality QLineF \endcompareswith
static QString languageToCode(Language language, LanguageCodeTypes codeTypes=AnyLanguageCode)
Returns the two- or three-letter language code for language, as defined in the ISO 639 standards.
QString dateTimeFormat(FormatType format=LongFormat) const
QString dateFormat(FormatType format=LongFormat) const
static constexpr int DefaultTwoDigitBaseYear
QString bcp47Name(TagSeparator separator=TagSeparator::Dash) const
Returns the BCP47 field names joined with dashes.
QStringList uiLanguages(TagSeparator separator=TagSeparator::Dash) const
List of locale names for use in selecting translations.
QString name(TagSeparator separator=TagSeparator::Underscore) const
The short name of this locale.
static Language codeToLanguage(QStringView languageCode, LanguageCodeTypes codeTypes=AnyLanguageCode) noexcept
Returns the QLocale::Language enum corresponding to the two- or three-letter languageCode,...
void setKey(QByteArrayView key) noexcept
Sets secret key.
void addData(const char *data, qsizetype length)
This is an overloaded member function, provided for convenience. It differs from the above function o...
static QByteArray hash(QByteArrayView message, QByteArrayView key, QCryptographicHash::Algorithm method)
Returns the authentication code for the message message using the key key and the method method.
QMessageAuthenticationCode(QCryptographicHash::Algorithm method, QByteArrayView key={})
friend Q_CORE_EXPORT bool comparesEqual(const QMimeType &lhs, const QMimeType &rhs) noexcept
int startTimer(int interval, Qt::TimerType timerType=Qt::CoarseTimer)
This is an overloaded function that will start a timer of type timerType and a timeout of interval mi...
bool moveToThread(QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL)
Changes the thread affinity for this object and its children and returns true on success.
Q_WEAK_OVERLOAD void setObjectName(const QString &name)
Sets the object's name to name.
static Q_CORE_EXPORT QOperatingSystemVersionBase current()
static Q_CORE_EXPORT int compare(QOperatingSystemVersionBase v1, QOperatingSystemVersionBase v2) noexcept
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
friend Q_CORE_EXPORT bool comparesEqual(const QProcessEnvironment &lhs, const QProcessEnvironment &rhs)
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
QStringView capturedView(int nth=0) const
qsizetype capturedEnd(int nth=0) const
Returns the offset inside the subject string immediately after the ending position of the substring c...
bool hasCaptured(QAnyStringView name) const
qsizetype capturedStart(int nth=0) const
Returns the offset inside the subject string corresponding to the starting position of the substring ...
qsizetype capturedLength(int nth=0) const
Returns the length of the substring captured by the nth capturing group.
QString captured(int nth=0) const
Returns the substring captured by the nth capturing group.
\inmodule QtCore \reentrant
friend Q_CORE_EXPORT bool comparesEqual(const QRegularExpression &lhs, const QRegularExpression &rhs) noexcept
static QRunnable * create(Callable &&functionToRun)
void beginWriteArray(QAnyStringView prefix, int size=-1)
Adds prefix to the current group and starts writing an array of size size.
bool contains(QAnyStringView key) const
Returns true if there exists a setting called key; returns false otherwise.
void setValue(QAnyStringView key, const QVariant &value)
Sets the value of setting key to value.
void remove(QAnyStringView key)
Removes the setting key and any sub-settings of key.
QVariant value(QAnyStringView key, const QVariant &defaultValue) const
Returns the value for setting key.
int beginReadArray(QAnyStringView prefix)
Adds prefix to the current group and starts reading from an array.
void beginGroup(QAnyStringView prefix)
Appends prefix to the current group.
Q_CORE_EXPORT qsizetype indexOfIn(const char *needle, size_t nlen, const char *haystack, qsizetype hlen, qsizetype from) const noexcept
\macro QT_RESTRICTED_CAST_FROM_ASCII
QString left(qsizetype n) const &
iterator begin()
Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first character in the string.
QString sliced(qsizetype pos) const &
QString chopped(qsizetype n) const &
QString mid(qsizetype position, qsizetype n=-1) const &
const QChar * constData() const
Returns a pointer to the data stored in the QString.
qsizetype size() const noexcept
Returns the number of characters in this string.
constexpr QString() noexcept
Constructs a null string.
QString first(qsizetype n) const &
QString right(qsizetype n) const &
QString last(qsizetype n) const &
void start(QRunnable *runnable, int priority=0)
Reserves a thread and uses it to run runnable, unless this thread will make the current thread count ...
void startOnReservedThread(QRunnable *runnable)
Releases a thread previously reserved with reserveThread() and uses it to run runnable.
bool tryStart(QRunnable *runnable)
Attempts to reserve a thread to run runnable.
void releaseThread()
Releases a thread previously reserved by a call to reserveThread().
friend Q_CORE_EXPORT bool comparesEqual(const QTimeZone &lhs, const QTimeZone &rhs) noexcept
\inmodule QtCore \reentrant
static QByteArray toAce(const QString &domain, AceProcessingOptions options={})
static QString fromAce(const QByteArray &domain, AceProcessingOptions options={})
static QUrl fromEncoded(QByteArrayView input, ParsingMode mode=TolerantMode)
Parses input and returns the corresponding QUrl.
static QUuid fromRfc4122(QByteArrayView) noexcept
Creates a QUuid object from the binary representation of the UUID, as specified by RFC 4122 section 4...
static QUuid fromString(QAnyStringView string) noexcept
constexpr QUuid() noexcept
Creates the null UUID.
QVariant() noexcept
Constructs an invalid variant.
static Q_CORE_EXPORT QVersionNumber fromString(QAnyStringView string, qsizetype *suffixIndex=nullptr)
friend bool comparesEqual(const ResultIteratorBase &lhs, const ResultIteratorBase &rhs) noexcept
\keyword 16-bit Floating Point Support\inmodule QtCore \inheaderfile QFloat16
QHash< int, QWidget * > hash
[35multi]
QByteArray Q_CORE_EXPORT QByteArrayList_join(const QByteArrayList *that, const char *sep, qsizetype len)
QAnyStringView qToAnyStringViewIgnoringNull(const QStringLike &s) noexcept
static void writeAttribute(QXmlStreamWriter *stream, const QVariant &attribute)
QByteArrayView qToByteArrayViewIgnoringNull(const QByteArrayLike &b) noexcept
#define QT_WARNING_DISABLE_DEPRECATED
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char * method
bool comparesEqual(const QDir &lhs, const QDir &rhs)
typedef QByteArray(EGLAPIENTRYP PFNQGSGETDISPLAYSPROC)()
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
size_t qHash(const QFileSystemWatcherPathKey &key, size_t seed=0)
size_t qHashBits(const void *p, size_t size, size_t seed) noexcept
static QLocale::Language codeToLanguage(QStringView s)
void qt_qFindChildren_helper(const QObject *parent, QAnyStringView name, const QMetaObject &mo, QList< void * > *list, Qt::FindChildOptions options)
QObject * qt_qFindChild_helper(const QObject *parent, QAnyStringView name, const QMetaObject &mo, Qt::FindChildOptions options)
GLint GLfloat GLfloat GLfloat v2
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLenum GLuint GLenum GLsizei length
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLint GLsizei GLsizei GLenum format
GLfloat GLfloat GLfloat GLfloat h
GLenum GLenum GLenum input
static bool fromString(const QMetaObject *mo, QString s, Allocate &&allocate)
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
static constexpr QChar sep
static ISC_DATE toDate(QDate t)
bool qputenv(const char *varName, QByteArrayView raw)
#define QT6_CALL_NEW_OVERLOAD
QT_BEGIN_NAMESPACE typedef signed char qint8
Qt::weak_ordering compareThreeWay(const QUrl &lhs, const QUrl &rhs)
const char className[16]
[1]
QTextStream out(stdout)
[7]
QUrl url("example.com")
[constructor-url-reference]
writeStartElement(qualifiedName)
[0]
static Q_NODISCARD_CTOR QArrayDataPointer fromRawData(const T *rawData, qsizetype length) noexcept
\inmodule QtCore \inheaderfile QtCborCommon \reentrant