Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
projectprocessor.h File Reference

(eb3c0c85491a6d56a416080693dd681b4469a3a0)

#include "projectdescriptionreader.h"
#include <trlib/trparser.h>
#include <QtCore/qstring.h>
#include <QtCore/qstringlist.h>
Include dependency graph for projectprocessor.h:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

◆ getSourceFilesFromQrc()

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.

◆ processProjectDescription()

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.

◆ processSourceFiles()

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.