4#include <QGeoAreaMonitorInfo>
10#ifndef QT_NO_DEBUG_STREAM
63 persistent =
other.persistent;
64 notificationParameters =
other.notificationParameters;
65 expiry =
other.expiry;
312 return (lhs.d->
name == rhs.d->
name &&
313 lhs.d->
uid == rhs.d->
uid &&
320#ifndef QT_NO_DATASTREAM
331 ds << monitor.
name() << monitor.d->
uid << monitor.
area()
375#ifndef QT_NO_DEBUG_STREAM
379 dbg.nospace() <<
"QGeoAreaMonitorInfo(\"" <<
qPrintable(monitor.
name())
380 <<
"\", " << monitor.
area()
382 <<
", expiry: " << monitor.
expiration() <<
")";
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
void detach()
If the shared data object's reference count is greater than 1, this function creates a deep copy of t...
QGeoAreaMonitorInfoPrivate()
QVariantMap notificationParameters
QGeoAreaMonitorInfoPrivate(const QGeoAreaMonitorInfoPrivate &other)
~QGeoAreaMonitorInfoPrivate()
void setArea(const QGeoShape &newShape)
Sets the to-be-monitored area to newShape.
void setName(const QString &name)
Sets the user visibile name.
QGeoAreaMonitorInfo(const QString &name=QString())
Constructs a QGeoAreaMonitorInfo object with the specified name.
void setExpiration(const QDateTime &expiry)
Sets the expiry date and time to expiry.
friend class QGeoAreaMonitorInfoPrivate
QGeoShape area() const
Returns the boundaries of the to-be-monitored area.
void setNotificationParameters(const QVariantMap ¶meters)
Sets the set of platform specific parameters used by QGeoAreaMonitorInfo.
bool isValid() const
Returns true, if the monitor is valid.
void setPersistent(bool isPersistent)
Sets the QGeoAreaMonitorInfo object's persistence to isPersistent.
QString identifier() const
Returns the identifier of the QGeoAreaMonitorInfo object.
QVariantMap notificationParameters() const
Returns the set of platform specific parameters used by this QGeoAreaMonitorInfo.
~QGeoAreaMonitorInfo()
Destructor.
QDateTime expiration() const
Returns the expiry date.
QString name() const
Returns the name of the QGeoAreaMonitorInfo object.
bool isPersistent() const
Returns true if the QGeoAreaMonitorInfo is persistent.
bool isEmpty
This property defines whether this geo shape is empty.
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
static QUuid createUuid()
On any platform other than Windows, this function returns a new UUID with variant QUuid::DCE and vers...
QString toString(StringFormat mode=WithBraces) const
QMap< QString, QString > map
[6]
Combined button and popup list for selecting options.
char * toString(const MyPoint &point)
Q_CORE_EXPORT char * qstrdup(const char *)
size_t qHash(const QGeoAreaMonitorInfo &key, size_t seed) noexcept
constexpr QtPrivate::QHashMultiReturnType< T... > qHashMulti(size_t seed, const T &... args) noexcept(std::conjunction_v< QtPrivate::QNothrowHashable< T >... >)
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
#define QT_DEFINE_QESDP_SPECIALIZATION_DTOR(Class)
#define qPrintable(string)
QFileInfo info(fileName)
[8]