Search for usage in LXR

KWeatherCore::AlertFeedEntry Class Reference

#include <alertfeedentry.h>


QString area
QString certainty
QDateTime date
QString severity
QString summary
QString title
QString urgency

Public Member Functions

 AlertFeedEntry ()
 AlertFeedEntry (const AlertFeedEntry &other)
 AlertFeedEntry (AlertFeedEntry &&other)
const QStringarea () const
const AreaCodeVec & areaCodes () const
PendingCAPCAP () const
QString certainty () const
const QDateTimedate () const
AlertFeedEntryoperator= (const AlertFeedEntry &other)
AlertFeedEntryoperator= (AlertFeedEntry &&other)
const Polygon & polygon () const
void setArea (const QString &area)
void setAreaCodes (const AreaCodeVec &areaCodes)
void setAreaCodes (AreaCodeVec &&areaCodes)
void setCertainty (AlertInfo::Certainty certainty)
void setDate (const QDateTime &date)
void setPolygon (const Polygon &polygon)
void setPolygon (Polygon &&polygon)
void setSeverity (AlertInfo::Severity severity)
void setSummary (const QString &summary)
void setTitle (const QString &title)
void setUrgency (AlertInfo::Urgency urgency)
void setUrl (const QUrl &url)
QString severity () const
const QStringsummary () const
const QStringtitle () const
QString urgency () const

Detailed Description

Class represents single CAP.

This class contains the parsed CAP FEED entry

Han Young hanyo[email protected][email protected][email protected]proto[email protected]nmai[email protected]

Definition at line 24 of file alertfeedentry.h.

Constructor & Destructor Documentation

KWeatherCore::AlertFeedEntry::AlertFeedEntry ( )

default constructor

Definition at line 27 of file alertfeedentry.cpp.

KWeatherCore::AlertFeedEntry::AlertFeedEntry ( const AlertFeedEntry other)

copy constructor

Definition at line 31 of file alertfeedentry.cpp.

Member Function Documentation

const QString& KWeatherCore::AlertFeedEntry::area ( ) const

area name, for accurate location use if possible

const AreaCodeVec & KWeatherCore::AlertFeedEntry::areaCodes ( ) const


pairs of QString, the first one is code type, ie. {"UGC", "AKZ017 AKZ020 AKZ021 AKZ022 AKZ023"}

Definition at line 71 of file alertfeedentry.cpp.

PendingCAP * KWeatherCore::AlertFeedEntry::CAP ( ) const

CAP, request to download CAP file.

it is the client's responsibility to delete the PendingCAP afterward to avoid memory leak

Definition at line 65 of file alertfeedentry.cpp.

QString KWeatherCore::AlertFeedEntry::certainty ( ) const


localized, "Unknown" by defaut
const QDateTime& KWeatherCore::AlertFeedEntry::date ( ) const

could be date of the alert or the date of this message refer to CAP for accurate date see

const Polygon & KWeatherCore::AlertFeedEntry::polygon ( ) const

area polygon

latitude longitude pairs

Definition at line 75 of file alertfeedentry.cpp.

QString KWeatherCore::AlertFeedEntry::severity ( ) const


localized, "Unknown" by defaut
const QString& KWeatherCore::AlertFeedEntry::summary ( ) const

summary of this entry

const QString& KWeatherCore::AlertFeedEntry::title ( ) const

title of this entry

QString KWeatherCore::AlertFeedEntry::urgency ( ) const


localized, "Unknown" by defaut

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Oct 24 2021 23:03:28 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.