Search for usage in LXR

KWeatherCore::AlertManager Class Reference

#include <alertmanager.h>

Public Member Functions

 AlertManager (const AlertManager &other)
QList< QStringavailableCountries () const
PendingAlertsgetAlerts (const QString &country) const
AlertManageroperator= (AlertManager &&other)
AlertManageroperator= (const AlertManager &other)

Static Public Member Functions

static AlertManagerinst ()

Detailed Description

The AlertManager class is intened to get pending weather alerts about a location.

See also
Nikunj Goyal

Definition at line 23 of file alertmanager.h.

Constructor & Destructor Documentation

◆ AlertManager()

KWeatherCore::AlertManager::AlertManager ( const AlertManager & other)

Definition at line 50 of file alertmanager.cpp.

Member Function Documentation

◆ availableCountries()

QList< QString > KWeatherCore::AlertManager::availableCountries ( ) const


names of all available countries supported

Definition at line 86 of file alertmanager.cpp.

◆ getAlerts()

PendingAlerts * KWeatherCore::AlertManager::getAlerts ( const QString & country) const


countrycountry for which alerts have to be received
it is the client's responsibility to delete the PendingAlerts afterhand to avoid memory leak

Definition at line 90 of file alertmanager.cpp.

◆ inst()

AlertManager * KWeatherCore::AlertManager::inst ( )

inst return a pointer to the global instance


Definition at line 60 of file alertmanager.cpp.

◆ operator=()

AlertManager & KWeatherCore::AlertManager::operator= ( const AlertManager & other)

Definition at line 54 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-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.