Changeset View
Changeset View
Standalone View
Standalone View
document/kpDocument.cpp
Show All 40 Lines | |||||
41 | #include "document/kpDocumentSaveOptions.h" | 41 | #include "document/kpDocumentSaveOptions.h" | ||
42 | #include "imagelib/kpDocumentMetaInfo.h" | 42 | #include "imagelib/kpDocumentMetaInfo.h" | ||
43 | #include "imagelib/effects/kpEffectReduceColors.h" | 43 | #include "imagelib/effects/kpEffectReduceColors.h" | ||
44 | #include "pixmapfx/kpPixmapFX.h" | 44 | #include "pixmapfx/kpPixmapFX.h" | ||
45 | #include "tools/kpTool.h" | 45 | #include "tools/kpTool.h" | ||
46 | #include "widgets/toolbars/kpToolToolBar.h" | 46 | #include "widgets/toolbars/kpToolToolBar.h" | ||
47 | #include "lgpl/generic/kpUrlFormatter.h" | 47 | #include "lgpl/generic/kpUrlFormatter.h" | ||
48 | 48 | | |||
49 | #include <math.h> | 49 | #include <cmath> | ||
50 | 50 | | |||
51 | #include "kpLogCategories.h" | 51 | #include "kpLogCategories.h" | ||
52 | #include <kio/netaccess.h> // kdelibs4support | 52 | #include <kio/netaccess.h> // kdelibs4support | ||
53 | #include <KLocalizedString> | 53 | #include <KLocalizedString> | ||
54 | 54 | | |||
55 | #include <qcolor.h> | 55 | #include <QColor> | ||
56 | #include <qbitmap.h> | 56 | #include <QBitmap> | ||
57 | #include <qbrush.h> | 57 | #include <QBrush> | ||
58 | #include <qfile.h> | 58 | #include <QFile> | ||
59 | #include <qimage.h> | | |||
60 | #include <qlist.h> | | |||
61 | #include <QImage> | 59 | #include <QImage> | ||
62 | #include <qpainter.h> | 60 | #include <QList> | ||
63 | #include <qrect.h> | 61 | #include <QImage> | ||
64 | #include <qsize.h> | 62 | #include <QPainter> | ||
65 | #include <qmatrix.h> | 63 | #include <QRect> | ||
64 | #include <QSize> | ||||
65 | #include <QMatrix> | ||||
66 | 66 | | |||
67 | //--------------------------------------------------------------------- | 67 | //--------------------------------------------------------------------- | ||
68 | 68 | | |||
69 | kpDocument::kpDocument (int w, int h, | 69 | kpDocument::kpDocument (int w, int h, | ||
70 | kpDocumentEnvironment *environ) | 70 | kpDocumentEnvironment *environ) | ||
71 | : QObject (), | 71 | : QObject (), | ||
72 | m_constructorWidth (w), m_constructorHeight (h), | 72 | m_constructorWidth (w), m_constructorHeight (h), | ||
73 | m_isFromURL (false), | 73 | m_isFromURL (false), | ||
▲ Show 20 Lines • Show All 393 Lines • Show Last 20 Lines |