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
StringOrTranslation Struct Reference

#include <qqmllistmodel_p_p.h>

+ Collaboration diagram for StringOrTranslation:

Public Member Functions

 ~StringOrTranslation ()
 
bool isSet () const
 
bool isTranslation () const
 
void setString (const QString &s)
 
void setTranslation (const QV4::CompiledData::Binding *binding)
 
QString toString (const QQmlListModel *owner) const
 
QString asString () const
 

Detailed Description

Definition at line 218 of file qqmllistmodel_p_p.h.

Constructor & Destructor Documentation

◆ ~StringOrTranslation()

StringOrTranslation::~StringOrTranslation ( )

Definition at line 263 of file qqmllistmodel.cpp.

References clear().

+ Here is the call graph for this function:

Member Function Documentation

◆ asString()

QString StringOrTranslation::asString ( ) const

Definition at line 300 of file qqmllistmodel.cpp.

References stringData().

+ Here is the call graph for this function:

◆ isSet()

bool StringOrTranslation::isSet ( ) const
inline

Definition at line 221 of file qqmllistmodel_p_p.h.

References binding.

◆ isTranslation()

bool StringOrTranslation::isTranslation ( ) const
inline

Definition at line 222 of file qqmllistmodel_p_p.h.

References binding.

◆ setString()

void StringOrTranslation::setString ( const QString & s)

Definition at line 268 of file qqmllistmodel.cpp.

References clear(), and stringData().

+ Here is the call graph for this function:

◆ setTranslation()

void StringOrTranslation::setTranslation ( const QV4::CompiledData::Binding * binding)

Definition at line 282 of file qqmllistmodel.cpp.

References clear().

+ Here is the call graph for this function:

◆ toString()

QString StringOrTranslation::toString ( const QQmlListModel * owner) const

Definition at line 288 of file qqmllistmodel.cpp.

References QV4::ExecutableCompilationUnit::bindingValueAsString(), and stringData().

+ Here is the call graph for this function:

Member Data Documentation

◆ binding

const QV4::CompiledData::Binding* StringOrTranslation::binding

Definition at line 232 of file qqmllistmodel_p_p.h.

Referenced by isSet(), and isTranslation().

◆ stringData

char16_t* StringOrTranslation::stringData = nullptr

Definition at line 231 of file qqmllistmodel_p_p.h.


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