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

(37a4d711555f1876a5d861da556160e90d5f4e33)

#include "translator.h"
#include <QtCore/QByteArray>
#include <QtCore/QDebug>
#include <QtCore/QTextStream>
#include <QtCore/QXmlStreamReader>
Include dependency graph for qph.cpp:

Go to the source code of this file.

Classes

class  QPHReader

Functions

static bool loadQPH (Translator &translator, QIODevice &dev, ConversionData &)
static QString qphProtect (const QString &str)
static bool saveQPH (const Translator &translator, QIODevice &dev, ConversionData &)
int initQPH ()

Function Documentation

◆ initQPH()

int initQPH ( )

Definition at line 149 of file qph.cpp.

References Translator::FileFormat::loader, loadQPH(), Translator::FileFormat::priority, Translator::registerFileFormat(), saveQPH(), Translator::FileFormat::saver, Translator::FileFormat::TranslationSource, and Translator::FileFormat::untranslatedDescription.

Here is the call graph for this function:

◆ loadQPH()

bool loadQPH ( Translator & translator,
QIODevice & dev,
ConversionData &  )
static

Definition at line 83 of file qph.cpp.

References QPHReader::QPHReader(), Translator::NoLocations, QPHReader::read(), and Translator::setLocationsType().

Referenced by initQPH().

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

◆ qphProtect()

QString qphProtect ( const QString & str)
static

Definition at line 90 of file qph.cpp.

◆ saveQPH()

bool saveQPH ( const Translator & translator,
QIODevice & dev,
ConversionData &  )
static

Definition at line 122 of file qph.cpp.

Referenced by initQPH().

Here is the caller graph for this function: