필터 소스코드 정리
This commit is contained in:
@@ -350,33 +350,6 @@ str += QString::number(stbody.sharecount) + ",";
|
||||
return true;
|
||||
}
|
||||
|
||||
void SConsumer::SReplyConsumerMap::makeTable(SDatagroup &_datagroup, const QMap<int, stReal> &_mapCategory)
|
||||
{
|
||||
int num = 0;
|
||||
const QStringList* orderedUrl = _datagroup.getOrderedUrl();
|
||||
for (QMap<int, stReal>::const_iterator iterPos = _mapCategory.constBegin(); iterPos != _mapCategory.constEnd(); iterPos++)
|
||||
{
|
||||
const stReal& streal = iterPos.value();
|
||||
foreach (const QString& strUrl, *orderedUrl)
|
||||
{
|
||||
if (streal.m_setRealAllUrl.contains(strUrl))
|
||||
{
|
||||
if (_datagroup.getstBody(strUrl)->replycount == 0)
|
||||
continue;
|
||||
|
||||
const QMap<int, SDatagroup::stReply>* mapReply = _datagroup.getstReply(strUrl);
|
||||
|
||||
for(QMap<int, SDatagroup::stReply>::const_iterator iterPos1 = mapReply->constBegin(); iterPos1 != mapReply->constEnd(); iterPos1++)
|
||||
{
|
||||
stReplyConsumerMap streply;
|
||||
streply.num = num++;
|
||||
streply.category_num = iterPos.key();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QString SConsumer::SStatsJson::getStatsJsonBySubtitle(QString _subtitle)
|
||||
{
|
||||
foreach (stStatsJson statsJson, m_listMap)
|
||||
|
||||
Reference in New Issue
Block a user