Qt 4.8
Classes | Functions
qline.h File Reference
#include <QtCore/qpoint.h>

Go to the source code of this file.

Classes

class  QLine
 The QLine class provides a two-dimensional vector using integer precision. More...
 
class  QLineF
 The QLineF class provides a two-dimensional vector using floating point precision. More...
 

Functions

Q_CORE_EXPORT QDebug operator<< (QDebug d, const QLine &p)
 
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QLine &)
 
Q_CORE_EXPORT QDebug operator<< (QDebug d, const QLineF &p)
 
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QLineF &)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QLine &)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QLineF &)
 
 Q_DECLARE_TYPEINFO (QLine, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (QLineF, Q_MOVABLE_TYPE)
 

Function Documentation

◆ operator<<() [1/4]

Q_CORE_EXPORT QDebug operator<< ( QDebug  d,
const QLine p 
)

Definition at line 330 of file qline.cpp.

331 {
332  d << "QLine(" << p.p1() << ',' << p.p2() << ')';
333  return d;
334 }
double d
Definition: qnumeric_p.h:62
QPoint p1() const
Returns the line&#39;s start point.
Definition: qline.h:132
QPoint p2() const
Returns the line&#39;s end point.
Definition: qline.h:137

◆ operator<<() [2/4]

Q_CORE_EXPORT QDataStream& operator<< ( QDataStream ,
const QLine  
)
related

◆ operator<<() [3/4]

Q_CORE_EXPORT QDebug operator<< ( QDebug  d,
const QLineF p 
)

Definition at line 1006 of file qline.cpp.

1007 {
1008  d << "QLineF(" << p.p1() << ',' << p.p2() << ')';
1009  return d;
1010 }
double d
Definition: qnumeric_p.h:62
QPointF p1() const
Returns the line&#39;s start point.
Definition: qline.h:314
QPointF p2() const
Returns the line&#39;s end point.
Definition: qline.h:319

◆ operator<<() [4/4]

Q_CORE_EXPORT QDataStream& operator<< ( QDataStream ,
const QLineF  
)
related

◆ operator>>() [1/2]

Q_CORE_EXPORT QDataStream& operator>> ( QDataStream ,
QLine  
)
related

◆ operator>>() [2/2]

Q_CORE_EXPORT QDataStream& operator>> ( QDataStream ,
QLineF  
)
related

◆ Q_DECLARE_TYPEINFO() [1/2]

Q_DECLARE_TYPEINFO ( QLine  ,
Q_MOVABLE_TYPE   
)

◆ Q_DECLARE_TYPEINFO() [2/2]

Q_DECLARE_TYPEINFO ( QLineF  ,
Q_MOVABLE_TYPE   
)