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
merge.cpp File Reference

(cda38d3d08e689deab506a11ed8c54a04d3f40d4)

#include "lupdate.h"
#include "simtexth.h"
#include "translator.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QStringList>
+ Include dependency graph for merge.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE int applySameTextHeuristic (Translator &tor)
 
Translator merge (const Translator &tor, const Translator &virginTor, const QList< Translator > &aliens, UpdateOptions options, QString &err)
 

Function Documentation

◆ applySameTextHeuristic()

QT_BEGIN_NAMESPACE int applySameTextHeuristic ( Translator & tor)

Definition at line 27 of file merge.cpp.

References TranslatorMessage::isTranslated(), Translator::message(), and Translator::messageCount().

Referenced by merge().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ merge()

Translator merge ( const Translator & tor,
const Translator & virginTor,
const QList< Translator > & aliens,
UpdateOptions options,
QString & err )

Definition at line 80 of file merge.cpp.

References applySameTextHeuristic(), HeuristicSameText, Translator::locationsType(), NoObsolete, Translator::setLocationsType(), and Verbose.

+ Here is the call graph for this function: