interfaces
viewcursordcopinterface.h
Go to the documentation of this file.00001 #ifndef ViewCursor_DCOP_INTERFACE_H
00002 #define ViewCursor_DCOP_INTERFACE_H
00003
00004 #include <dcopobject.h>
00005 #include <dcopref.h>
00006 #include <qstringlist.h>
00007 #include <qcstring.h>
00008
00009 namespace KTextEditor
00010 {
00011 class ViewCursorInterface;
00018 class KTEXTEDITOR_EXPORT ViewCursorDCOPInterface : virtual public DCOPObject
00019 {
00020 K_DCOP
00021
00022 public:
00029 ViewCursorDCOPInterface( ViewCursorInterface *Parent, const char *name );
00034 virtual ~ViewCursorDCOPInterface();
00035 k_dcop:
00036
00037 uint viewCursorInterfaceNumber ();
00041 class QPoint cursorCoordinates ();
00042
00046 void cursorPosition (uint line, uint col);
00047
00051 void cursorPositionReal (uint line, uint col);
00052
00056 bool setCursorPosition (uint line, uint col);
00057
00061 bool setCursorPositionReal (uint line, uint col);
00062
00063 uint cursorLine ();
00064 uint cursorColumn ();
00065 uint cursorColumnReal ();
00066 void cursorPositionChanged ();
00067
00068 private:
00069 ViewCursorInterface *m_parent;
00070 };
00071 }
00072 #endif
00073
00074