Kate
KateTextCursor Class Reference
Simple cursor class with no document pointer. More...
#include <katecursor.h>
Public Member Functions | |
int | col () const |
KateTextCursor (int line, int col) | |
KateTextCursor () | |
int | line () const |
void | pos (int *pline, int *pcol) const |
virtual void | setCol (int col) |
virtual void | setLine (int line) |
virtual void | setPos (int line, int col) |
virtual void | setPos (const KateTextCursor &pos) |
virtual | ~KateTextCursor () |
Protected Attributes | |
int | m_col |
int | m_line |
Friends | |
bool | operator!= (const KateTextCursor &c1, const KateTextCursor &c2) |
bool | operator< (const KateTextCursor &c1, const KateTextCursor &c2) |
kdbgstream & | operator<< (kdbgstream &stream, const KateTextCursor &c) |
bool | operator<= (const KateTextCursor &c1, const KateTextCursor &c2) |
bool | operator== (const KateTextCursor &c1, const KateTextCursor &c2) |
bool | operator> (const KateTextCursor &c1, const KateTextCursor &c2) |
bool | operator>= (const KateTextCursor &c1, const KateTextCursor &c2) |
void | qSwap (KateTextCursor &c1, KateTextCursor &c2) |
Detailed Description
Simple cursor class with no document pointer.Definition at line 33 of file katecursor.h.
Constructor & Destructor Documentation
KateTextCursor::KateTextCursor | ( | ) | [inline] |
Definition at line 36 of file katecursor.h.
Definition at line 37 of file katecursor.h.
virtual KateTextCursor::~KateTextCursor | ( | ) | [inline, virtual] |
Definition at line 38 of file katecursor.h.
Member Function Documentation
int KateTextCursor::col | ( | ) | const [inline] |
Definition at line 77 of file katecursor.h.
int KateTextCursor::line | ( | ) | const [inline] |
Definition at line 76 of file katecursor.h.
Definition at line 71 of file katecursor.h.
virtual void KateTextCursor::setCol | ( | int | col | ) | [inline, virtual] |
virtual void KateTextCursor::setLine | ( | int | line | ) | [inline, virtual] |
virtual void KateTextCursor::setPos | ( | const KateTextCursor & | pos | ) | [inline, virtual] |
Friends And Related Function Documentation
bool operator!= | ( | const KateTextCursor & | c1, | |
const KateTextCursor & | c2 | |||
) | [friend] |
Definition at line 43 of file katecursor.h.
bool operator< | ( | const KateTextCursor & | c1, | |
const KateTextCursor & | c2 | |||
) | [friend] |
Definition at line 52 of file katecursor.h.
kdbgstream& operator<< | ( | kdbgstream & | stream, | |
const KateTextCursor & | c | |||
) | [friend] |
Definition at line 58 of file katecursor.h.
bool operator<= | ( | const KateTextCursor & | c1, | |
const KateTextCursor & | c2 | |||
) | [friend] |
Definition at line 55 of file katecursor.h.
bool operator== | ( | const KateTextCursor & | c1, | |
const KateTextCursor & | c2 | |||
) | [friend] |
Definition at line 40 of file katecursor.h.
bool operator> | ( | const KateTextCursor & | c1, | |
const KateTextCursor & | c2 | |||
) | [friend] |
Definition at line 46 of file katecursor.h.
bool operator>= | ( | const KateTextCursor & | c1, | |
const KateTextCursor & | c2 | |||
) | [friend] |
Definition at line 49 of file katecursor.h.
void qSwap | ( | KateTextCursor & | c1, | |
KateTextCursor & | c2 | |||
) | [friend] |
Definition at line 64 of file katecursor.h.
Member Data Documentation
int KateTextCursor::m_col [protected] |
Definition at line 86 of file katecursor.h.
int KateTextCursor::m_line [protected] |
Definition at line 82 of file katecursor.h.
The documentation for this class was generated from the following file: