- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Way to manipulate a key-value pairs in a URL's query
Java wrapper for Qt class QUrlQuery
- Since:
- This class was introduced in Qt 5.0.
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addQueryItem
(String key, String value) final QStringList
allQueryItemValues
(String key) Overloaded function forallQueryItemValues(java.lang.String, io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
.final QStringList
allQueryItemValues
(String key, QUrl.ComponentFormattingOption ... encoding) Overloaded function forallQueryItemValues(java.lang.String, io.qt.core.QUrl.ComponentFormattingOptions)
.final QStringList
allQueryItemValues
(String key, QUrl.ComponentFormattingOptions encoding) final void
final void
clear()
clone()
Creates and returns a copy of this object.static char
static char
final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QUrlQuery)
.final boolean
hasQueryItem
(String key) final boolean
SeeQUrlQuery::
isDetached()const final boolean
isEmpty()
final String
query()
Overloaded function forquery(io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
.final String
query
(QUrl.ComponentFormattingOption ... encoding) Overloaded function forquery(io.qt.core.QUrl.ComponentFormattingOptions)
.final String
query
(QUrl.ComponentFormattingOptions encoding) Overloaded function forqueryItems(io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
.queryItems
(QUrl.ComponentFormattingOption ... encoding) Overloaded function forqueryItems(io.qt.core.QUrl.ComponentFormattingOptions)
.queryItems
(QUrl.ComponentFormattingOptions encoding) final String
queryItemValue
(String key) Overloaded function forqueryItemValue(java.lang.String, io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
.final String
queryItemValue
(String key, QUrl.ComponentFormattingOption ... encoding) Overloaded function forqueryItemValue(java.lang.String, io.qt.core.QUrl.ComponentFormattingOptions)
.final String
queryItemValue
(String key, QUrl.ComponentFormattingOptions encoding) final char
final char
final void
final void
removeQueryItem
(String key) final void
final void
setQueryDelimiters
(char valueDelimiter, char pairDelimiter) final void
setQueryItems
(Collection<? extends QPair<String, String>> query) final void
final String
toString()
Overloaded function fortoString(io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
.final String
toString
(QUrl.ComponentFormattingOption ... encoding) Overloaded function fortoString(io.qt.core.QUrl.ComponentFormattingOptions)
.final String
toString
(QUrl.ComponentFormattingOptions encoding) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QUrlQuery
public QUrlQuery() -
QUrlQuery
- Parameters:
queryString
-
-
QUrlQuery
- Parameters:
url
-
-
QUrlQuery
- Parameters:
other
-
-
QUrlQuery
- Parameters:
list
-- Since:
- This function was introduced in Qt 5.13.
-
-
Method Details
-
addQueryItem
- Parameters:
key
-value
-
-
allQueryItemValues
@QtUninvokable public final QStringList allQueryItemValues(String key, QUrl.ComponentFormattingOptions encoding) - Parameters:
key
-encoding
-- Returns:
-
clear
-
hasQueryItem
- Parameters:
key
-- Returns:
-
isDetached
See
QUrlQuery::
isDetached()const - Returns:
-
isEmpty
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
query
- Parameters:
encoding
-- Returns:
-
queryItemValue
@QtUninvokable public final String queryItemValue(String key, QUrl.ComponentFormattingOptions encoding) - Parameters:
key
-encoding
-- Returns:
-
queryItems
@QtUninvokable public final QList<QPair<String,String>> queryItems(QUrl.ComponentFormattingOptions encoding) - Parameters:
encoding
-- Returns:
-
queryPairDelimiter
- Returns:
-
queryValueDelimiter
- Returns:
-
removeAllQueryItems
- Parameters:
key
-
-
removeQueryItem
- Parameters:
key
-
-
setQuery
- Parameters:
queryString
-
-
setQueryDelimiters
- Parameters:
valueDelimiter
-pairDelimiter
-
-
setQueryItems
- Parameters:
query
-
-
swap
- Parameters:
other
-
-
toString
- Parameters:
encoding
-- Returns:
-
defaultQueryPairDelimiter
public static char defaultQueryPairDelimiter()- Returns:
-
defaultQueryValueDelimiter
public static char defaultQueryValueDelimiter()- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QUrlQuery)
. -
clone
Creates and returns a copy of this object.
-
allQueryItemValues
Overloaded function for
allQueryItemValues(java.lang.String, io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
allQueryItemValues
@QtUninvokable public final QStringList allQueryItemValues(String key, QUrl.ComponentFormattingOption ... encoding) Overloaded function for
allQueryItemValues(java.lang.String, io.qt.core.QUrl.ComponentFormattingOptions)
. -
query
Overloaded function for
query(io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
query
Overloaded function for
query(io.qt.core.QUrl.ComponentFormattingOptions)
. -
queryItemValue
Overloaded function for
queryItemValue(java.lang.String, io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
queryItemValue
@QtUninvokable public final String queryItemValue(String key, QUrl.ComponentFormattingOption ... encoding) Overloaded function for
queryItemValue(java.lang.String, io.qt.core.QUrl.ComponentFormattingOptions)
. -
queryItems
Overloaded function for
queryItems(io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
queryItems
@QtUninvokable public final QList<QPair<String,String>> queryItems(QUrl.ComponentFormattingOption ... encoding) Overloaded function for
queryItems(io.qt.core.QUrl.ComponentFormattingOptions)
. -
toString
Overloaded function for
toString(io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
toString
Overloaded function for
toString(io.qt.core.QUrl.ComponentFormattingOptions)
.
-