Qt 4.8
Public Functions | Public Variables | List of all members
QTextFormatPrivate::Property Struct Reference

Public Functions

bool operator!= (const Property &other) const
 
bool operator== (const Property &other) const
 
 Property (qint32 k, const QVariant &v)
 
 Property ()
 

Public Variables

qint32 key
 
QVariant value
 

Detailed Description

Definition at line 200 of file qtextformat.cpp.

Constructors and Destructors

◆ Property() [1/2]

QTextFormatPrivate::Property::Property ( qint32  k,
const QVariant v 
)
inline

Definition at line 202 of file qtextformat.cpp.

◆ Property() [2/2]

QTextFormatPrivate::Property::Property ( )
inline

Definition at line 203 of file qtextformat.cpp.

Referenced by QTextFormatPrivate::insertProperty().

203 {}

Functions

◆ operator!=()

bool QTextFormatPrivate::Property::operator!= ( const Property other) const
inline

Definition at line 210 of file qtextformat.cpp.

211  { return key != other.key || value != other.value; }
T value() const
Returns the stored value converted to the template type T.
Definition: qvariant.h:332

◆ operator==()

bool QTextFormatPrivate::Property::operator== ( const Property other) const
inline

Definition at line 208 of file qtextformat.cpp.

209  { return key == other.key && value == other.value; }
T value() const
Returns the stored value converted to the template type T.
Definition: qvariant.h:332

Properties

◆ key

qint32 QTextFormatPrivate::Property::key

◆ value

QVariant QTextFormatPrivate::Property::value

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