Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlTranslation::QsTrData Class Reference

#include <qqmltranslation_p.h>

+ Collaboration diagram for QQmlTranslation::QsTrData:

Public Member Functions

 QsTrData (const QString &fileNameForContext, const QString &text, const QString &comment, int number)
 
QString translate () const
 
QString serializeForQmltc () const
 
QString idForQmlDebug () const
 

Detailed Description

Definition at line 27 of file qqmltranslation_p.h.

Constructor & Destructor Documentation

◆ QsTrData()

QQmlTranslation::QsTrData::QsTrData ( const QString & fileNameForContext,
const QString & text,
const QString & comment,
int number )

Definition at line 54 of file qqmltranslation.cpp.

Member Function Documentation

◆ idForQmlDebug()

QString QQmlTranslation::QsTrData::idForQmlDebug ( ) const

Definition at line 78 of file qqmltranslation.cpp.

References QString::fromUtf8(), and text.

+ Here is the call graph for this function:

◆ serializeForQmltc()

QString QQmlTranslation::QsTrData::serializeForQmltc ( ) const

Definition at line 83 of file qqmltranslation.cpp.

References context, QString::fromUtf8(), number, QStringLiteral, and text.

+ Here is the call graph for this function:

◆ translate()

QString QQmlTranslation::QsTrData::translate ( ) const

Definition at line 69 of file qqmltranslation.cpp.

References context, number, text, and QCoreApplication::translate().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: