diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-08-15 13:44:46 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-08-19 09:15:37 +0200 |
commit | 941de7608b9388f0a72dac9f650ca03a3b26f34c (patch) | |
tree | fcf99dfdb31ab53e55851904ab1a71799057d768 /src/gui/painting/qpdf_p.h | |
parent | b91d30eae1d4f75aa9e05c2c4fa204e24e953f6d (diff) |
Rename QPdf(Base)Engine
Rename QPdfBaseEngine to QPdfEngine and QPdfEngine
to QPdfPrintEngine. This fit's better with the use cases.
Change-Id: Ic208b079581768a957f9fdcc333f0bf87f619d46
Reviewed-on: http://codereview.qt.nokia.com/3202
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/gui/painting/qpdf_p.h')
-rw-r--r-- | src/gui/painting/qpdf_p.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/painting/qpdf_p.h b/src/gui/painting/qpdf_p.h index 8efa51743d..e8d8dd9ef3 100644 --- a/src/gui/painting/qpdf_p.h +++ b/src/gui/painting/qpdf_p.h @@ -175,14 +175,14 @@ private: }; -class QPdfBaseEnginePrivate; +class QPdfEnginePrivate; -class QPdfBaseEngine : public QAlphaPaintEngine +class QPdfEngine : public QAlphaPaintEngine { - Q_DECLARE_PRIVATE(QPdfBaseEngine) + Q_DECLARE_PRIVATE(QPdfEngine) public: - QPdfBaseEngine(QPdfBaseEnginePrivate &d, PaintEngineFeatures f); - ~QPdfBaseEngine() {} + QPdfEngine(QPdfEnginePrivate &d, PaintEngineFeatures f); + ~QPdfEngine() {} // reimplementations QPaintEngine bool begin(QPaintDevice *pdev); @@ -218,12 +218,12 @@ private: void updateClipPath(const QPainterPath & path, Qt::ClipOperation op); }; -class QPdfBaseEnginePrivate : public QAlphaPaintEnginePrivate +class QPdfEnginePrivate : public QAlphaPaintEnginePrivate { - Q_DECLARE_PUBLIC(QPdfBaseEngine) + Q_DECLARE_PUBLIC(QPdfEngine) public: - QPdfBaseEnginePrivate(QPrinter::PrinterMode m); - ~QPdfBaseEnginePrivate(); + QPdfEnginePrivate(QPrinter::PrinterMode m); + ~QPdfEnginePrivate(); inline uint requestObject() { return currentObject++; } |