diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-05-17 06:45:35 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-05-17 07:27:43 (GMT) |
commit | 1db36a5a37dcca0e24ada3c852f2647ab2330eee (patch) | |
tree | 49bdb24dde6e2cc6bc4d5c63281498c6b757ddeb /demos/declarative/rssnews/content/RssFeeds.qml | |
parent | 9663e257f28a89f26952f5d3822a343bfe12ee6e (diff) | |
download | Qt-1db36a5a37dcca0e24ada3c852f2647ab2330eee.zip Qt-1db36a5a37dcca0e24ada3c852f2647ab2330eee.tar.gz Qt-1db36a5a37dcca0e24ada3c852f2647ab2330eee.tar.bz2 |
Move xmldata example into rssnews demo.
Diffstat (limited to 'demos/declarative/rssnews/content/RssFeeds.qml')
-rw-r--r-- | demos/declarative/rssnews/content/RssFeeds.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/demos/declarative/rssnews/content/RssFeeds.qml b/demos/declarative/rssnews/content/RssFeeds.qml new file mode 100644 index 0000000..21e59fe --- /dev/null +++ b/demos/declarative/rssnews/content/RssFeeds.qml @@ -0,0 +1,18 @@ +import Qt 4.7 + +ListModel { + id: rssFeeds + + ListElement { name: "Top Stories"; feed: "rss.news.yahoo.com/rss/topstories" } + ListElement { name: "World"; feed: "rss.news.yahoo.com/rss/world" } + ListElement { name: "Europe"; feed: "rss.news.yahoo.com/rss/europe" } + ListElement { name: "Oceania"; feed: "rss.news.yahoo.com/rss/oceania" } + ListElement { name: "U.S. National"; feed: "rss.news.yahoo.com/rss/us" } + ListElement { name: "Politics"; feed: "rss.news.yahoo.com/rss/politics" } + ListElement { name: "Business"; feed: "rss.news.yahoo.com/rss/business" } + ListElement { name: "Technology"; feed: "rss.news.yahoo.com/rss/tech" } + ListElement { name: "Entertainment"; feed: "rss.news.yahoo.com/rss/entertainment" } + ListElement { name: "Health"; feed: "rss.news.yahoo.com/rss/health" } + ListElement { name: "Science"; feed: "rss.news.yahoo.com/rss/science" } + ListElement { name: "Sports"; feed: "rss.news.yahoo.com/rss/sports" } +} |