ModemManagerQt
modemtime.cpp
107 connect(&d->modemTimeIface, &OrgFreedesktopModemManager1ModemTimeInterface::NetworkTimeChanged, d, &ModemTimePrivate::onNetworkTimeChanged);
143ModemManager::NetworkTimezone ModemManager::ModemTimePrivate::variantMapToTimezone(const QVariantMap &map)
181void ModemManager::ModemTimePrivate::onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps)
188 QVariantMap::const_iterator it = properties.constFind(QLatin1String(MM_MODEM_TIME_PROPERTY_NETWORKTIMEZONE));
void networkTimeChanged(const QDateTime &dateTime)
Sent when the network time is updated.
QDBusPendingReply< QString > networkTime()
Definition modemtime.cpp:129
ModemManager::NetworkTimezone networkTimezone() const
Definition modemtime.cpp:136
void setTimeout(int timeout)
Sets the timeout in milliseconds for all async method DBus calls.
Definition modemtime.cpp:159
int timeout() const
Returns the current value of the DBus timeout in milliseconds.
Definition modemtime.cpp:165
This class represents the timezone data provided by the network.
Definition modemtime.h:27
int leapSecond() const
Returns number of leap seconds included in the network time.
Definition modemtime.cpp:68
void setDstOffset(int dstOffset)
Sets amount of offset that is due to DST.
Definition modemtime.cpp:63
int offset() const
Returns offset of the timezone from UTC, in minutes (including DST, if applicable)
Definition modemtime.cpp:48
void setLeapSecond(int leapSecond)
Sets number of leap seconds included in the network timezone.
Definition modemtime.cpp:73
int dstOffset() const
Returns amount of offset that is due to DST (daylight saving time)
Definition modemtime.cpp:58
NetworkTimezone & operator=(const NetworkTimezone &other)
Makes a copy of the NetworkTimezone object other.
Definition modemtime.cpp:78
KGuiItem properties()
This namespace allows to query the underlying system to discover the available modem interfaces respo...
Definition bearer.cpp:20
QDateTime fromString(QStringView string, QStringView format, QCalendar cal)
bool isValid() const const
bool connect(const QString &service, const QString &path, const QString &interface, const QString &name, QObject *receiver, const char *slot)
QDBusConnection sessionBus()
QDBusConnection systemBus()
ISODate
QFuture< void > map(Iterator begin, Iterator end, MapFunctor &&function)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.