Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportDesign_p.h
Show All 26 Lines | |||||
27 | #include <QPageSize> | 27 | #include <QPageSize> | ||
28 | #include <QPageLayout> | 28 | #include <QPageLayout> | ||
29 | #include <QVarLengthArray> | 29 | #include <QVarLengthArray> | ||
30 | 30 | | |||
31 | class QDomDocument; | 31 | class QDomDocument; | ||
32 | class QDomElement; | 32 | class QDomElement; | ||
33 | class KReportPluginInterface; | 33 | class KReportPluginInterface; | ||
34 | 34 | | |||
35 | static const bool DEFAULT_SHOW_GRID = true; | 35 | extern const bool DEFAULT_SHOW_GRID; | ||
36 | static const bool DEFAULT_SNAP_TO_GRID = true; | 36 | extern const bool DEFAULT_SNAP_TO_GRID; | ||
37 | static const int DEFAULT_GRID_DIVISIONS = 4; | 37 | extern const int DEFAULT_GRID_DIVISIONS; | ||
38 | static const KReportUnit DEFAULT_UNIT = KReportUnit(KReportUnit::Centimeter); | 38 | extern const KReportUnit::Type DEFAULT_UNIT_TYPE; | ||
39 | static const int DEFAULT_PAGE_MARGIN = CM_TO_POINT(1.0); | 39 | extern const KReportUnit DEFAULT_UNIT; | ||
40 | static const QPageSize::PageSizeId DEFAULT_PAGE_SIZE = QPageSize::A4; | 40 | extern const int DEFAULT_PAGE_MARGIN; | ||
41 | static const QPageLayout::Orientation DEFAULT_PAGE_ORIENTATION = QPageLayout::Landscape; | 41 | extern const QPageSize::PageSizeId DEFAULT_PAGE_SIZE; | ||
42 | extern const QPageLayout::Orientation DEFAULT_PAGE_ORIENTATION; | ||||
42 | 43 | | |||
43 | class Q_DECL_HIDDEN KReportDesign::Private | 44 | class Q_DECL_HIDDEN KReportDesign::Private | ||
44 | { | 45 | { | ||
45 | public: | 46 | public: | ||
46 | explicit Private(KReportDesign *design); | 47 | explicit Private(KReportDesign *design); | ||
47 | 48 | | |||
48 | ~Private(); | 49 | ~Private(); | ||
49 | 50 | | |||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |