KWeatherCore::AlertManager
KWeatherCore::AlertManager Class Reference
#include <alertmanager.h>
Public Member Functions | |
AlertManager (const AlertManager &other) | |
QList< QString > | availableCountries () const |
PendingAlerts * | getAlerts (const QString &country) const |
AlertManager & | operator= (AlertManager &&other) |
AlertManager & | operator= (const AlertManager &other) |
Static Public Member Functions | |
static AlertManager * | inst () |
Detailed Description
The AlertManager class is intened to get pending weather alerts about a location.
- See also
- Pendingalerts
Definition at line 23 of file alertmanager.h.
Member Function Documentation
◆ availableCountries()
availableCountries
- Returns
- names of all available countries supported
Definition at line 86 of file alertmanager.cpp.
◆ getAlerts()
PendingAlerts * KWeatherCore::AlertManager::getAlerts | ( | const QString & | country | ) | const |
getAlerts
- Parameters
-
country country for which alerts have to be received
- Returns
- it is the client's responsibility to delete the PendingAlerts afterhand to avoid memory leak
Definition at line 90 of file alertmanager.cpp.
◆ inst()
|
static |
inst return a pointer to the global instance
- Returns
Definition at line 60 of file alertmanager.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:54:22 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:54:22 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.