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

#include <newsarticle.h>

Public Types

typedef vector< NewsArticleList
 

Public Member Functions

 NewsArticle (const QString &title, const QString &desc, const QString &articleURL, const QString &thumbnail, const QString &mediaURL, const QString &enclosure)
 
 NewsArticle (const QString &title, const QString &desc, const QString &articleURL)
 
 NewsArticle (const 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

typedef vector<NewsArticle> NewsArticle::List

Definition at line 14 of file newsarticle.h.

Constructor & Destructor Documentation

◆ NewsArticle() [1/4]

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

Definition at line 4 of file newsarticle.cpp.

◆ NewsArticle() [2/4]

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

Definition at line 17 of file newsarticle.cpp.

◆ NewsArticle() [3/4]

NewsArticle::NewsArticle ( const QString &  title)
explicit

Definition at line 25 of file newsarticle.cpp.

◆ NewsArticle() [4/4]

NewsArticle::NewsArticle ( )
default

Member Function Documentation

◆ title()

QString NewsArticle::title ( void  ) const
inline

Definition at line 26 of file newsarticle.h.

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

◆ description()

QString NewsArticle::description ( void  ) const
inline

Definition at line 27 of file newsarticle.h.

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

◆ articleURL()

QString NewsArticle::articleURL ( void  ) const
inline

Definition at line 28 of file newsarticle.h.

Referenced by MythNews::slotViewArticle().

◆ thumbnail()

QString NewsArticle::thumbnail ( void  ) const
inline

Definition at line 29 of file newsarticle.h.

Referenced by MythNews::updateInfoView().

◆ mediaURL()

QString NewsArticle::mediaURL ( void  ) const
inline

Definition at line 30 of file newsarticle.h.

◆ enclosure()

QString NewsArticle::enclosure ( void  ) const
inline

Member Data Documentation

◆ m_title

QString NewsArticle::m_title
private

Definition at line 34 of file newsarticle.h.

◆ m_desc

QString NewsArticle::m_desc
private

Definition at line 35 of file newsarticle.h.

◆ m_articleURL

QString NewsArticle::m_articleURL
private

Definition at line 36 of file newsarticle.h.

◆ m_thumbnail

QString NewsArticle::m_thumbnail
private

Definition at line 37 of file newsarticle.h.

◆ m_mediaURL

QString NewsArticle::m_mediaURL
private

Definition at line 38 of file newsarticle.h.

◆ m_enclosure

QString NewsArticle::m_enclosure
private

Definition at line 39 of file newsarticle.h.

◆ m_enclosureType

QString NewsArticle::m_enclosureType
private

Definition at line 40 of file newsarticle.h.


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