4#ifndef QSCOPEDPOINTER_H 
    5#define QSCOPEDPOINTER_H 
    7#include <QtCore/qglobal.h> 
   21        typedef char IsIncompleteType[ 
sizeof(T) ? 1 : -1 ];
 
   22        (
void) 
sizeof(IsIncompleteType);
 
   40        typedef char IsIncompleteType[ 
sizeof(T) ? 1 : -1 ];
 
   41        (
void) 
sizeof(IsIncompleteType);
 
   69template <
typename T, 
typename Cleanup = QScopedPo
interDeleter<T> >
 
   81        Cleanup::cleanup(oldD);
 
  100    explicit operator bool()
 const 
  120    void reset(T *
other = 
nullptr) noexcept(noexcept(Cleanup::cleanup(
std::declval<T *>())))
 
  124        T *oldD = std::exchange(
d, 
other);
 
  125        Cleanup::cleanup(oldD);
 
  128#if QT_DEPRECATED_SINCE(6, 1) 
  132        T *oldD = std::exchange(
d, 
nullptr);
 
  137#if QT_DEPRECATED_SINCE(6, 2) 
  149        return lhs.data() == rhs.data();
 
  154        return lhs.data() != rhs.data();
 
  169        return !lhs.isNull();
 
  174        return !rhs.isNull();
 
  177#if QT_DEPRECATED_SINCE(6, 2) 
  190template <
typename T, 
typename Cleanup = QScopedPo
interArrayDeleter<T> >
 
  193    template <
typename Ptr>
 
  194    using if_same_type = 
typename std::enable_if<std::is_same<typename std::remove_cv<T>::type, Ptr>
::value, 
bool>
::type;
 
  200    template <
typename D, if_same_type<D> = true>
 
  217#if QT_DEPRECATED_SINCE(6, 2) 
  239#if QT_DEPRECATED_SINCE(6, 2) 
  240template <
typename T, 
typename Cleanup>
 
void swap(QPixmap &other) noexcept
 
~QScopedArrayPointer()=default
 
const T & operator[](qsizetype i) const
Provides access to entry i of the scoped pointer's array of objects.
 
Q_NODISCARD_CTOR QScopedArrayPointer()
Constructs a QScopedArrayPointer instance.
 
T & operator[](qsizetype i)
Provides access to entry i of the scoped pointer's array of objects.
 
Q_NODISCARD_CTOR QScopedArrayPointer(D *p)
Constructs a QScopedArrayPointer and stores the array of objects pointed to by p.
 
T & operator*() const
Provides access to the scoped pointer's object.
 
Q_NODISCARD_CTOR QScopedPointer(T *p=nullptr) noexcept
Constructs this QScopedPointer instance and sets its pointer to p.
 
T * data() const noexcept
Returns the value of the pointer referenced by this object.
 
T * operator->() const noexcept
Provides access to the scoped pointer's object.
 
friend bool operator==(const QScopedPointer< T, Cleanup > &lhs, std::nullptr_t) noexcept
 
~QScopedPointer()
Destroys this QScopedPointer object.
 
friend bool operator==(std::nullptr_t, const QScopedPointer< T, Cleanup > &rhs) noexcept
 
friend bool operator==(const QScopedPointer< T, Cleanup > &lhs, const QScopedPointer< T, Cleanup > &rhs) noexcept
Returns true if lhs and rhs refer to the same pointer.
 
bool operator!() const noexcept
Returns true if this object refers to \nullptr.
 
friend bool operator!=(std::nullptr_t, const QScopedPointer< T, Cleanup > &rhs) noexcept
 
friend bool operator!=(const QScopedPointer< T, Cleanup > &lhs, std::nullptr_t) noexcept
 
friend bool operator!=(const QScopedPointer< T, Cleanup > &lhs, const QScopedPointer< T, Cleanup > &rhs) noexcept
Returns true if lhs and rhs refer to distinct pointers.
 
bool isNull() const noexcept
Returns true if this object refers to \nullptr.
 
void reset(T *other=nullptr) noexcept(noexcept(Cleanup::cleanup(std::declval< T * >())))
Deletes the existing object it is pointing to (if any), and sets its pointer to other.
 
Combined button and popup list for selecting options.
 
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
 
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
 
GLsizei const void * pointer
 
QScopedPointerObjectDeleteLater< QObject > QScopedPointerDeleteLater
 
constexpr void qt_ptr_swap(T *&lhs, T *&rhs) noexcept
 
#define QT_DEPRECATED_VERSION_X_6_2(text)
 
#define QT_DEPRECATED_VERSION_X_6_1(text)
 
static void cleanup(T *pointer) noexcept
 
void operator()(T *pointer) const noexcept
 
void operator()(T *pointer) const noexcept
 
static void cleanup(T *pointer) noexcept
 
void operator()(T *pointer) const
 
static void cleanup(T *pointer)
 
void operator()(void *pointer) const noexcept
 
static void cleanup(void *pointer) noexcept