summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextmarkdownwriter.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2019-05-03 11:43:03 +0200
committerLars Knoll <lars.knoll@qt.io>2019-05-03 10:04:47 +0000
commite929808c83e4a473135590c69413a98f36a3500a (patch)
tree0ff2be53c520fd4912f881d905d9789dea57a627 /src/gui/text/qtextmarkdownwriter.cpp
parent1f1e04f29f93401c8d0aa0941f92cc1e4a6c7688 (diff)
Prefix QTextStream operators with Qt::
Change-Id: I128769cb78abb8168f0bf29cef8c693073793ced Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/text/qtextmarkdownwriter.cpp')
-rw-r--r--src/gui/text/qtextmarkdownwriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/text/qtextmarkdownwriter.cpp b/src/gui/text/qtextmarkdownwriter.cpp
index fed4a7b766..313d62bb8a 100644
--- a/src/gui/text/qtextmarkdownwriter.cpp
+++ b/src/gui/text/qtextmarkdownwriter.cpp
@@ -80,10 +80,10 @@ void QTextMarkdownWriter::writeTable(const QAbstractTableModel &table)
QString s = table.headerData(col, Qt::Horizontal).toString();
m_stream << "|" << s << QString(tableColumnWidths[col] - s.length(), Space);
}
- m_stream << "|" << endl;
+ m_stream << "|" << Qt::endl;
for (int col = 0; col < tableColumnWidths.length(); ++col)
m_stream << '|' << QString(tableColumnWidths[col], QLatin1Char('-'));
- m_stream << '|'<< endl;
+ m_stream << '|'<< Qt::endl;
// write the body
for (int row = 0; row < table.rowCount(); ++row) {
@@ -91,7 +91,7 @@ void QTextMarkdownWriter::writeTable(const QAbstractTableModel &table)
QString s = table.data(table.index(row, col)).toString();
m_stream << "|" << s << QString(tableColumnWidths[col] - s.length(), Space);
}
- m_stream << '|'<< endl;
+ m_stream << '|'<< Qt::endl;
}
}