8#include <QtCore/qpair.h>
9#include <QtCore/qshareddata.h>
10#include <QtCore/qurl.h>
12#include <initializer_list>
29 addQueryItem(
item.first,
item.second);
35 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(
QUrlQuery)
40 {
return !(*
this ==
other); }
45 bool isDetached()
const;
51 {
return query(encoding); }
53 void setQueryDelimiters(
QChar valueDelimiter,
QChar pairDelimiter);
54 QChar queryValueDelimiter()
const;
55 QChar queryPairDelimiter()
const;
\macro QT_RESTRICTED_CAST_FROM_ASCII
QSharedDataPointer< QUrlQueryPrivate > DataPtr
QString toString(QUrl::ComponentFormattingOptions encoding=QUrl::PrettyDecoded) const
Returns this QUrlQuery as a QString.
void swap(QUrlQuery &other) noexcept
Swaps this URL query instance with other.
static constexpr char16_t defaultQueryPairDelimiter() noexcept
Returns the default character for separating keys-value pairs from each other, an ampersand ("&").
QUrlQuery(std::initializer_list< QPair< QString, QString > > list)
static constexpr char16_t defaultQueryValueDelimiter() noexcept
Returns the default character for separating keys from values in the query, an equal sign ("=").
bool operator!=(const QUrlQuery &other) const
Returns true if other is not equal to this QUrlQuery.
Combined button and popup list for selecting options.
std::pair< T1, T2 > QPair
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
QT_BEGIN_NAMESPACE Q_CORE_EXPORT size_t qHash(const QUrlQuery &key, size_t seed=0) noexcept
QUrl url("example.com")
[constructor-url-reference]
qDebug()<< QUrl("file copy setQuery(copy.query(QUrl::FullyDecoded), QUrl::DecodedMode)