wordwrapinterface.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef __ktexteditor_wordwrapinterface_h__
00021 #define __ktexteditor_wordwrapinterface_h__
00022 
00023 class QCString;
00024 
00025 namespace KTextEditor
00026 {
00027 
00031 class WordWrapInterface
00032 {
00033   friend class PrivateWordWrapInterface;
00034   
00035   public:
00036     WordWrapInterface ();
00037     virtual ~WordWrapInterface ();
00038 
00039     unsigned int wordWrapInterfaceNumber () const;
00040     
00041   protected:  
00042     void setWordWrapInterfaceDCOPSuffix (const QCString &suffix); 
00043 
00044   
00045   
00046   
00047   public:
00048     virtual void setWordWrap (bool) = 0;
00049     virtual bool wordWrap () = 0;
00050 
00051     virtual void setWordWrapAt (unsigned int ) = 0;
00052     virtual unsigned int wordWrapAt () = 0;
00053 
00054   private:
00055     class PrivateWordWrapInterface *d;
00056     static unsigned int globalWordWrapInterfaceNumber;
00057     unsigned int myWordWrapInterfaceNumber;
00058 };
00059                           
00060 WordWrapInterface *wordWrapInterface (class Document *doc);
00061 
00062 }
00063 
00064 #endif
 
This file is part of the documentation for interfaces Library Version 3.2.0.