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
QLazilyAllocated< T, Tag > Class Template Reference

#include <qlazilyallocated_p.h>

+ Collaboration diagram for QLazilyAllocated< T, Tag >:

Public Member Functions

 QLazilyAllocated ()
 
 ~QLazilyAllocated ()
 
bool isAllocated () const
 
T * operator-> () const
 
T & value ()
 
const T & value () const
 
Tag tag () const
 
void setTag (Tag t)
 

Detailed Description

template<typename T, typename Tag = typename QtPrivate::TagInfo<T>::TagType>
class QLazilyAllocated< T, Tag >

Definition at line 24 of file qlazilyallocated_p.h.

Constructor & Destructor Documentation

◆ QLazilyAllocated()

template<typename T , typename Tag >
QLazilyAllocated< T, Tag >::QLazilyAllocated ( )
inline

Definition at line 43 of file qlazilyallocated_p.h.

◆ ~QLazilyAllocated()

template<typename T , typename Tag >
QLazilyAllocated< T, Tag >::~QLazilyAllocated ( )
inline

Definition at line 48 of file qlazilyallocated_p.h.

References d.

Member Function Documentation

◆ isAllocated()

template<typename T , typename Tag >
bool QLazilyAllocated< T, Tag >::isAllocated ( ) const
inline

Definition at line 54 of file qlazilyallocated_p.h.

References d.

Referenced by QQuickTextPrivate::~QQuickTextPrivate(), QQuick3DObjectPrivate::_q_resourceObjectDeleted(), QQuickPathRectangle::addToPath(), QQuickTextPrivate::anchorAt(), QQuickPathRectangle::cornerRadius(), QQuickComboBoxPrivate::decrementCurrentIndex(), QQuickTextPrivate::ensureDoc(), QQuickTextAreaPrivate::getBottomInset(), QQuickTextFieldPrivate::getBottomInset(), QQuickTextAreaPrivate::getLeftInset(), QQuickTextFieldPrivate::getLeftInset(), QQuickTextAreaPrivate::getRightInset(), QQuickTextFieldPrivate::getRightInset(), QQuickTextAreaPrivate::getTopInset(), QQuickTextFieldPrivate::getTopInset(), QQuickComboBoxPrivate::incrementCurrentIndex(), QQuickControlPrivate::inheritFont(), QQuickLabelPrivate::inheritFont(), QQuickTextAreaPrivate::inheritFont(), QQuickTextFieldPrivate::inheritFont(), QQuickTextEditPrivate::isImplicitResizeEnabled(), QQuickTextInputPrivate::isImplicitResizeEnabled(), QQuickTextFieldPrivate::itemGeometryChanged(), QQuickRectanglePrivate::maybeSetImplicitAntialiasing(), QQuickComboBoxPrivate::modelUpdated(), QQuickBasePositionerPrivate::padding(), QQuickTextPrivate::processHoverEvent(), QQuickPathRectangle::radius(), QQuickPaletteColorProvider::resetColor(), QQuickPaletteColorProvider::resetColor(), QQuickPathRectangle::resetCornerRadius(), QQuickControlPrivate::resizeBackground(), QQuickLabelPrivate::resizeBackground(), QQuickTextAreaPrivate::resizeBackground(), QQuickTextFieldPrivate::resizeBackground(), QQuickSwipeDelegatePrivate::resizeBackground(), QQuickBasePositionerPrivate::setBottomPadding(), QQuickTextPrivate::setBottomPadding(), QQuickTextEditPrivate::setBottomPadding(), QQuickTextInputPrivate::setBottomPadding(), QQuickTextEditPrivate::setImplicitResizeEnabled(), QQuickTextInputPrivate::setImplicitResizeEnabled(), QQuickBasePositionerPrivate::setLeftPadding(), QQuickTextPrivate::setLeftPadding(), QQuickTextEditPrivate::setLeftPadding(), QQuickTextInputPrivate::setLeftPadding(), QQuickTextPrivate::setLineGeometry(), QQuickBasePositionerPrivate::setRightPadding(), QQuickTextPrivate::setRightPadding(), QQuickTextEditPrivate::setRightPadding(), QQuickTextInputPrivate::setRightPadding(), QQuickBasePositionerPrivate::setTopPadding(), QQuickTextPrivate::setTopPadding(), QQuickTextEditPrivate::setTopPadding(), QQuickTextInputPrivate::setTopPadding(), QQuickTextPrivate::setupTextLayout(), QQuickControlPrivate::updateBaselineOffset(), QQuickComboBoxPrivate::updateCurrentText(), QQuickComboBoxPrivate::updateEditText(), and QQuickTextPrivate::updateLayout().

