summaryrefslogtreecommitdiff
path: root/src/linguist
diff options
context:
space:
mode:
Diffstat (limited to 'src/linguist')
-rw-r--r--src/linguist/linguist/mainwindow.cpp2
-rw-r--r--src/linguist/shared/po.cpp2
-rw-r--r--src/linguist/shared/ts.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/linguist/linguist/mainwindow.cpp b/src/linguist/linguist/mainwindow.cpp
index f443d25ea..a738896f9 100644
--- a/src/linguist/linguist/mainwindow.cpp
+++ b/src/linguist/linguist/mainwindow.cpp
@@ -1347,7 +1347,7 @@ void MainWindow::manual()
<< (QT_VERSION >> 16) << ((QT_VERSION >> 8) & 0xFF)
<< (QT_VERSION & 0xFF)
<< QLatin1String("/qtlinguist/qtlinguist-index.html")
- << QLatin1Char('\n') << endl;
+ << QLatin1Char('\n') << Qt::endl;
}
void MainWindow::about()
diff --git a/src/linguist/shared/po.cpp b/src/linguist/shared/po.cpp
index 4e623e6a3..19ba12b96 100644
--- a/src/linguist/shared/po.cpp
+++ b/src/linguist/shared/po.cpp
@@ -779,7 +779,7 @@ bool savePO(const Translator &translator, QIODevice &dev, ConversionData &)
out << poEscapedString(QString(), QString::fromLatin1("msgstr"), true, hdrStr);
foreach (const TranslatorMessage &msg, translator.messages()) {
- out << endl;
+ out << Qt::endl;
if (!msg.translatorComment().isEmpty())
out << poEscapedLines(QLatin1String("#"), true, msg.translatorComment());
diff --git a/src/linguist/shared/ts.cpp b/src/linguist/shared/ts.cpp
index 153f9708b..6a3f56d52 100644
--- a/src/linguist/shared/ts.cpp
+++ b/src/linguist/shared/ts.cpp
@@ -486,7 +486,7 @@ static void writeExtras(QTextStream &t, const char *indent,
}
outs.sort();
foreach (const QString &out, outs)
- t << indent << out << endl;
+ t << indent << out << Qt::endl;
}
static void writeVariants(QTextStream &t, const char *indent, const QString &input)