• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

Public Member Functions | Protected Attributes | Friends | List of all members
KateTextCursor Class Reference

#include <katecursor.h>

Inheritance diagram for KateTextCursor:
KateDocCursor KateSuperCursor

Public Member Functions

 KateTextCursor (int line, int col)
 
void pos (int *pline, int *pcol) const
 
int line () const
 
int col () const
 
virtual void setLine (int line)
 
virtual void setCol (int col)
 
virtual void setPos (const KateTextCursor &pos)
 
virtual void setPos (int line, int col)
 

Protected Attributes

int m_line
 
int m_col
 

Friends

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)
 
bool operator< (const KateTextCursor &c1, const KateTextCursor &c2)
 
bool operator<= (const KateTextCursor &c1, const KateTextCursor &c2)
 
kdbgstream & operator<< (kdbgstream &stream, const KateTextCursor &c)
 
void tqSwap (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() [1/2]

KateTextCursor::KateTextCursor ( )
inline

Definition at line 36 of file katecursor.h.

◆ KateTextCursor() [2/2]

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

Definition at line 37 of file katecursor.h.

◆ ~KateTextCursor()

virtual KateTextCursor::~KateTextCursor ( )
inlinevirtual

Definition at line 38 of file katecursor.h.

Member Function Documentation

◆ col()

int KateTextCursor::col ( ) const
inline

Definition at line 77 of file katecursor.h.

◆ line()

int KateTextCursor::line ( ) const
inline

Definition at line 76 of file katecursor.h.

◆ pos()

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

Definition at line 71 of file katecursor.h.

◆ setCol()

virtual void KateTextCursor::setCol ( int  col)
inlinevirtual

Definition at line 80 of file katecursor.h.

◆ setLine()

virtual void KateTextCursor::setLine ( int  line)
inlinevirtual

Definition at line 79 of file katecursor.h.

◆ setPos() [1/2]

virtual void KateTextCursor::setPos ( const KateTextCursor &  pos)
inlinevirtual

Definition at line 81 of file katecursor.h.

◆ setPos() [2/2]

virtual void KateTextCursor::setPos ( int  line,
int  col 
)
inlinevirtual

Definition at line 82 of file katecursor.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const KateTextCursor &  c1,
const KateTextCursor &  c2 
)
friend

Definition at line 43 of file katecursor.h.

◆ operator<

bool operator< ( const KateTextCursor &  c1,
const KateTextCursor &  c2 
)
friend

Definition at line 52 of file katecursor.h.

◆ operator<<

kdbgstream & operator<< ( kdbgstream &  stream,
const KateTextCursor &  c 
)
friend

Definition at line 58 of file katecursor.h.

◆ operator<=

bool operator<= ( const KateTextCursor &  c1,
const KateTextCursor &  c2 
)
friend

Definition at line 55 of file katecursor.h.

◆ operator==

bool operator== ( const KateTextCursor &  c1,
const KateTextCursor &  c2 
)
friend

Definition at line 40 of file katecursor.h.

◆ operator>

bool operator> ( const KateTextCursor &  c1,
const KateTextCursor &  c2 
)
friend

Definition at line 46 of file katecursor.h.

◆ operator>=

bool operator>= ( const KateTextCursor &  c1,
const KateTextCursor &  c2 
)
friend

Definition at line 49 of file katecursor.h.

◆ tqSwap

void tqSwap ( KateTextCursor &  c1,
KateTextCursor &  c2 
)
friend

Definition at line 64 of file katecursor.h.

Member Data Documentation

◆ m_col

int KateTextCursor::m_col
protected

Definition at line 86 of file katecursor.h.

◆ m_line

int KateTextCursor::m_line
protected

Definition at line 85 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

kate

Skip menu "kate"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.