- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Way to manipulate a key-value pairs in a URL's query
Java wrapper for Qt's class QUrlQuery
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
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
clear()
clone()
static char
static char
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.int
hashCode()
final boolean
hasQueryItem
(String key) final boolean
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
-
QUrlQuery
-
QUrlQuery
-
QUrlQuery
-
QUrlQuery
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addQueryItem
-
allQueryItemValues
@QtUninvokable public final QStringList allQueryItemValues(String key, QUrl.ComponentFormattingOption... encoding) Overloaded function for
allQueryItemValues(java.lang.String, io.qt.core.QUrl.ComponentFormattingOptions)
. -
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.ComponentFormattingOptions encoding) -
clear
-
hasQueryItem
-
isDetached
-
isEmpty
-
query
Overloaded function for
query(io.qt.core.QUrl.ComponentFormattingOptions)
. -
query
Overloaded function for
query(io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
query
-
queryItemValue
@QtUninvokable public final String queryItemValue(String key, QUrl.ComponentFormattingOption... encoding) Overloaded function for
queryItemValue(java.lang.String, 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.ComponentFormattingOptions encoding) -
queryItems
@QtUninvokable public final QList<QPair<String,String>> queryItems(QUrl.ComponentFormattingOption... encoding) Overloaded function for
queryItems(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.ComponentFormattingOptions encoding) -
queryPairDelimiter
-
queryValueDelimiter
-
removeAllQueryItems
-
removeQueryItem
-
setQuery
-
setQueryDelimiters
-
setQueryItems
-
swap
-
toString
Overloaded function for
toString(io.qt.core.QUrl.ComponentFormattingOptions)
. -
toString
Overloaded function for
toString(io.qt.core.QUrl.ComponentFormattingOptions)
withencoding = new io.qt.core.QUrl.ComponentFormattingOptions(0)
. -
toString
-
defaultQueryPairDelimiter
public static char defaultQueryPairDelimiter() -
defaultQueryValueDelimiter
public static char defaultQueryValueDelimiter() -
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-