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
QQmlLSUtils::Diff Class Reference

#include <qqmldiffer_p.h>

Collaboration diagram for QQmlLSUtils::Diff:

Public Types

enum  Command { Delete , Insert , Equal }

Public Member Functions

 Diff ()=default
 Diff (Command com, const QString &txt={})
bool operator== (const Diff &other) const
bool operator!= (const Diff &other) const

Public Attributes

Command command = Equal
QString text

Detailed Description

Definition at line 28 of file qqmldiffer_p.h.

Member Enumeration Documentation

◆ Command

Enumerator
Delete 
Insert 
Equal 

Definition at line 31 of file qqmldiffer_p.h.

Constructor & Destructor Documentation

◆ Diff() [1/2]

QQmlLSUtils::Diff::Diff ( )
default

◆ Diff() [2/2]

QQmlLSUtils::Diff::Diff ( Command com,
const QString & txt = {} )

Definition at line 103 of file qqmldiffer.cpp.

References Diff(), and command.

Referenced by Diff().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ operator!=()

bool QQmlLSUtils::Diff::operator!= ( const Diff & other) const

Definition at line 114 of file qqmldiffer.cpp.

References operator==().

Here is the call graph for this function:

◆ operator==()

bool QQmlLSUtils::Diff::operator== ( const Diff & other) const

Definition at line 109 of file qqmldiffer.cpp.

Referenced by operator!=().

Here is the caller graph for this function:

Member Data Documentation

◆ command

Command QQmlLSUtils::Diff::command = Equal

Definition at line 36 of file qqmldiffer_p.h.

Referenced by Diff(), QQmlLSUtils::Differ::merge(), and QQmlLSUtils::squashEqualities().

◆ text

QString QQmlLSUtils::Diff::text

Definition at line 37 of file qqmldiffer_p.h.


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