The PesudoLocalFetcher class works in upper machines this is using in preview and test the ui behaviours. More...
Public Member Functions | |
Q_DISABLE_COPY (PesudoLocalFetcher) | |
disable copy | |
float | fetch_local_tempature () override |
fetch_local_tempature is the main function to fetch the local temperature | |
QString | makeup_toast_message () override |
makeup_toast_message is the message that will be displayed in the toast, so this functions is using in indicating how to format the message | |
![]() | |
LocalWeatherLightFetcher ()=default | |
Construct a new Local Weather Light Fetcher object. | |
Q_DISABLE_COPY (LocalWeatherLightFetcher) | |
disable copy | |
Static Public Attributes | |
static constexpr float | temp_min = 20.0 |
temp_min matters the rand gen's minimals | |
static constexpr float | temp_max = 25.0 |
temp_max matters the rand gen's maximals | |
The PesudoLocalFetcher class works in upper machines this is using in preview and test the ui behaviours.
|
inlineoverridevirtual |
fetch_local_tempature is the main function to fetch the local temperature
Implements LocalWeatherLightFetcher.
|
inlineoverridevirtual |
makeup_toast_message is the message that will be displayed in the toast, so this functions is using in indicating how to format the message
Implements LocalWeatherLightFetcher.