Eneboo - Documentación para desarrolladores
src/qt/include/private/qpsprinter_p.h
Ir a la documentación de este archivo.
00001 /**********************************************************************
00002 ** $Id: qt/qpsprinter_p.h   3.3.8   edited Jan 11 14:38 $
00003 **
00004 ** Definition of internal QPSPrinter class.
00005 ** QPSPrinter implements PostScript (tm) output via QPrinter.
00006 **
00007 ** Created : 940927
00008 **
00009 ** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
00010 **
00011 ** This file is part of the kernel module of the Qt GUI Toolkit.
00012 **
00013 ** This file may be distributed under the terms of the Q Public License
00014 ** as defined by Trolltech ASA of Norway and appearing in the file
00015 ** LICENSE.QPL included in the packaging of this file.
00016 **
00017 ** This file may be distributed and/or modified under the terms of the
00018 ** GNU General Public License version 2 as published by the Free Software
00019 ** Foundation and appearing in the file LICENSE.GPL included in the
00020 ** packaging of this file.
00021 **
00022 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
00023 ** licenses may use this file in accordance with the Qt Commercial License
00024 ** Agreement provided with the Software.
00025 **
00026 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00027 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00028 **
00029 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
00030 **   information about Qt Commercial License Agreements.
00031 ** See http://www.trolltech.com/qpl/ for QPL licensing information.
00032 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00033 **
00034 ** Contact info@trolltech.com if any conditions of this licensing are
00035 ** not clear to you.
00036 **
00037 **********************************************************************/
00038 
00039 #ifndef QPSPRINTER_P_H
00040 #define QPSPRINTER_P_H
00041 
00042 
00043 //
00044 //  W A R N I N G
00045 //  -------------
00046 //
00047 // This file is not part of the Qt API.  It exists for the convenience
00048 // of qpsprinter.cpp and qprinter_x11.cpp.
00049 // This header file may change from version to version without notice,
00050 // or even be removed.
00051 //
00052 // We mean it.
00053 //
00054 //
00055 
00056 
00057 #ifndef QT_H
00058 #include "qprinter.h"
00059 #include "qtextstream.h"
00060 #endif // QT_H
00061 
00062 #ifndef QT_NO_PRINTER
00063 
00064 class QPSPrinterPrivate;
00065 
00066 class Q_EXPORT QPSPrinter : public QPaintDevice
00067 {
00068 private:
00069     // QPrinter uses these
00070     QPSPrinter( QPrinter *, int );
00071    ~QPSPrinter();
00072 
00073     bool cmd ( int, QPainter *, QPDevCmdParam * );
00074 
00075     enum { NewPage = 100, AbortPrinting };
00076 
00077     friend class QPrinter;
00078 private:
00079     // not used by QPrinter
00080     QPSPrinterPrivate *d;
00081 
00082     // Disabled copy constructor and operator=
00083     QPSPrinter( const QPSPrinter & );
00084     QPSPrinter &operator=( const QPSPrinter & );
00085 };
00086 
00087 #endif // QT_NO_PRINTER
00088 
00089 #endif // QPSPRINTER_P_H
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'