forked from qt-creator/qt-creator
encoding: Make sure all text files are utf8 encoded
Change-Id: Ib83224b24026c29158e8df8fa235cf5050390555 Reviewed-on: http://codereview.qt.nokia.com/281 Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -236,7 +236,7 @@
|
||||
\o Different languages have different word order rules.
|
||||
|
||||
Do not use run-time concatenation. Use complete phrases
|
||||
and “%1” formatting instead. For example, use:
|
||||
and "%1" formatting instead. For example, use:
|
||||
|
||||
\c{tr("Foo failed: %1").arg(message)}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
\section2 10.1.1 The Core::IFile interface
|
||||
|
||||
This interface abstracts file operations from the user-interface point of view. It provides virtual methods to load and
|
||||
save files, given a file name. It also helps in understanding the mime-type of file and value of certain flags like “modified”
|
||||
save files, given a file name. It also helps in understanding the mime-type of file and value of certain flags like "modified"
|
||||
and "read-only". The \bold{Core::IFile} interface is declared as follows in src/plugins/coreplugin/ifile.h
|
||||
|
||||
\code
|
||||
@@ -77,7 +77,7 @@
|
||||
actual disk-file contents have not been modified. \bold {QFile} emits the \bold {bytesWritten()} signal only when the
|
||||
disk-file contents have been modified.
|
||||
|
||||
\o \bold {IFile} has to handle how a modified file, on the disk, is reloaded. \bold {QFile} on the other-hand doesn’t need to
|
||||
\o \bold {IFile} has to handle how a modified file, on the disk, is reloaded. \bold {QFile} on the other-hand doesn't need to
|
||||
handle this.
|
||||
\endlist
|
||||
|
||||
|
||||
@@ -480,7 +480,7 @@
|
||||
}
|
||||
\endcode
|
||||
|
||||
The \bold{readFile()} method is implemented to read a file and return its contents as a string. Before returning the file’s
|
||||
The \bold{readFile()} method is implemented to read a file and return its contents as a string. Before returning the file's
|
||||
contents as string, the function uses the replacement table passed as second parameter to fix the string.
|
||||
|
||||
\code
|
||||
|
||||
@@ -623,17 +623,17 @@ void ProjectExplorerPlugin::testGccOutputParsers_data()
|
||||
<< QString();
|
||||
|
||||
QTest::newRow("enumeration warning")
|
||||
<< QString::fromLatin1("../../../src/shared/proparser/profileevaluator.cpp: In member function ‘ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateConditionalFunction(const ProString&, const ProStringList&)’:\n"
|
||||
"../../../src/shared/proparser/profileevaluator.cpp:2817:9: warning: case value ‘0’ not in enumerated type ‘ProFileEvaluator::Private::TestFunc’")
|
||||
<< QString::fromLatin1("../../../src/shared/proparser/profileevaluator.cpp: In member function 'ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateConditionalFunction(const ProString&, const ProStringList&)':\n"
|
||||
"../../../src/shared/proparser/profileevaluator.cpp:2817:9: warning: case value '0' not in enumerated type ‘ProFileEvaluator::Private::TestFunc’")
|
||||
<< OutputParserTester::STDERR
|
||||
<< QString() << QString()
|
||||
<< ( QList<ProjectExplorer::Task>()
|
||||
<< Task(Task::Unknown,
|
||||
QLatin1String("In member function ‘ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateConditionalFunction(const ProString&, const ProStringList&)’:"),
|
||||
QLatin1String("In member function 'ProFileEvaluator::Private::VisitReturn ProFileEvaluator::Private::evaluateConditionalFunction(const ProString&, const ProStringList&)':"),
|
||||
QLatin1String("../../../src/shared/proparser/profileevaluator.cpp"), -1,
|
||||
Constants::TASK_CATEGORY_COMPILE)
|
||||
<< Task(Task::Warning,
|
||||
QLatin1String("case value ‘0’ not in enumerated type ‘ProFileEvaluator::Private::TestFunc’"),
|
||||
QLatin1String("case value '0' not in enumerated type ‘ProFileEvaluator::Private::TestFunc’"),
|
||||
QLatin1String("../../../src/shared/proparser/profileevaluator.cpp"), 2817,
|
||||
Constants::TASK_CATEGORY_COMPILE))
|
||||
<< QString();
|
||||
|
||||
Reference in New Issue
Block a user