mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2021-01-25 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDFeedListModel' class * Refactored the top-level window in rdcastmanager(1) to use the model-based API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -41,11 +41,10 @@
|
||||
#include "../icons/whiteball.xpm"
|
||||
#include "../icons/rdcastmanager-32x32.xpm"
|
||||
|
||||
ListCasts::ListCasts(unsigned feed_id,bool is_super,QWidget *parent)
|
||||
ListCasts::ListCasts(unsigned feed_id,QWidget *parent)
|
||||
: RDDialog(parent)
|
||||
{
|
||||
list_feed_id=feed_id;
|
||||
list_is_superfeed=is_super;
|
||||
|
||||
setWindowTitle("RDCastManager - "+tr("Podcast Item List")+
|
||||
" [Feed ID: "+QString().sprintf("%u",feed_id)+"]");
|
||||
@@ -486,7 +485,7 @@ void ListCasts::postProgressChangedData(int step)
|
||||
|
||||
void ListCasts::closeData()
|
||||
{
|
||||
done(0);
|
||||
done(true);
|
||||
}
|
||||
|
||||
|
||||
@@ -566,7 +565,7 @@ void ListCasts::RefreshList()
|
||||
|
||||
list_casts_view->clear();
|
||||
sql=QString("select ID from PODCASTS ")+
|
||||
RDCastSearch(list_feed->keyName(),list_is_superfeed,
|
||||
RDCastSearch(list_feed->keyName(),false,
|
||||
list_filter_edit->text(),
|
||||
list_active_check->isChecked())+
|
||||
" order by ORIGIN_DATETIME";
|
||||
|
Reference in New Issue
Block a user