Qt 4.8
Public Functions | Public Variables | List of all members
QWidgetItemData Class Reference

#include <qwidgetitemdata_p.h>

Public Functions

bool operator== (const QWidgetItemData &other)
 
 QWidgetItemData ()
 
 QWidgetItemData (int r, QVariant v)
 

Public Variables

int role
 
QVariant value
 

Detailed Description

Definition at line 58 of file qwidgetitemdata_p.h.

Constructors and Destructors

◆ QWidgetItemData() [1/2]

QWidgetItemData::QWidgetItemData ( )
inline

Definition at line 61 of file qwidgetitemdata_p.h.

61 : role(-1) {}

◆ QWidgetItemData() [2/2]

QWidgetItemData::QWidgetItemData ( int  r,
QVariant  v 
)
inline

Definition at line 62 of file qwidgetitemdata_p.h.

62 : role(r), value(v) {}

Functions

◆ operator==()

bool QWidgetItemData::operator== ( const QWidgetItemData other)
inline

Definition at line 65 of file qwidgetitemdata_p.h.

65 { return role == other.role && value == other.value; }

Properties

◆ role

int QWidgetItemData::role

◆ value

QVariant QWidgetItemData::value

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