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
CPVT_WordRange Struct Reference

#include <cpvt_wordrange.h>

+ Collaboration diagram for CPVT_WordRange:

Public Member Functions

 CPVT_WordRange ()=default
 
 CPVT_WordRange (const CPVT_WordPlace &begin, const CPVT_WordPlace &end)
 
bool IsEmpty () const
 
bool operator== (const CPVT_WordRange &wr) const
 
bool operator!= (const CPVT_WordRange &wr) const
 
void Normalize ()
 

Public Attributes

CPVT_WordPlace BeginPos
 
CPVT_WordPlace EndPos
 

Detailed Description

Definition at line 15 of file cpvt_wordrange.h.

Constructor & Destructor Documentation

◆ CPVT_WordRange() [1/2]

CPVT_WordRange::CPVT_WordRange ( )
default

Referenced by CPWL_EditImpl::GetVisibleWordRange(), and CPWL_EditImpl::GetWholeWordRange().

+ Here is the caller graph for this function:

◆ CPVT_WordRange() [2/2]

CPVT_WordRange::CPVT_WordRange ( const CPVT_WordPlace & begin,
const CPVT_WordPlace & end )
inline

Definition at line 18 of file cpvt_wordrange.h.

References BeginPos, EndPos, and Normalize().

Referenced by CPWL_EditImpl::GetVisibleWordRange(), CPVT_VariableText::RearrangeAll(), CPVT_Section::SearchWordPlace(), CPVT_Section::SearchWordPlace(), and CPVT_VariableText::SetText().

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

Member Function Documentation

◆ IsEmpty()

bool CPVT_WordRange::IsEmpty ( ) const
inline

Definition at line 23 of file cpvt_wordrange.h.

References BeginPos, EndPos, and CPVT_WordPlace::operator==().

Referenced by CPWL_EditImpl::DrawEdit().

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

◆ Normalize()

void CPVT_WordRange::Normalize ( )
inline

Definition at line 31 of file cpvt_wordrange.h.

References BeginPos, EndPos, and CPVT_WordPlace::operator>().

Referenced by CPVT_WordRange().

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

◆ operator!=()

bool CPVT_WordRange::operator!= ( const CPVT_WordRange & wr) const
inline

Definition at line 27 of file cpvt_wordrange.h.

References operator==().

+ Here is the call graph for this function:

◆ operator==()

bool CPVT_WordRange::operator== ( const CPVT_WordRange & wr) const
inline

Definition at line 24 of file cpvt_wordrange.h.

References BeginPos, EndPos, and CPVT_WordPlace::operator==().

Referenced by operator!=().

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

Member Data Documentation

◆ BeginPos

◆ EndPos


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