QtCore/qmargins.h File Reference

qmargins.h File Reference

Classes

class  QMargins
 

Functions

 Q_DECLARE_TYPEINFO (QMargins, Q_MOVABLE_TYPE)
 
bool operator== (const QMargins &m1, const QMargins &m2)
 
bool operator!= (const QMargins &m1, const QMargins &m2)
 
Q_CORE_EXPORT QDebug operator<< (QDebug, const QMargins &)
 

Function Documentation

Q_DECLARE_TYPEINFO ( QMargins  ,
Q_MOVABLE_TYPE   
)
bool operator== ( const QMargins m1,
const QMargins m2 
)
inline

Definition at line 121 of file qmargins.h.

122 {
123  return
124  m1.m_left == m2.m_left &&
125  m1.m_top == m2.m_top &&
126  m1.m_right == m2.m_right &&
127  m1.m_bottom == m2.m_bottom;
128 }
bool operator!= ( const QMargins m1,
const QMargins m2 
)
inline

Definition at line 130 of file qmargins.h.

131 {
132  return
133  m1.m_left != m2.m_left ||
134  m1.m_top != m2.m_top ||
135  m1.m_right != m2.m_right ||
136  m1.m_bottom != m2.m_bottom;
137 }
Q_CORE_EXPORT QDebug operator<< ( QDebug  ,
const QMargins  
)

Go to the source code of this file.