kviewshell
TextSelection Class Reference
#include <selection.h>
Public Member Functions | |
void | clear () |
void | copyText () const |
PageNumber | getPageNumber () const |
const QString & | getSelectedText () const |
Q_INT32 | getSelectedTextEnd () const |
Q_INT32 | getSelectedTextStart () const |
bool | isEmpty () const |
bool | operator!= (const TextSelection &) const |
bool | operator== (const TextSelection &) const |
void | set (const PageNumber &pageNr, Q_INT32 selectedTextStart, Q_INT32 selectedTextEnd, const QString &text) |
TextSelection () |
Detailed Description
Definition at line 31 of file selection.h.
Constructor & Destructor Documentation
TextSelection::TextSelection | ( | ) |
Definition at line 16 of file selection.cpp.
Member Function Documentation
void TextSelection::clear | ( | void | ) |
Definition at line 62 of file selection.cpp.
void TextSelection::copyText | ( | ) | const |
Definition at line 53 of file selection.cpp.
PageNumber TextSelection::getPageNumber | ( | ) | const [inline] |
Definition at line 66 of file selection.h.
const QString& TextSelection::getSelectedText | ( | ) | const [inline] |
Definition at line 63 of file selection.h.
Q_INT32 TextSelection::getSelectedTextEnd | ( | ) | const [inline] |
Definition at line 60 of file selection.h.
Q_INT32 TextSelection::getSelectedTextStart | ( | ) | const [inline] |
Definition at line 57 of file selection.h.
bool TextSelection::isEmpty | ( | ) | const [inline] |
Definition at line 54 of file selection.h.
bool TextSelection::operator!= | ( | const TextSelection & | s | ) | const |
Definition at line 47 of file selection.cpp.
bool TextSelection::operator== | ( | const TextSelection & | s | ) | const |
Definition at line 39 of file selection.cpp.
void TextSelection::set | ( | const PageNumber & | pageNr, | |
Q_INT32 | selectedTextStart, | |||
Q_INT32 | selectedTextEnd, | |||
const QString & | text | |||
) |
Definition at line 22 of file selection.cpp.
The documentation for this class was generated from the following files: