Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QBluetoothServiceInfo::Alternative Class Reference

\inmodule QtBluetooth More...

#include <qbluetoothserviceinfo.h>

+ Inheritance diagram for QBluetoothServiceInfo::Alternative:
+ Collaboration diagram for QBluetoothServiceInfo::Alternative:

Public Member Functions

 Alternative ()
 Constructs a new empty alternative.
 
 Alternative (const QList< QVariant > &list)
 Constructs a new alternative that is a copy of list.
 
- Public Member Functions inherited from QList< QVariant >
 QList (DataPointer dd) noexcept
 
 QList ()=default
 
 QList (qsizetype size)
 
 QList (qsizetype size, parameter_type t)
 
 QList (std::initializer_list< QVariant > args)
 
 QList (InputIterator i1, InputIterator i2)
 
 QList (const String &str)
 
 QList (qsizetype size, Qt::Initialization)
 
QList< QVariant > & operator= (std::initializer_list< QVariant > args)
 
void swap (QList &other) noexcept
 
QTypeTraits::compare_eq_result_container< QList, U > operator== (const QList &other) const
 
QTypeTraits::compare_eq_result_container< QList, U > operator!= (const QList &other) const
 
QTypeTraits::compare_lt_result_container< QList, U > operator< (const QList &other) const noexcept(noexcept(std::lexicographical_compare< typename QList< U >::const_iterator, typename QList::const_iterator >(std::declval< QList< U > >().begin(), std::declval< QList< U > >().end(), other.begin(), other.end())))
 
QTypeTraits::compare_lt_result_container< QList, U > operator> (const QList &other) const noexcept(noexcept(other< std::declval< QList< U > >()))
 
QTypeTraits::compare_lt_result_container< QList, U > operator<= (const QList &other) const noexcept(noexcept(other< std::declval< QList< U > >()))
 
QTypeTraits::compare_lt_result_container< QList, U > operator>= (const QList &other) const noexcept(noexcept(std::declval< QList< U > >()< other))
 
qsizetype size () const noexcept
 
qsizetype count () const noexcept
 
qsizetype count (const AT &t) const noexcept
 
qsizetype length () const noexcept
 
bool isEmpty () const noexcept
 
void resize (qsizetype size)
 
void resize (qsizetype size, parameter_type c)
 
void resizeForOverwrite (qsizetype size)
 
qsizetype capacity () const
 
void reserve (qsizetype size)
 
void squeeze ()
 
void detach ()
 
bool isDetached () const noexcept
 
bool isSharedWith (const QList< QVariant > &other) const
 
pointer data ()
 
const_pointer data () const noexcept
 
const_pointer constData () const noexcept
 
void clear ()
 
const_reference at (qsizetype i) const noexcept
 
reference operator[] (qsizetype i)
 
const_reference operator[] (qsizetype i) const noexcept
 
void append (parameter_type t)
 
void append (const_iterator i1, const_iterator i2)
 
void append (rvalue_ref t)
 
void append (const QList< QVariant > &l)
 
void append (QList< QVariant > &&l)
 
void prepend (rvalue_ref t)
 
void prepend (parameter_type t)
 
reference emplaceBack (Args &&... args)
 
reference emplaceFront (Args &&... args)
 
iterator insert (qsizetype i, parameter_type t)
 
iterator insert (qsizetype i, qsizetype n, parameter_type t)
 
iterator insert (const_iterator before, parameter_type t)
 
iterator insert (const_iterator before, qsizetype n, parameter_type t)
 
iterator insert (const_iterator before, rvalue_ref t)
 
iterator insert (qsizetype i, rvalue_ref t)
 
QListassign (qsizetype n, parameter_type t)
 
QListassign (InputIterator first, InputIterator last)
 
QListassign (std::initializer_list< QVariant > l)
 
iterator emplace (const_iterator before, Args &&... args)
 
iterator emplace (qsizetype i, Args &&... args)
 
void replace (qsizetype i, parameter_type t)
 
void replace (qsizetype i, rvalue_ref t)
 
void remove (qsizetype i, qsizetype n=1)
 
void removeFirst () noexcept
 
void removeLast () noexcept
 
value_type takeFirst ()
 
value_type takeLast ()
 
QList< QVariant > & fill (parameter_type t, qsizetype size=-1)
 
void removeAt (qsizetype i)
 
qsizetype removeAll (const AT &t)
 
bool removeOne (const AT &t)
 
qsizetype removeIf (Predicate pred)
 
QVariant takeAt (qsizetype i)
 
void move (qsizetype from, qsizetype to)
 
iterator begin ()
 
const_iterator begin () const noexcept
 
iterator end ()
 
const_iterator end () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator cend () const noexcept
 
const_iterator constBegin () const noexcept
 
