• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Kate

KateTextCursor Class Reference

Simple cursor class with no document pointer. More...

#include <katecursor.h>

Inheritance diagram for KateTextCursor:

Inheritance graph
[legend]

List of all members.


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.

KateTextCursor::KateTextCursor ( int  line,
int  col 
) [inline]

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.

void KateTextCursor::pos ( int *  pline,
int *  pcol 
) const [inline]

Definition at line 71 of file katecursor.h.

virtual void KateTextCursor::setCol ( int  col  )  [inline, virtual]

Reimplemented in KateSuperCursor.

Definition at line 80 of file katecursor.h.

virtual void KateTextCursor::setLine ( int  line  )  [inline, virtual]

Reimplemented in KateSuperCursor.

Definition at line 79 of file katecursor.h.

virtual void KateTextCursor::setPos ( int  line,
int  col 
) [inline, virtual]

Reimplemented in KateSuperCursor.

Definition at line 82 of file katecursor.h.

virtual void KateTextCursor::setPos ( const KateTextCursor &  pos  )  [inline, virtual]

Reimplemented in KateSuperCursor.

Definition at line 81 of file katecursor.h.


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:
  • katecursor.h

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal