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

(a304298882c7ae6e1a99376a83396044b21ac1f5)

#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

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

Function Documentation

◆ applySameTextHeuristic()

int applySameTextHeuristic ( Translator & tor)

Definition at line 29 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 82 of file merge.cpp.

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

Here is the call graph for this function: