12#ifndef QT_NO_DEBUG_STREAM
13#include <QtCore/QDebug>
16#ifndef QT_NO_DATASTREAM
17#include <QtCore/QDataStream>
140 if (lhs.d_func() == rhs.d_func())
143 if (!lhs.d_func() || !rhs.d_func())
146 return *lhs.d_func() == *rhs.d_func();
206 return d->contains(coordinate);
222 return d->boundingGeoRectangle();
278#ifndef QT_NO_DEBUG_STREAM
282 dbg.nospace() <<
"QGeoShape(";
283 switch (shape.
type()) {
306#ifndef QT_NO_DATASTREAM
310 switch (shape.
type()) {
315 stream <<
r.topLeft() <<
r.bottomRight();
327 for (
const auto &
c:
p.
path())
333 stream <<
p.perimeter().size();
334 for (
const auto &
c:
p.perimeter())
414#include "moc_qgeoshape.cpp"
\inmodule QtCore\reentrant
virtual bool operator==(const QGeoShapePrivate &other) const
virtual ~QGeoShapePrivate()
virtual size_t hash(size_t seed) const =0
QGeoShape()
Constructs a new invalid geo shape of \l UnknownType.
bool isValid
This property holds the validity of the geo shape.
QGeoShape & operator=(const QGeoShape &other)
Assigns other to this geo shape and returns a reference to this geo shape.
QSharedDataPointer< QGeoShapePrivate > d_ptr
ShapeType type
This property holds the type of this geo shape.
Q_INVOKABLE QGeoRectangle boundingGeoRectangle() const
Returns a QGeoRectangle representing the geographical bounding rectangle of the geo shape,...
Q_INVOKABLE bool contains(const QGeoCoordinate &coordinate) const
Returns whether the coordinate coordinate is contained within this geo shape.
Q_INVOKABLE QString toString() const
Returns a string representation of this geo shape.
~QGeoShape()
Destroys this geo shape.
ShapeType
Describes the type of the shape.
bool isEmpty
This property defines whether this geo shape is empty.
void append(parameter_type t)
const T * constData() const noexcept
Returns a const pointer to the shared data object.
T * data()
Returns a pointer to the shared data object.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
size_t qHash(const QFileSystemWatcherPathKey &key, size_t seed=0)
constexpr QtPrivate::QHashMultiReturnType< T... > qHashMulti(size_t seed, const T &... args) noexcept(std::conjunction_v< QtPrivate::QNothrowHashable< T >... >)
GLsizei const GLchar *const * path
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
#define QStringLiteral(str)