printinterface.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 #ifndef __ktexteditor_printinterface_h__
00021 #define __ktexteditor_printinterface_h__
00022 
00023 class QCString;
00024 
00025 namespace KTextEditor
00026 {
00027 
00031 class PrintInterface
00032 {
00033   friend class PrivatePrintInterface;
00034   
00035   public:
00036     PrintInterface ();
00037     virtual ~PrintInterface ();
00038 
00039     unsigned int printInterfaceNumber () const;
00040     
00041   protected:  
00042     void setPrintInterfaceDCOPSuffix (const QCString &suffix);  
00043     
00044   
00045   
00046   
00047   public:
00048     virtual bool printDialog () = 0;
00049     virtual bool print () = 0;
00050   
00051   private:
00052     class PrivatePrintInterface *d;
00053     static unsigned int globalPrintInterfaceNumber;
00054     unsigned int myPrintInterfaceNumber;
00055 };
00056 
00057 PrintInterface *printInterface (class Document *doc);
00058 
00059 }
00060 
00061 #endif
 
This file is part of the documentation for interfaces Library Version 3.2.0.