MythTV
master
mythplugins
mythnews
mythnews
newsarticle.cpp
Go to the documentation of this file.
1
// MythNews headers
2
#include "
newsarticle.h
"
3
4
NewsArticle::NewsArticle
(QString title, QString desc, QString articleURL,
5
QString thumbnail, QString mediaURL, QString enclosure) :
6
m_title(
std
::move(title)),
7
m_desc(
std
::move(desc)),
8
m_articleURL(
std
::move(articleURL)),
9
m_thumbnail(
std
::move(thumbnail)),
10
m_mediaURL(
std
::move(mediaURL)),
11
m_enclosure(
std
::move(enclosure))
12
{
13
}
14
15
NewsArticle::NewsArticle
(QString title, QString desc,
16
QString articleURL) :
17
m_title(
std
::move(title)),
18
m_desc(
std
::move(desc)),
19
m_articleURL(
std
::move(articleURL))
20
{
21
}
22
23
NewsArticle::NewsArticle
(QString title) :
24
m_title(
std
::move(title))
25
{
26
}
NewsArticle::NewsArticle
NewsArticle()=default
std
STL namespace.
newsarticle.h
Generated on Tue Oct 28 2025 03:15:55 for MythTV by
1.9.4