Back to index

texmacs  1.0.7.15
qt_printer_widget.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003  * MODULE     : qt_printer_widget.hpp
00004  * DESCRIPTION: A dialog to manage printing of the document
00005  * COPYRIGHT  : (C) 2010 Miguel de Benito Delgado
00006  *******************************************************************************
00007  * This software falls under the GNU general public license version 3 or later.
00008  * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009  * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010  ******************************************************************************/
00011 #ifndef QT_PRINTER_WIDGET_HPP
00012 #define QT_PRINTER_WIDGET_HPP
00013 
00014 #include "qt_widget.hpp"
00015 #include "command.hpp"
00016 
00017 class QTMPrinterSettings;
00018 
00034 class qt_printer_widget_rep: public qt_widget_rep { 
00035 public:
00036   qt_printer_widget_rep (command, url);
00037   ~qt_printer_widget_rep () { };
00038   
00039   virtual void          send (slot s, blackbox val);
00040   widget plain_window_widget (string s, command q);
00041 
00042   void showDialog ();
00043 
00044 private:        
00045   static QTMPrinterSettings* _settings;
00046   command commandAfterExecution;    
00047 };
00048 
00049 #endif  // QT_PRINTER_WIDGET_HPP
00050 
00051