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
releasehelper.h File Reference

(bf7591432d4bfc03c104b53a2a965267f367a94f)

#include <QtCore/qstringlist.h>
Include dependency graph for releasehelper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ParamFlags

Typedefs

using Projects = std::vector<Project>

Functions

bool loadTsFile (Translator &tor, const QString &tsFileName)
bool releaseTranslator (Translator &tor, const QString &qmFileName, ConversionData &cd, ParamFlags params)
bool releaseTsFile (const QString &tsFileName, ConversionData &cd, ParamFlags params)
QStringList translationsFromProject (const Project &project, bool topLevel)
QStringList translationsFromProjects (const Projects &projects, bool topLevel=true)
void printOut (const QString &out)
void printErr (const QString &out)

Typedef Documentation

◆ Projects

Definition at line 14 of file releasehelper.h.

Function Documentation

◆ loadTsFile()

bool loadTsFile ( Translator & tor,
const QString & tsFileName )

Definition at line 28 of file releasehelper.cpp.

References ConversionData::clearErrors().

Here is the call graph for this function:

◆ printErr()

void printErr ( const QString & out)

Definition at line 30 of file main.cpp.

◆ printOut()

QT_BEGIN_NAMESPACE void printOut ( const QString & out)

Definition at line 25 of file main.cpp.

◆ releaseTranslator()

bool releaseTranslator ( Translator & tor,
const QString & qmFileName,
ConversionData & cd,
ParamFlags params )

◆ releaseTsFile()

bool releaseTsFile ( const QString & tsFileName,
ConversionData & cd,
ParamFlags params )

Definition at line 107 of file releasehelper.cpp.

◆ translationsFromProject()

QStringList translationsFromProject ( const Project & project,
bool topLevel )

Definition at line 125 of file releasehelper.cpp.

◆ translationsFromProjects()

QStringList translationsFromProjects ( const Projects & projects,
bool topLevel = true )

Definition at line 138 of file releasehelper.cpp.