Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/KisMultiFeedRSSModel.cpp
Context not available. | |||||
197 | RssItem item = m_aggregatedFeed.at(index.row()); | 197 | RssItem item = m_aggregatedFeed.at(index.row()); | ||
---|---|---|---|---|---|
198 | 198 | | |||
199 | switch (role) { | 199 | switch (role) { | ||
200 | case Qt::DisplayRole: // fall through | 200 | case Qt::DisplayRole: | ||
201 | { | ||||
202 | return QString("<b><big>" + item.title + "</big></b>" | ||||
203 | "<p><small>" + item.pubDate.toString("dd-MM-yyyy hh:mm") + "</small></p>" | ||||
204 | "<p>" + item.description + "</p><hr>"); | ||||
205 | } | ||||
201 | case TitleRole: | 206 | case TitleRole: | ||
202 | return item.title; | 207 | return item.title; | ||
203 | case DescriptionRole: | 208 | case DescriptionRole: | ||
Context not available. |