◆ operator->()

template<typename T , typename Tag >
T * QLazilyAllocated< T, Tag >::operator-> ( ) const
inline

Definition at line 74 of file qlazilyallocated_p.h.

References d.

◆ setTag()

template<typename T , typename Tag >
void QLazilyAllocated< T, Tag >::setTag ( Tag t)
inline

Definition at line 86 of file qlazilyallocated_p.h.

References d.

◆ tag()

template<typename T , typename Tag >
Tag QLazilyAllocated< T, Tag >::tag ( ) const
inline

Definition at line 80 of file qlazilyallocated_p.h.

References d.

◆ value() [1/2]

template<typename T , typename Tag >
T & QLazilyAllocated< T, Tag >::value ( )
inline

Definition at line 60 of file qlazilyallocated_p.h.

References d.

Referenced by QQuickComboBoxPrivate::acceptInput(), QQuickTextPrivate::ensureDoc(), QQuickPaletteColorProvider::fromQPalette(), QQuickPaletteColorProvider::inheritPalette(), QQuickControlPrivate::itemGeometryChanged(), QQuickLabelPrivate::itemGeometryChanged(), QQuickTextAreaPrivate::itemGeometryChanged(), QQuickTextFieldPrivate::itemGeometryChanged(), QQuickRectanglePrivate::maybeSetImplicitAntialiasing(), QQuickTextPrivate::processHoverEvent(), QQuickControlPrivate::setBottomInset(), QQuickLabelPrivate::setBottomInset(), QQuickTextAreaPrivate::setBottomInset(), QQuickTextFieldPrivate::setBottomInset(), QQuickBasePositionerPrivate::setBottomPadding(), QQuickTextPrivate::setBottomPadding(), QQuickTextEditPrivate::setBottomPadding(), QQuickTextInputPrivate::setBottomPadding(), QQuickControlPrivate::setBottomPadding(), QQuickPathRectangle::setCornerRadius(), QQuick3DObjectPrivate::setCulled(), QQuickTextEditPrivate::setImplicitResizeEnabled(), QQuickTextInputPrivate::setImplicitResizeEnabled(), QQuickComboBoxPrivate::setInputMethodHints(), QQuickControlPrivate::setLeftInset(), QQuickLabelPrivate::setLeftInset(), QQuickTextAreaPrivate::setLeftInset(), QQuickTextFieldPrivate::setLeftInset(), QQuickBasePositionerPrivate::setLeftPadding(), QQuickTextPrivate::setLeftPadding(), QQuickTextEditPrivate::setLeftPadding(), QQuickTextInputPrivate::setLeftPadding(), QQuickControlPrivate::setLeftPadding(), QQuickPathRectangle::setRadius(), QQuickControlPrivate::setRightInset(), QQuickLabelPrivate::setRightInset(), QQuickTextAreaPrivate::setRightInset(), QQuickTextFieldPrivate::setRightInset(), QQuickBasePositionerPrivate::setRightPadding(), QQuickTextPrivate::setRightPadding(), QQuickTextEditPrivate::setRightPadding(), QQuickTextInputPrivate::setRightPadding(), QQuickControlPrivate::setRightPadding(), QQuickControlPrivate::setTopInset(), QQuickLabelPrivate::setTopInset(), QQuickTextAreaPrivate::setTopInset(), QQuickTextFieldPrivate::setTopInset(), QQuickBasePositionerPrivate::setTopPadding(), QQuickTextPrivate::setTopPadding(), QQuickTextEditPrivate::setTopPadding(), QQuickTextInputPrivate::setTopPadding(), QQuickControlPrivate::setTopPadding(), QQuickControlPrivate::updateBaselineOffset(), and QQuickTextPrivate::updateLayout().

◆ value() [2/2]

template<typename T , typename Tag >
const T & QLazilyAllocated< T, Tag >::value ( ) const
inline

Definition at line 67 of file qlazilyallocated_p.h.

References d.


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