MCPcopy Create free account
hub / github.com/RetroShare/RetroShare / feedName

Method feedName

plugins/FeedReader/gui/FeedReaderMessageWidget.cpp:292–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292QString FeedReaderMessageWidget::feedName(bool withUnreadCount)
293{
294 QString name = mFeedInfo.name.empty() ? tr("No name") : QString::fromUtf8(mFeedInfo.name.c_str());
295
296 if (withUnreadCount && mUnreadCount) {
297 name += QString(" (%1)").arg(mUnreadCount);
298 }
299
300 return name;
301}
302
303QIcon FeedReaderMessageWidget::feedIcon()
304{

Callers 2

createMessageWidgetMethod · 0.80
messageTabInfoChangedMethod · 0.80

Calls 3

emptyMethod · 0.80
argMethod · 0.80
QStringClass · 0.50

Tested by

no test coverage detected