Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QQmlDebugTranslation::TranslationIssue Class Reference

#include <qqmldebugtranslationprotocol_p.h>

+ Collaboration diagram for QQmlDebugTranslation::TranslationIssue:

Public Types

enum class  Type { Missing , Elided }
 

Public Member Functions

QString toDebugString () const
 

Public Attributes

QString language
 
Type type = Type::Missing
 
CodeMarker codeMarker
 

Friends

QDataStreamoperator>> (QDataStream &stream, TranslationIssue &issue)
 
QDataStreamoperator<< (QDataStream &stream, const TranslationIssue &issue)
 
bool operator== (const TranslationIssue &first, const TranslationIssue &second)
 

Detailed Description

Definition at line 159 of file qqmldebugtranslationprotocol_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
Missing 
Elided 

Definition at line 162 of file qqmldebugtranslationprotocol_p.h.

Member Function Documentation

◆ toDebugString()

QString QQmlDebugTranslation::TranslationIssue::toDebugString ( ) const
inline

Definition at line 191 of file qqmldebugtranslationprotocol_p.h.

References QString::arg(), codeMarker, QQmlDebugTranslation::CodeMarker::column, language, QQmlDebugTranslation::CodeMarker::line, QString::number(), QUrl::toString(), and QQmlDebugTranslation::CodeMarker::url.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ operator<<

QDataStream & operator<< ( QDataStream stream,
const TranslationIssue issue 
)
friend

Definition at line 177 of file qqmldebugtranslationprotocol_p.h.

◆ operator==

bool operator== ( const TranslationIssue first,
const TranslationIssue second 
)
friend

Definition at line 184 of file qqmldebugtranslationprotocol_p.h.

◆ operator>>

QDataStream & operator>> ( QDataStream stream,
TranslationIssue issue 
)
friend

Definition at line 167 of file qqmldebugtranslationprotocol_p.h.

Member Data Documentation

◆ codeMarker

CodeMarker QQmlDebugTranslation::TranslationIssue::codeMarker

◆ language

QString QQmlDebugTranslation::TranslationIssue::language

◆ type

Type QQmlDebugTranslation::TranslationIssue::type = Type::Missing

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