blockselectioninterface.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __ktexteditor_blockselectioninterface_h__
00020 #define __ktexteditor_blockselectioninterface_h__
00021
00022 class QCString;
00023
00024 namespace KTextEditor
00025 {
00026
00032 class BlockSelectionInterface
00033 {
00034 friend class PrivateBlockSelectionInterface;
00035
00036 public:
00037 BlockSelectionInterface ();
00038 virtual ~BlockSelectionInterface ();
00039
00040 unsigned int blockSelectionInterfaceNumber () const;
00041
00042 protected:
00043 void setBlockSelectionInterfaceDCOPSuffix (const QCString &suffix);
00044
00048 public:
00055 virtual bool blockSelectionMode () = 0;
00056
00060 virtual bool setBlockSelectionMode (bool on) = 0;
00061
00065 virtual bool toggleBlockSelectionMode () = 0;
00066
00067 private:
00068 class PrivateBlockSelectionInterface *d;
00069 static unsigned int globalBlockSelectionInterfaceNumber;
00070 unsigned int myBlockSelectionInterfaceNumber;
00071 };
00072
00076 BlockSelectionInterface *blockSelectionInterface (class Document *doc);
00077
00078 }
00079
00080 #endif
This file is part of the documentation for interfaces Library Version 3.3.1.