8#include <QtCore/qcompare.h>
9#include <QtCore/qshareddata.h>
10#include <QtCore/qurl.h>
12#include <initializer_list>
28 for (
const std::pair<QString, QString> &
item :
list)
29 addQueryItem(
item.first,
item.second);
35 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(
QUrlQuery)
38#if QT_CORE_REMOVED_SINCE(6, 8)
47 bool isDetached()
const;
53 {
return query(encoding); }
55 void setQueryDelimiters(
QChar valueDelimiter,
QChar pairDelimiter);
56 QChar queryValueDelimiter()
const;
57 QChar queryPairDelimiter()
const;
59 void setQueryItems(
const QList<std::pair<QString, QString> > &
query);
60 QList<std::pair<QString, QString> > queryItems(QUrl::ComponentFormattingOptions encoding =
QUrl::PrettyDecoded)
const;
\macro QT_RESTRICTED_CAST_FROM_ASCII
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 ("&").
static constexpr char16_t defaultQueryValueDelimiter() noexcept
Returns the default character for separating keys from values in the query, an equal sign ("=").
QUrlQuery(std::initializer_list< std::pair< QString, QString > > list)
Combined button and popup list for selecting options.
#define Q_DECLARE_EQUALITY_COMPARABLE(...)
constexpr bool operator!=(const timespec &t1, const timespec &t2)
bool comparesEqual(const QDir &lhs, const QDir &rhs)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
const void * data_ptr(const QTransform &t)
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)