MythTV  master
Public Types | Public Member Functions | Private Attributes | List of all members
NewsArticle Class Reference

#include <newsarticle.h>

Public Types

using List = vector< NewsArticle >
 

Public Member Functions

 NewsArticle (QString title, QString desc, QString articleURL, QString thumbnail, QString mediaURL, QString enclosure)
 
 NewsArticle (QString title, QString desc, QString articleURL)
 
 NewsArticle (QString title)
 
 NewsArticle ()=default
 
QString title (void) const
 
QString description (void) const
 
QString articleURL (void) const
 
QString thumbnail (void) const
 
QString mediaURL (void) const
 
QString enclosure (void) const
 

Private Attributes

QString m_title
 
QString m_desc
 
QString m_articleURL
 
QString m_thumbnail
 
QString m_mediaURL
 
QString m_enclosure
 
QString m_enclosureType
 

Detailed Description

Definition at line 11 of file newsarticle.h.

Member Typedef Documentation

◆ List

using NewsArticle::List = vector<NewsArticle>

Definition at line 14 of file newsarticle.h.

Constructor & Destructor Documentation

◆ NewsArticle() [1/4]

NewsArticle::NewsArticle ( QString  title,
QString  desc,
QString  articleURL,
QString  thumbnail,
QString  mediaURL,
QString  enclosure 
)

Definition at line 4 of file newsarticle.cpp.

◆ NewsArticle() [2/4]

NewsArticle::NewsArticle ( QString  title,
QString  desc,
QString  articleURL 
)

Definition at line 15 of file newsarticle.cpp.

◆ NewsArticle() [3/4]

NewsArticle::NewsArticle ( QString  title)
explicit

Definition at line 23 of file newsarticle.cpp.

◆ NewsArticle() [4/4]

NewsArticle::NewsArticle ( )
default

Member Function Documentation

◆ title()

QString NewsArticle::title ( void  ) const
inline

Definition at line 23 of file newsarticle.h.

Referenced by MythNews::playVideo(), and MythNews::updateInfoView().

◆ description()

QString NewsArticle::description ( void  ) const
inline

Definition at line 24 of file newsarticle.h.

Referenced by MythNews::playVideo(), and MythNews::updateInfoView().

◆ articleURL()

QString NewsArticle::articleURL ( void  ) const
inline

Definition at line 25 of file newsarticle.h.

Referenced by MythNews::slotViewArticle().

◆ thumbnail()

QString NewsArticle::thumbnail ( void  ) const
inline

Definition at line 26 of file newsarticle.h.

Referenced by MythNews::updateInfoView().

◆ mediaURL()

QString NewsArticle::mediaURL ( void  ) const
inline

Definition at line 27 of file newsarticle.h.

◆ enclosure()

QString NewsArticle::enclosure ( void  ) const
inline

Member Data Documentation

◆ m_title

QString NewsArticle::m_title
private

Definition at line 31 of file newsarticle.h.

◆ m_desc

QString NewsArticle::m_desc
private

Definition at line 32 of file newsarticle.h.

◆ m_articleURL

QString NewsArticle::m_articleURL
private

Definition at line 33 of file newsarticle.h.

◆ m_thumbnail

QString NewsArticle::m_thumbnail
private

Definition at line 34 of file newsarticle.h.

◆ m_mediaURL

QString NewsArticle::m_mediaURL
private

Definition at line 35 of file newsarticle.h.

◆ m_enclosure

QString NewsArticle::m_enclosure
private

Definition at line 36 of file newsarticle.h.

◆ m_enclosureType

QString NewsArticle::m_enclosureType
private

Definition at line 37 of file newsarticle.h.


The documentation for this class was generated from the following files: