mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2020-07-02 Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.CHANNEL_SUB_CATEGORY' field to the database. * Incremented the database version to 327. * Added 'RDFeed::channelSubCategory()' and 'RDFeed::setChannelSubCategory()' methods. * Added a 'RDRssCategoryBox' widget. * Updated the 'Edit Feed' dialog in rdadmin(1) to use the 'RDRssCategoryBox' widget. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#define RDRSSSCHEMAS_H
|
||||
|
||||
#include <qlist.h>
|
||||
#include <qmap.h>
|
||||
#include <qstring.h>
|
||||
#include <qsize.h>
|
||||
#include <qstringlist.h>
|
||||
@@ -39,6 +40,8 @@ class RDRssSchemas
|
||||
QString channelTemplate(RssSchema schema) const;
|
||||
QString itemTemplate(RssSchema schema) const;
|
||||
bool supportsItemImages(RssSchema schema) const;
|
||||
QStringList categories(RssSchema schema) const;
|
||||
QStringList subCategories(RssSchema schema,const QString &category) const;
|
||||
|
||||
private:
|
||||
QStringList c_names;
|
||||
@@ -48,6 +51,8 @@ class RDRssSchemas
|
||||
QStringList c_channel_templates;
|
||||
QStringList c_item_templates;
|
||||
QList<bool> c_supports_item_images;
|
||||
QList<QStringList> c_categories;
|
||||
QList<QMap<QString,QStringList> > c_sub_categories;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user