home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / include / private / qpsprinter_p.h < prev    next >
C/C++ Source or Header  |  2001-10-11  |  3KB  |  90 lines

  1. /**********************************************************************
  2. ** $Id:  qt/qpsprinter_p.h   3.0.0   edited Jun 22 12:24 $
  3. **
  4. ** Definition of internal QPSPrinter class.
  5. ** QPSPrinter implements PostScript (tm) output via QPrinter.
  6. **
  7. ** Created : 940927
  8. **
  9. ** Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
  10. **
  11. ** This file is part of the kernel module of the Qt GUI Toolkit.
  12. **
  13. ** This file may be distributed under the terms of the Q Public License
  14. ** as defined by Trolltech AS of Norway and appearing in the file
  15. ** LICENSE.QPL included in the packaging of this file.
  16. **
  17. ** This file may be distributed and/or modified under the terms of the
  18. ** GNU General Public License version 2 as published by the Free Software
  19. ** Foundation and appearing in the file LICENSE.GPL included in the
  20. ** packaging of this file.
  21. **
  22. ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
  23. ** licenses may use this file in accordance with the Qt Commercial License
  24. ** Agreement provided with the Software.
  25. **
  26. ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
  27. ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  28. **
  29. ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
  30. **   information about Qt Commercial License Agreements.
  31. ** See http://www.trolltech.com/qpl/ for QPL licensing information.
  32. ** See http://www.trolltech.com/gpl/ for GPL licensing information.
  33. **
  34. ** Contact info@trolltech.com if any conditions of this licensing are
  35. ** not clear to you.
  36. **
  37. **********************************************************************/
  38.  
  39. #ifndef QPSPRINTER_P_H
  40. #define QPSPRINTER_P_H
  41.  
  42.  
  43. //
  44. //  W A R N I N G
  45. //  -------------
  46. //
  47. // This file is not part of the Qt API.  It exists for the convenience
  48. // of qpsprinter.cpp and qprinter_x11.cpp.
  49. // This header file may change from version to version without notice,
  50. // or even be removed.
  51. //
  52. // We mean it.
  53. //
  54. //
  55.  
  56.  
  57. #ifndef QT_H
  58. #include "qprinter.h"
  59. #include "qtextstream.h"
  60. #endif // QT_H
  61.  
  62. #ifndef QT_NO_PRINTER
  63.  
  64. struct QPSPrinterPrivate;
  65.  
  66. class Q_EXPORT QPSPrinter : public QPaintDevice
  67. {
  68. private:
  69.     // QPrinter uses these
  70.     QPSPrinter( QPrinter *, int );
  71.    ~QPSPrinter();
  72.  
  73.     bool cmd ( int, QPainter *, QPDevCmdParam * );
  74.  
  75.     enum { NewPage = 100, AbortPrinting };
  76.  
  77.     friend class QPrinter;
  78. private:
  79.     // not used by QPrinter
  80.     QPSPrinterPrivate *d;
  81.  
  82.     // Disabled copy constructor and operator=
  83.     QPSPrinter( const QPSPrinter & );
  84.     QPSPrinter &operator=( const QPSPrinter & );
  85. };
  86.  
  87. #endif // QT_NO_PRINTER
  88.  
  89. #endif // QPSPRINTER_P_H
  90.