#include "qpoint.h"
#include "qdatastream.h"
#include "qdebug.h"
Go to the source code of this file.
◆ operator<<() [1/4]
Definition at line 435 of file qpoint.cpp.
int version() const
Returns the version number of the data serialization format.
int y() const
Returns the y coordinate of this point.
int x() const
Returns the x coordinate of this point.
◆ operator<<() [2/4]
Definition at line 495 of file qpoint.cpp.
496 dbg.
nospace() <<
"QPoint(" << p.
x() <<
',' << p.
y() <<
')';
QDebug & nospace()
Clears the stream's internal flag that records whether the last character was a space and returns a r...
int y() const
Returns the y coordinate of this point.
int x() const
Returns the x coordinate of this point.
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
◆ operator<<() [3/4]
Definition at line 500 of file qpoint.cpp.
502 d.
nospace() <<
"QPointF(" << p.
x() <<
", " << p.
y() <<
')';
QDebug & nospace()
Clears the stream's internal flag that records whether the last character was a space and returns a r...
qreal x() const
Returns the x-coordinate of this point.
qreal y() const
Returns the y-coordinate of this point.
QDebug & space()
Writes a space character to the debug stream and returns a reference to the stream.
◆ operator<<() [4/4]
Definition at line 849 of file qpoint.cpp.
851 s << double(p.
x()) <<
double(p.
y());
qreal x() const
Returns the x-coordinate of this point.
qreal y() const
Returns the y-coordinate of this point.
◆ operator>>() [1/2]
Definition at line 457 of file qpoint.cpp.
int & ry()
Returns a reference to the y coordinate of this point.
int & rx()
Returns a reference to the x coordinate of this point.
int version() const
Returns the version number of the data serialization format.
◆ operator>>() [2/2]
Definition at line 868 of file qpoint.cpp.
void setY(qreal y)
Sets the y coordinate of this point to the given y coordinate.
void setX(qreal x)
Sets the x coordinate of this point to the given x coordinate.