Adds immediate migration results
This commit is contained in:
2395 files changed
+357322
-2524
No files matched your search
@@ -7,6 +7,7 @@
|
||||
|
||||
|
||||
#include "printing_base.h"
|
||||
#include <utility>
|
||||
#include <ngltools/ngltools_filesystem.h>
|
||||
|
||||
#include <QDateTime>
|
||||
@@ -251,7 +252,7 @@ bool Base::printListData(QString &str,
|
||||
QLatin1String("<tr>");
|
||||
|
||||
int columIdx = 0;
|
||||
for (const QModelIndex &mi :qAsConst(mil))
|
||||
for (const QModelIndex &mi :std::as_const(mil))
|
||||
{
|
||||
|
||||
if (columIdx >= nColums)
|
||||
@@ -281,7 +282,7 @@ bool Base::printListData(QString &str,
|
||||
else
|
||||
{
|
||||
|
||||
for (const QModelIndex &mi :qAsConst(mil))
|
||||
for (const QModelIndex &mi :std::as_const(mil))
|
||||
{
|
||||
if (printItemData(str, vm, mi, iconExtent))
|
||||
str += QLatin1String("<br />");
|
||||
@@ -363,7 +364,7 @@ bool Base::printTableData(QString &str,
|
||||
str += QLatin1String("<table border=\"1\" cellspacing=\"0\" cellpadding=\"3\" style=\"border-collapse:collapse\">") +
|
||||
QLatin1String("<thead>") +
|
||||
QLatin1String("<tr>");
|
||||
for (const QString &s : qAsConst(tableHeader))
|
||||
for (const QString &s : std::as_const(tableHeader))
|
||||
str += QLatin1String("<th scope=\"col\">") + s + QLatin1String("</th>");
|
||||
str += QLatin1String("</tr></thead><tbody>");
|
||||
|
||||
@@ -371,7 +372,7 @@ bool Base::printTableData(QString &str,
|
||||
|
||||
|
||||
QVector<QPair<int, int> > spannedL;
|
||||
for (const QModelIndex &mi :qAsConst(mil))
|
||||
for (const QModelIndex &mi :std::as_const(mil))
|
||||
{
|
||||
str += QLatin1String("<tr>");
|
||||
for (int ii = 0; ii < colCount; ii++)
|
||||
@@ -508,10 +509,10 @@ bool Base::printTreeData(QString &str,
|
||||
}
|
||||
}
|
||||
|
||||
for (const QString &s : qAsConst(tableHeader))
|
||||
for (const QString &s : std::as_const(tableHeader))
|
||||
str += QLatin1String("<th align=\"left\"><h4>") + s + QLatin1String("</h4></th>");
|
||||
str += QLatin1String("</tr>");
|
||||
for (const QModelIndex &miColumn0 : qAsConst(milColumn0))
|
||||
for (const QModelIndex &miColumn0 : std::as_const(milColumn0))
|
||||
printListPoint(str, view, vm, miColumn0, suppressCols, iconExtent);
|
||||
|
||||
str += QLatin1String("</tbody></table><br /><br />");
|
||||
|
||||
Reference in new issue
Block a user