Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KTextEditor::ViewCursorDCOPInterface Class Reference

DCOP interface to ViewCursorInterface. More...

#include <viewcursordcopinterface.h>

Inheritance diagram for KTextEditor::ViewCursorDCOPInterface:

DCOPObject List of all members.

DCOP Methods

QPoint cursorCoordinates ()
void cursorPosition (uint line, uint col)
void cursorPositionReal (uint line, uint col)
bool setCursorPosition (uint line, uint col)
bool setCursorPositionReal (uint line, uint col)

Public Methods

 ViewCursorDCOPInterface (ViewCursorInterface *Parent, const char *name)
virtual ~ViewCursorDCOPInterface ()

Detailed Description

DCOP interface to ViewCursorInterface.

This is the main interface to the ViewCursorInterface of KTextEdit. This will provide a consistant dcop interface to all KDE applications that use it.

Author:
Ian Reinhart Geiser <geiseri@kde.org>

Definition at line 18 of file viewcursordcopinterface.h.


Constructor & Destructor Documentation

KTextEditor::ViewCursorDCOPInterface::ViewCursorDCOPInterface (  ViewCursorInterface *    Parent,
const char *    name
) 
 

Construct a new interface object for the text editor.

Parameters:
ParentViewCursorInterface  - The parent ViewCursorInterface object that will provide us with the functions for the interface.

virtual KTextEditor::ViewCursorDCOPInterface::~ViewCursorDCOPInterface (    )  [virtual]
 

Destructor Cleans up the object.


Member Function Documentation

class QPoint KTextEditor::ViewCursorDCOPInterface::cursorCoordinates (    ) 
 

Get the current cursor coordinates in pixels.

void KTextEditor::ViewCursorDCOPInterface::cursorPosition (  uint    line,
uint    col
) 
 

Get the cursor position

void KTextEditor::ViewCursorDCOPInterface::cursorPositionReal (  uint    line,
uint    col
) 
 

Get the cursor position, calculated with 1 character per tab

bool KTextEditor::ViewCursorDCOPInterface::setCursorPosition (  uint    line,
uint    col
) 
 

Set the cursor position

bool KTextEditor::ViewCursorDCOPInterface::setCursorPositionReal (  uint    line,
uint    col
) 
 

Set the cursor position, use 1 character per tab


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:38 2003 for kdelibs by doxygen1.2.18