Qt 4.8
Functions
qmargins.cpp File Reference
#include "qmargins.h"
#include "qdatastream.h"
#include "qdebug.h"

Go to the source code of this file.

Functions

QDebug operator<< (QDebug dbg, const QMargins &m)
 

Function Documentation

◆ operator<<()

QDebug operator<< ( QDebug  dbg,
const QMargins m 
)

Definition at line 199 of file qmargins.cpp.

Referenced by operator!=().

199  {
200  dbg.nospace() << "QMargins(" << m.left() << ", "
201  << m.top() << ", " << m.right() << ", " << m.bottom() << ')';
202  return dbg.space();
203 }
QDebug & nospace()
Clears the stream&#39;s internal flag that records whether the last character was a space and returns a r...
Definition: qdebug.h:92
int top() const
Returns the top margin.
Definition: qmargins.h:99
int left() const
Returns the left margin.
Definition: qmargins.h:96
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
Definition: qdebug.h:91
int bottom() const
Returns the bottom margin.
Definition: qmargins.h:105
int right() const
Returns the right margin.
Definition: qmargins.h:102