const_iterator constEnd () const noexcept
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const noexcept
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const noexcept
 
const_reverse_iterator crbegin () const noexcept
 
const_reverse_iterator crend () const noexcept
 
iterator erase (const_iterator begin, const_iterator end)
 
iterator erase (const_iterator pos)
 
QVariantfirst ()
 
const QVariantfirst () const noexcept
 
QList< QVariantfirst (qsizetype n) const
 
const QVariantconstFirst () const noexcept
 
QVariantlast ()
 
const QVariantlast () const noexcept
 
QList< QVariantlast (qsizetype n) const
 
const QVariantconstLast () const noexcept
 
bool startsWith (parameter_type t) const
 
bool endsWith (parameter_type t) const
 
QList< QVariantmid (qsizetype pos, qsizetype len=-1) const
 
QList< QVariantsliced (qsizetype pos) const
 
QList< QVariantsliced (qsizetype pos, qsizetype n) const
 
QVariant value (qsizetype i) const
 
QVariant value (qsizetype i, parameter_type defaultValue) const
 
void swapItemsAt (qsizetype i, qsizetype j)
 
void push_back (parameter_type t)
 
void push_back (rvalue_ref t)
 
void push_front (rvalue_ref t)
 
void push_front (parameter_type t)
 
void pop_back () noexcept
 
void pop_front () noexcept
 
reference emplace_back (Args &&... args)
 
bool empty () const noexcept
 
reference front ()
 
const_reference front () const noexcept
 
reference back ()
 
const_reference back () const noexcept
 
void shrink_to_fit ()
 
QList< QVariant > & operator+= (const QList< QVariant > &l)
 
QList< QVariant > & operator+= (QList< QVariant > &&l)
 
QList< QVariant > & operator+= (parameter_type t)
 
QList< QVariant > & operator+= (rvalue_ref t)
 
QList< QVariantoperator+ (const QList< QVariant > &l) const &
 
QList< QVariantoperator+ (const QList< QVariant > &l) &&
 
QList< QVariantoperator+ (QList< QVariant > &&l) const &
 
QList< QVariantoperator+ (QList< QVariant > &&l) &&
 
QList< QVariant > & operator<< (parameter_type t)
 
QList< QVariant > & operator<< (const QList< QVariant > &l)
 
QList< QVariant > & operator<< (QList< QVariant > &&l)
 
QList< QVariant > & operator<< (rvalue_ref t)
 
QList< QVarianttoList () const noexcept
 
QList< QVarianttoVector () const noexcept
 
- Public Member Functions inherited from QListSpecialMethodsBase< T >
template<typename AT = T>
qsizetype indexOf (const AT &t, qsizetype from=0) const noexcept
 
template<typename AT = T>
qsizetype lastIndexOf (const AT &t, qsizetype from=-1) const noexcept
 
template<typename AT = T>
bool contains (const AT &t) const noexcept
 

Additional Inherited Members

- Public Types inherited from QList< QVariant >
using Type
 
using value_type
 
using pointer
 
using const_pointer
 
using reference
 
using const_reference
 
using size_type
 
using difference_type
 
using parameter_type
 
using rvalue_ref
 
using Iterator
 
using ConstIterator
 
using reverse_iterator
 
using const_reverse_iterator
 
- Static Public Member Functions inherited from QList< QVariant >
static qsizetype max_size () noexcept
 
static QList< QVariantfromList (const QList< QVariant > &list) noexcept
 
static QList< QVariantfromVector (const QList< QVariant > &vector) noexcept
 
static QList< QVariantfromReadOnlyData (const QVariant(&t)[N]) noexcept
 
- Protected Types inherited from QListSpecialMethodsBase< T >
using Self = QList<T>
 
- Protected Member Functions inherited from QListSpecialMethods< T >
 ~QListSpecialMethods ()=default
 
- Protected Member Functions inherited from QListSpecialMethodsBase< T >
 ~QListSpecialMethodsBase ()=default
 
Selfself ()
 
const Selfself () const
 

Detailed Description

\inmodule QtBluetooth

The Alternative class stores attributes of a Bluetooth Data Element Alternative.

Since
5.2

Definition at line 61 of file qbluetoothserviceinfo.h.

Constructor & Destructor Documentation

◆ Alternative() [1/2]

QBluetoothServiceInfo::Alternative::Alternative ( )
inline

Constructs a new empty alternative.

Definition at line 64 of file qbluetoothserviceinfo.h.

◆ Alternative() [2/2]

QBluetoothServiceInfo::Alternative::Alternative ( const QList< QVariant > & list)
inline

Constructs a new alternative that is a copy of list.

Definition at line 65 of file qbluetoothserviceinfo.h.


The documentation for this class was generated from the following files: