Skip to main content

QUrlQuery

Struct QUrlQuery 

Source
pub struct QUrlQuery { /* private fields */ }
Expand description

C++ class: QUrlQuery.

Implementations§

Source§

impl QUrlQuery

Source

pub unsafe fn add_query_item( &self, key: impl CastInto<Ref<QString>>, value: impl CastInto<Ref<QString>>, )

Calls C++ function: void QUrlQuery::addQueryItem(const QString& key, const QString& value).

Source

pub unsafe fn all_query_item_values_2a( &self, key: impl CastInto<Ref<QString>>, encoding: QFlags<ComponentFormattingOption>, ) -> CppBox<QStringList>

Calls C++ function: QStringList QUrlQuery::allQueryItemValues(const QString& key, QFlags<QUrl::ComponentFormattingOption> encoding = …) const.

Source

pub unsafe fn all_query_item_values_1a( &self, key: impl CastInto<Ref<QString>>, ) -> CppBox<QStringList>

Calls C++ function: QStringList QUrlQuery::allQueryItemValues(const QString& key) const.

Source

pub unsafe fn clear(&self)

Calls C++ function: void QUrlQuery::clear().

Source

pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QUrlQuery>>, ) -> Ref<QUrlQuery>

Calls C++ function: QUrlQuery& QUrlQuery::operator=(const QUrlQuery& other).

Source

pub unsafe fn default_query_pair_delimiter() -> CppBox<QChar>

Calls C++ function: static QChar QUrlQuery::defaultQueryPairDelimiter().

Source

pub unsafe fn default_query_value_delimiter() -> CppBox<QChar>

Calls C++ function: static QChar QUrlQuery::defaultQueryValueDelimiter().

Source

pub unsafe fn has_query_item(&self, key: impl CastInto<Ref<QString>>) -> bool

Calls C++ function: bool QUrlQuery::hasQueryItem(const QString& key) const.

Source

pub unsafe fn is_detached(&self) -> bool

Calls C++ function: bool QUrlQuery::isDetached() const.

Source

pub unsafe fn is_empty(&self) -> bool

Calls C++ function: bool QUrlQuery::isEmpty() const.

Source

pub unsafe fn new() -> CppBox<QUrlQuery>

Calls C++ function: [constructor] void QUrlQuery::QUrlQuery().

Source

pub unsafe fn from_q_url(url: impl CastInto<Ref<QUrl>>) -> CppBox<QUrlQuery>

Calls C++ function: [constructor] void QUrlQuery::QUrlQuery(const QUrl& url).

Source

pub unsafe fn from_q_string( query_string: impl CastInto<Ref<QString>>, ) -> CppBox<QUrlQuery>

Calls C++ function: [constructor] void QUrlQuery::QUrlQuery(const QString& queryString).

Source

pub unsafe fn new_copy( other: impl CastInto<Ref<QUrlQuery>>, ) -> CppBox<QUrlQuery>

Calls C++ function: [constructor] void QUrlQuery::QUrlQuery(const QUrlQuery& other).

Source

pub unsafe fn query_1a( &self, encoding: QFlags<ComponentFormattingOption>, ) -> CppBox<QString>

Calls C++ function: QString QUrlQuery::query(QFlags<QUrl::ComponentFormattingOption> encoding = …) const.

Source

pub unsafe fn query_0a(&self) -> CppBox<QString>

Calls C++ function: QString QUrlQuery::query() const.

Source

pub unsafe fn query_item_value_2a( &self, key: impl CastInto<Ref<QString>>, encoding: QFlags<ComponentFormattingOption>, ) -> CppBox<QString>

Calls C++ function: QString QUrlQuery::queryItemValue(const QString& key, QFlags<QUrl::ComponentFormattingOption> encoding = …) const.

Source

pub unsafe fn query_item_value_1a( &self, key: impl CastInto<Ref<QString>>, ) -> CppBox<QString>

Calls C++ function: QString QUrlQuery::queryItemValue(const QString& key) const.

Source

pub unsafe fn query_items_1a( &self, encoding: QFlags<ComponentFormattingOption>, ) -> CppBox<QListOfQPairOfQStringQString>

Calls C++ function: QList<QPair<QString, QString>> QUrlQuery::queryItems(QFlags<QUrl::ComponentFormattingOption> encoding = …) const.

Source

pub unsafe fn query_items_0a(&self) -> CppBox<QListOfQPairOfQStringQString>

Calls C++ function: QList<QPair<QString, QString>> QUrlQuery::queryItems() const.

Source

pub unsafe fn query_pair_delimiter(&self) -> CppBox<QChar>

Calls C++ function: QChar QUrlQuery::queryPairDelimiter() const.

Source

pub unsafe fn query_value_delimiter(&self) -> CppBox<QChar>

Calls C++ function: QChar QUrlQuery::queryValueDelimiter() const.

Source

pub unsafe fn remove_all_query_items(&self, key: impl CastInto<Ref<QString>>)

Calls C++ function: void QUrlQuery::removeAllQueryItems(const QString& key).

Source

pub unsafe fn remove_query_item(&self, key: impl CastInto<Ref<QString>>)

Calls C++ function: void QUrlQuery::removeQueryItem(const QString& key).

Source

pub unsafe fn set_query(&self, query_string: impl CastInto<Ref<QString>>)

Calls C++ function: void QUrlQuery::setQuery(const QString& queryString).

Source

pub unsafe fn set_query_delimiters( &self, value_delimiter: impl CastInto<Ref<QChar>>, pair_delimiter: impl CastInto<Ref<QChar>>, )

Calls C++ function: void QUrlQuery::setQueryDelimiters(QChar valueDelimiter, QChar pairDelimiter).

Source

pub unsafe fn set_query_items( &self, query: impl CastInto<Ref<QListOfQPairOfQStringQString>>, )

Calls C++ function: void QUrlQuery::setQueryItems(const QList<QPair<QString, QString>>& query).

Source

pub unsafe fn swap(&self, other: impl CastInto<Ref<QUrlQuery>>)

Calls C++ function: void QUrlQuery::swap(QUrlQuery& other).

Source

pub unsafe fn to_string_1a( &self, encoding: QFlags<ComponentFormattingOption>, ) -> CppBox<QString>

Calls C++ function: QString QUrlQuery::toString(QFlags<QUrl::ComponentFormattingOption> encoding = …) const.

Source

pub unsafe fn to_string_0a(&self) -> CppBox<QString>

Calls C++ function: QString QUrlQuery::toString() const.

Trait Implementations§

Source§

impl CppDeletable for QUrlQuery

Source§

unsafe fn delete(&self)

Calls C++ function: [destructor] void QUrlQuery::~QUrlQuery().

Source§

impl PartialEq<Ref<QUrlQuery>> for QUrlQuery

Source§

fn eq(&self, other: &Ref<QUrlQuery>) -> bool

Calls C++ function: bool QUrlQuery::operator==(const QUrlQuery& other) const.

1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

Source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> StaticUpcast<T> for T

Source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.