2020-08-08 Fred Gleason <fredg@paravelsystems.com>

* Added a 'PODCASTS.ORIGIN_LOGIN_NAME' field to the database.
	* Added a 'PODCASTS.ORIGIN_STATION' field to the database.
	* Incremented the database version to 330.
	* Changed the 'Origin' column to 'Start' in the 'Podcast Item List'
	dialog in rdcastmanager(1).
	* Added a 'Posted By' column to the 'Podcast Item List'	dialog in
	rdcastmanager(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2020-08-08 14:37:48 -04:00
parent a16e1b0dcc
commit 9a428ad855
19 changed files with 379 additions and 59 deletions

View File

@@ -233,6 +233,31 @@ void RDPodcast::setItemSourceUrl(const QString &str) const
}
QString RDPodcast::originLoginName() const
{
return RDGetSqlValue("PODCASTS","ID",podcast_id,"ORIGIN_LOGIN_NAME").
toString();
}
void RDPodcast::setOriginLoginName(const QString &str) const
{
SetRow("ORIGIN_LOGIN_NAME",str);
}
QString RDPodcast::originStation() const
{
return RDGetSqlValue("PODCASTS","ID",podcast_id,"ORIGIN_STATION").toString();
}
void RDPodcast::setOriginStation(const QString &str) const
{
SetRow("ORIGIN_STATION",str);
}
QDateTime RDPodcast::originDateTime() const
{
return RDGetSqlValue("PODCASTS","ID",podcast_id,