Eneboo - Documentación para desarrolladores
src/psprinter/qpsprinter.h
Ir a la documentación de este archivo.
00001 /***************************************************************************
00002                             qpsprinter.h
00003                          -------------------
00004 begin                : dom ene 22 2006
00005 copyright            : (C) 2002-2006 by InfoSiAL S.L.
00006 email                : mail@infosial.com
00007 ***************************************************************************/
00008 /***************************************************************************
00009  *   This program is free software; you can redistribute it and/or modify  *
00010  *   it under the terms of the GNU General Public License as published by  *
00011  *   the Free Software Foundation; version 2 of the License.               *
00012  ***************************************************************************/
00013 /***************************************************************************
00014    Este  programa es software libre. Puede redistribuirlo y/o modificarlo
00015    bajo  los  trminos  de  la  Licencia  Pblica General de GNU   en  su
00016    versin 2, publicada  por  la  Free  Software Foundation.
00017  ***************************************************************************/
00018 
00019 /**********************************************************************
00020 **
00021 **
00022 ** Definition of internal QPSPrinter class.
00023 ** QPSPrinter implements PostScript (tm) output via PSPrinter.
00024 **
00025 ** Created : 940927
00026 **
00027 ** Copyright (C) 1992-2002 Trolltech AS.  All rights reserved.
00028 **
00029 ** This file is part of the kernel module of the Qt GUI Toolkit.
00030 **
00031 ** This file may be distributed under the terms of the Q Public License
00032 ** as defined by Trolltech AS of Norway and appearing in the file
00033 ** LICENSE.QPL included in the packaging of this file.
00034 **
00035 ** This file may be distributed and/or modified under the terms of the
00036 ** GNU General Public License version 2 as published by the Free Software
00037 ** Foundation and appearing in the file LICENSE.GPL included in the
00038 ** packaging of this file.
00039 **
00040 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
00041 ** licenses may use this file in accordance with the Qt Commercial License
00042 ** Agreement provided with the Software.
00043 **
00044 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00045 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00046 **
00047 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
00048 **   information about Qt Commercial License Agreements.
00049 ** See http://www.trolltech.com/qpl/ for QPL licensing information.
00050 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00051 **
00052 ** Contact info@trolltech.com if any conditions of this licensing are
00053 ** not clear to you.
00054 **
00055 **********************************************************************/
00056 
00057 #ifndef QPSPRINTER_P_H
00058 #define QPSPRINTER_P_H
00059 
00060 #include <qiodevice.h>
00061 
00062 class QPSPrinterPrivate;
00063 class PSPrinter;
00064 
00065 class FL_EXPORT QPSPrinter : public QPaintDevice {
00066   private:
00067     QPSPrinter( PSPrinter *, int );
00068     QPSPrinter( PSPrinter *, QIODevice * );
00069     ~QPSPrinter();
00070 
00071     bool cmd ( int, QPainter *, QPDevCmdParam * );
00072 
00073     enum { NewPage = 100, AbortPrinting };
00074 
00075     friend class PSPrinter;
00076   private:
00077     QPSPrinterPrivate *d;
00078 
00079     QPSPrinter( const QPSPrinter & );
00080     QPSPrinter &operator=( const QPSPrinter & );
00081 };
00082 
00083 #endif // QPSPRINTER_P_H
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'