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

(9fc1bb8b9837c90ae2ad35ba4fa6c349daf7b91b)

#include "translator.h"
#include "simtexth.h"
#include <iostream>
#include <stdio.h>
#include <QtCore/QDebug>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtCore/QFileInfo>
#include <QtCore/QLocale>
#include <QtCore/QTextStream>
#include <private/qtranslator_p.h>
+ Include dependency graph for translator.cpp:

Go to the source code of this file.

Classes

class  TranslatorMessagePtrBase
 
class  TranslatorMessageIdPtr
 
class  TranslatorMessageContentPtr
 

Functions

static QString elidedId (const QString &id, int len)
 
static QString makeMsgId (const TranslatorMessage &msg)
 
static QString guessFormat (const QString &filename, const QString &format)
 
 Q_DECLARE_TYPEINFO (TranslatorMessageIdPtr, Q_RELOCATABLE_TYPE)
 
size_t qHash (TranslatorMessageIdPtr tmp)
 
bool operator== (TranslatorMessageIdPtr tmp1, TranslatorMessageIdPtr tmp2)
 
 Q_DECLARE_TYPEINFO (TranslatorMessageContentPtr, Q_RELOCATABLE_TYPE)
 
size_t qHash (TranslatorMessageContentPtr tmp)
 
bool operator== (TranslatorMessageContentPtr tmp1, TranslatorMessageContentPtr tmp2)
 

Function Documentation

◆ elidedId()

static QString elidedId ( const QString & id,
int len )
static

Definition at line 99 of file translator.cpp.

◆ guessFormat()

static QString guessFormat ( const QString & filename,
const QString & format )
static

Definition at line 229 of file translator.cpp.

◆ makeMsgId()

static QString makeMsgId ( const TranslatorMessage & msg)
static

Definition at line 104 of file translator.cpp.

◆ operator==() [1/2]

bool operator== ( TranslatorMessageContentPtr tmp1,
TranslatorMessageContentPtr tmp2 )
inline

Definition at line 549 of file translator.cpp.

◆ operator==() [2/2]

bool operator== ( TranslatorMessageIdPtr tmp1,
TranslatorMessageIdPtr tmp2 )
inline

Definition at line 527 of file translator.cpp.

◆ Q_DECLARE_TYPEINFO() [1/2]

Q_DECLARE_TYPEINFO ( TranslatorMessageContentPtr ,
Q_RELOCATABLE_TYPE  )

◆ Q_DECLARE_TYPEINFO() [2/2]

Q_DECLARE_TYPEINFO ( TranslatorMessageIdPtr ,
Q_RELOCATABLE_TYPE  )

◆ qHash() [1/2]

size_t qHash ( TranslatorMessageContentPtr tmp)
inline

Definition at line 540 of file translator.cpp.

◆ qHash() [2/2]

size_t qHash ( TranslatorMessageIdPtr tmp)
inline

Definition at line 522 of file translator.cpp.