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
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

Definition at line 203 of file qqmldebugtranslationprotocol_p.h.

Referenced by toDebugString().

◆ language

QString QQmlDebugTranslation::TranslationIssue::language

Definition at line 201 of file qqmldebugtranslationprotocol_p.h.

Referenced by toDebugString().

◆ type

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

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