Okular::TextSelection

Search for usage in LXR

Okular::TextSelection Class Reference

#include <misc.h>

Public Member Functions

 TextSelection (const NormalizedPoint &start, const NormalizedPoint &end)
 
 TextSelection (const TextSelection &)=delete
 
 ~TextSelection ()
 
NormalizedPoint end () const
 
TextSelectionoperator= (const TextSelection &)=delete
 
NormalizedPoint start () const
 

Detailed Description

Wrapper around the information needed to generate the selection area.

Definition at line 18 of file misc.h.

Constructor & Destructor Documentation

◆ TextSelection()

TextSelection::TextSelection ( const NormalizedPoint & start,
const NormalizedPoint & end )

Creates a new text selection with the given start and end point.

Definition at line 22 of file misc.cpp.

◆ ~TextSelection()

TextSelection::~TextSelection ( )
default

Destroys the text selection.

Member Function Documentation

◆ end()

NormalizedPoint TextSelection::end ( ) const

Returns the end point of the selection.

Definition at line 42 of file misc.cpp.

◆ start()

NormalizedPoint TextSelection::start ( ) const

Returns the start point of the selection.

Definition at line 37 of file misc.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:33 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.