![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "projectprocessor.h"#include "qrcreader.h"#include <translator.h>#include <trlib/trparser.h>#include <QtCore/qdir.h>#include <QtCore/qfile.h>#include <QtCore/qfileinfo.h>#include <QtCore/qregularexpression.h>#include <QtCore/qset.h>#include <iostream>Go to the source code of this file.
Functions | |
| QT_BEGIN_NAMESPACE QStringList | getSourceFilesFromQrc (const QString &resourceFile) |
| bool | processProjectDescription (Projects &projectDescription, const QStringList &tsFileNames, const QStringList &alienFiles, const QString &sourceLanguage, const QString &targetLanguage, UpdateOptions options) |
| bool | processSourceFiles (const QStringList &sourceFiles, const QStringList &tsFileNames, const QStringList &alienFiles, const QSet< QString > &projectRoots, const QStringList &includePath, const QMultiHash< QString, QString > &allCSources, const QString &sourceLanguage, const QString &targetLanguage, UpdateOptions options) |
| QT_BEGIN_NAMESPACE QStringList getSourceFilesFromQrc | ( | const QString & | resourceFile | ) |
Returns a list of source files frm the given resource file
Definition at line 373 of file projectprocessor.cpp.
| bool processProjectDescription | ( | Projects & | projectDescription, |
| const QStringList & | tsFileNames, | ||
| const QStringList & | alienFiles, | ||
| const QString & | sourceLanguage, | ||
| const QString & | targetLanguage, | ||
| UpdateOptions | options ) |
Process a project description and update translation files Returns false if errors occurred
Definition at line 391 of file projectprocessor.cpp.
| bool processSourceFiles | ( | const QStringList & | sourceFiles, |
| const QStringList & | tsFileNames, | ||
| const QStringList & | alienFiles, | ||
| const QSet< QString > & | projectRoots, | ||
| const QStringList & | includePath, | ||
| const QMultiHash< QString, QString > & | allCSources, | ||
| const QString & | sourceLanguage, | ||
| const QString & | targetLanguage, | ||
| UpdateOptions | options ) |
Process direct source files (non-project mode) and update translation files Returns false if errors occurred
Definition at line 419 of file projectprocessor.cpp.
References ConversionData::m_noUiLines, ConversionData::m_sourceIsUtf16, NoUiLines, and SourceIsUtf16.