| # interfaces Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# viewcursordcopinterface.cpp

    00001 #include "viewcursordcopinterface.h"
    00002 #include "viewcursorinterface.h"
    00003
    00004 #include <qpoint.h>
    00005
    00006 #include <dcopclient.h>
    00007 using namespace KTextEditor;
    00008
    00009 ViewCursorDCOPInterface::ViewCursorDCOPInterface( ViewCursorInterface *Parent, const char *name)
    00010     : DCOPObject(name)
    00011 {
    00012     m_parent = Parent;
    00013 }
    00014
    00015 ViewCursorDCOPInterface::~ViewCursorDCOPInterface()
    00016 {
    00017
    00018 }
    00019
    00020 uint ViewCursorDCOPInterface::viewCursorInterfaceNumber ()
    00021 {
    00022     return m_parent->viewCursorInterfaceNumber ();
    00023 }
    00024
    00025 ::QPoint ViewCursorDCOPInterface::cursorCoordinates ()
    00026 {
    00027     return m_parent->cursorCoordinates ();
    00028 }
    00029
    00030 void ViewCursorDCOPInterface::cursorPosition (uint line, uint col)
    00031 {
    00032     m_parent->cursorPosition (&line,  &col);
    00033 }
    00034
    00035 void ViewCursorDCOPInterface::cursorPositionReal (uint line, uint col)
    00036 {
    00037     m_parent->cursorPositionReal (&line,  &col);
    00038 }
    00039
    00040 bool ViewCursorDCOPInterface::setCursorPosition (uint line, uint col)
    00041 {
    00042     return m_parent->setCursorPosition ( line, col);
    00043 }
    00044
    00045 bool ViewCursorDCOPInterface::setCursorPositionReal (uint line, uint col)
    00046 {
    00047     return m_parent->setCursorPositionReal ( line, col);
    00048 }
    00049
    00050 uint ViewCursorDCOPInterface::cursorLine ()
    00051 {
    00052     return m_parent->cursorLine ();
    00053 }
    00054
    00055 uint ViewCursorDCOPInterface::cursorColumn ()
    00056 {
    00057     return m_parent->cursorColumn ();
    00058 }
    00059
    00060 uint ViewCursorDCOPInterface::cursorColumnReal ()
    00061 {
    00062     return m_parent->cursorColumnReal ();
    00063 }
    00064
    00065 void ViewCursorDCOPInterface::cursorPositionChanged ()
    00066 {
    00067      m_parent->cursorPositionChanged ();
    00068 }

This file is part of the documentation for interfaces Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:34:57 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003