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

(f0cefe48a1fe36e1374d0f4525332dc37e17aebf)

#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 148 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()

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

Definition at line 82 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()

static QString qphProtect ( const QString & str)
static

Definition at line 89 of file qph.cpp.

◆ saveQPH()

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

Definition at line 121 of file qph.cpp.

Referenced by initQPH().

+ Here is the caller graph for this function: