- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

Classes | Functions

# qmargins.h File Reference

`#include <QtCore/qnamespace.h>`

Go to the source code of this file.

## 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 |
| ) |  |

Search for all occurrences

bool operator== | ( | const QMargins & | m1,
|  | const QMargins & | m2
| ) |  | `[inline]`

Definition at line 121 of file qmargins.h.

    {
        return
                m1.m_left == m2.m_left &&
                m1.m_top == m2.m_top &&
                m1.m_right == m2.m_right &&
                m1.m_bottom == m2.m_bottom;
    }

bool operator!= | ( | const QMargins & | m1,
|  | const QMargins & | m2
| ) |  | `[inline]`

Definition at line 130 of file qmargins.h.

    {
        return
                m1.m_left != m2.m_left ||
                m1.m_top != m2.m_top ||
                m1.m_right != m2.m_right ||
                m1.m_bottom != m2.m_bottom;
    }

Q_CORE_EXPORT QDebug operator<< | ( | QDebug | ,
|  | const QMargins & |
| ) |  |