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
00027
00028
00029
00030 class BlockSelectionInterface
00031 {
00032 friend class PrivateBlockSelectionInterface;
00033
00034 public:
00035 BlockSelectionInterface ();
00036 virtual ~BlockSelectionInterface ();
00037
00038 unsigned int blockSelectionInterfaceNumber () const;
00039
00040 protected:
00041 void setBlockSelectionInterfaceDCOPSuffix (const QCString &suffix);
00042
00043
00044
00045
00046 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
00073 BlockSelectionInterface *blockSelectionInterface (class Document *doc);
00074
00075 };
00076
00077 #endif
This file is part of the documentation for kdelibs Version 3.1.0.