Rss filtering application - help
-
I am new to QT programming.
I have created a RSS feed application with QT QMl. Now I want to filter the contents in xml and display filtered data.
I've implemented them in list view and listModel. Application is very similar to Rss example in QT. but Rssfeeds file is this
@
ListModel {
id: rssFeedsListElement { name: "Today"; feed: "rss.news.yahoo.com/rss/world" } ListElement { name: "Lastweek"; feed: "rss.news.yahoo.com/rss/world" } ListElement { name: "Yesterday"; feed: "rss.news.yahoo.com/rss/europe" }
}
@
I want to display items belongs to today when user click on "toDay" element.instead of feed property I want to filter the items relevant to date and week when user click on the ListElement. Can someone tell me how to do this.
-
Please be sure and wrap your code in @-tags.