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 KTEXTEDITOR_EXPORT SelectionDCOPInterface :
virtual public DCOPObject
00019 {
00020 K_DCOP
00021
00022
public:
00029 SelectionDCOPInterface(
SelectionInterface *Parent,
const char *name );
00034
virtual ~SelectionDCOPInterface();
00035 k_dcop:
00039
bool setSelection ( uint startLine, uint startCol, uint endLine, uint endCol );
00040
00044
bool clearSelection ();
00045
00049
bool hasSelection ();
00050
00054
QString selection ();
00055
00059
bool removeSelectedText ();
00060
00064
bool selectAll ();
00065
00066
private:
00067
SelectionInterface *m_parent;
00068 };
00069 }
00070
#endif
00071
00072
This file is part of the documentation for interfaces Library Version 3.4.0.