Kstars
11#include <QJsonDocument>
13#include "indiconcretedevice.h"
23class Weather :
public ConcreteDevice
26 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.kstars.INDI.Weather")
27 Q_PROPERTY(ISD::Weather::Status status READ status NOTIFY newStatus)
28 Q_PROPERTY(
int refreshPeriod READ refreshPeriod WRITE setRefreshPeriod)
42 void processNumber(INDI::Property prop)
override;
43 void processLight(INDI::Property prop)
override;
48 void setRefreshPeriod(
int value);
65 void newStatus(ISD::Weather::Status status);
70 Status m_WeatherStatus { WEATHER_IDLE };
76Q_DECLARE_METATYPE(ISD::Weather::Status)
GenericDevice is the Generic Device for INDI devices.
QByteArray jsonData() const
jsondata Used for DBus
ISD is a collection of INDI Standard Devices.
QByteArray toJson(JsonFormat format) const const
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:02 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.