Qt 4.8
Classes | Functions
qwidgetitemdata_p.h File Reference

Go to the source code of this file.

Classes

class  QWidgetItemData
 

Functions

QDataStreamoperator<< (QDataStream &out, const QWidgetItemData &data)
 
QDataStreamoperator>> (QDataStream &in, QWidgetItemData &data)
 

Function Documentation

◆ operator<<()

QDataStream& operator<< ( QDataStream out,
const QWidgetItemData data 
)
inline

Definition at line 77 of file qwidgetitemdata_p.h.

78 {
79  out << data.role;
80  out << data.value;
81  return out;
82 }

◆ operator>>()

QDataStream& operator>> ( QDataStream in,
QWidgetItemData data 
)
inline

Definition at line 70 of file qwidgetitemdata_p.h.

71 {
72  in >> data.role;
73  in >> data.value;
74  return in;
75 }