selectiondcopinterface.h
00001 #ifndef SELECTION_DCOP_INTERFACE_H
00002 #define SELECTION_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 SelectionInterface;
00018 class SelectionDCOPInterface : virtual public DCOPObject
00019 {
00020 K_DCOP
00021
00022 public:
00028 SelectionDCOPInterface( SelectionInterface *Parent, const char *name );
00033 virtual ~SelectionDCOPInterface();
00034 k_dcop:
00038 bool setSelection ( uint startLine, uint startCol, uint endLine, uint endCol );
00039
00043 bool clearSelection ();
00044
00048 bool hasSelection ();
00049
00053 QString selection ();
00054
00058 bool removeSelectedText ();
00059
00063 bool selectAll ();
00064
00065 private:
00066 SelectionInterface *m_parent;
00067 };
00068 }
00069 #endif
00070
00071
This file is part of the documentation for kdelibs Version 3.1.4.