KTextEditor::ViewCursorDCOPInterface Class Reference
#include <viewcursordcopinterface.h>
Inheritance diagram for KTextEditor::ViewCursorDCOPInterface:

Detailed Description
This is the main interface to the ViewCursorInterface of KTextEdit.DCOP interface to ViewCursorInterface.This will provide a consistant dcop interface to all KDE applications that use it.
Definition at line 18 of file viewcursordcopinterface.h.
DCOP Member Functions | |
uint | viewCursorInterfaceNumber () |
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) |
uint | cursorLine () |
uint | cursorColumn () |
uint | cursorColumnReal () |
void | cursorPositionChanged () |
Public Member Functions | |
ViewCursorDCOPInterface (ViewCursorInterface *Parent, const char *name) | |
virtual | ~ViewCursorDCOPInterface () |
Constructor & Destructor Documentation
ViewCursorDCOPInterface::ViewCursorDCOPInterface | ( | ViewCursorInterface * | Parent, | |
const char * | name | |||
) |
Construct a new interface object for the text editor.
- Parameters:
-
Parent the parent ViewCursorInterface object that will provide us with the functions for the interface. name the QObject's name
Definition at line 9 of file viewcursordcopinterface.cpp.
ViewCursorDCOPInterface::~ViewCursorDCOPInterface | ( | ) | [virtual] |
Member Function Documentation
QPoint ViewCursorDCOPInterface::cursorCoordinates | ( | ) |
Get the current cursor coordinates in pixels.
Definition at line 25 of file viewcursordcopinterface.cpp.
void ViewCursorDCOPInterface::cursorPosition | ( | uint | line, | |
uint | col | |||
) |
void ViewCursorDCOPInterface::cursorPositionReal | ( | uint | line, | |
uint | col | |||
) |
Get the cursor position, calculated with 1 character per tab.
Definition at line 35 of file viewcursordcopinterface.cpp.
bool ViewCursorDCOPInterface::setCursorPosition | ( | uint | line, | |
uint | col | |||
) |
bool ViewCursorDCOPInterface::setCursorPositionReal | ( | uint | line, | |
uint | col | |||
) |
Set the cursor position, use 1 character per tab.
Definition at line 45 of file viewcursordcopinterface.cpp.
The documentation for this class was generated from the following files: