selectioninterfaceext.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
#ifndef __ktexteditor_selectioninterface_ext_h__
00023
#define __ktexteditor_selectioninterface_ext_h__
00024
00025
class QCString;
00026
00027
namespace KTextEditor
00028 {
00029
00036 class SelectionInterfaceExt
00037 {
00038
friend class PrivateSelectionInterfaceExt;
00039
00040
public:
00041
SelectionInterfaceExt();
00042
virtual ~
SelectionInterfaceExt();
00043
00044
unsigned int selectionInterfaceExtNumber ()
const;
00045
00046
protected:
00047
void setSelectionInterfaceExtDCOPSuffix (
const QCString &suffix);
00048
00049
public:
00051
virtual int selStartLine()=0;
00053
virtual int selStartCol()=0;
00055
virtual int selEndLine()=0;
00057
virtual int selEndCol()=0;
00058
00059
private:
00060
class PrivateSelectionInterfaceExt *d;
00061
static unsigned int globalSelectionInterfaceExtNumber;
00062
unsigned int mySelectionInterfaceExtNumber;
00063 };
00064
00065
class Document;
00066
class View;
00067
00068
SelectionInterfaceExt *selectionInterfaceExt (
Document *doc);
00069
SelectionInterfaceExt *selectionInterfaceExt (
View *view);
00070
00071 }
00072
#endif
This file is part of the documentation for interfaces Library Version 3.2.3.