Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportDesign_p.h
Show All 15 Lines | |||||
16 | * You should have received a copy of the GNU Lesser General Public | 16 | * You should have received a copy of the GNU Lesser General Public | ||
17 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | 17 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef KREPORTDESIGN_P_H | 20 | #ifndef KREPORTDESIGN_P_H | ||
21 | #define KREPORTDESIGN_P_H | 21 | #define KREPORTDESIGN_P_H | ||
22 | 22 | | |||
23 | #include "KReportDesign.h" | 23 | #include "KReportDesign.h" | ||
24 | #include "KReportUnit.h" | | |||
25 | #include "KReportUtils_p.h" | 24 | #include "KReportUtils_p.h" | ||
26 | 25 | | |||
27 | #include <QPageSize> | 26 | #include <QPageSize> | ||
28 | #include <QPageLayout> | 27 | #include <QPageLayout> | ||
29 | #include <QVarLengthArray> | 28 | #include <QVarLengthArray> | ||
30 | 29 | | |||
31 | class QDomDocument; | 30 | class QDomDocument; | ||
32 | class QDomElement; | 31 | class QDomElement; | ||
33 | class KReportPluginInterface; | 32 | class KReportPluginInterface; | ||
34 | 33 | | |||
35 | extern const bool DEFAULT_SHOW_GRID; | | |||
36 | extern const bool DEFAULT_SNAP_TO_GRID; | | |||
37 | extern const int DEFAULT_GRID_DIVISIONS; | | |||
38 | extern const KReportUnit::Type DEFAULT_UNIT_TYPE; | | |||
39 | extern const KReportUnit DEFAULT_UNIT; | | |||
40 | extern const int DEFAULT_PAGE_MARGIN; | | |||
41 | extern const QPageSize::PageSizeId DEFAULT_PAGE_SIZE; | | |||
42 | extern const QPageLayout::Orientation DEFAULT_PAGE_ORIENTATION; | | |||
43 | | ||||
44 | class Q_DECL_HIDDEN KReportDesign::Private | 34 | class Q_DECL_HIDDEN KReportDesign::Private | ||
45 | { | 35 | { | ||
46 | public: | 36 | public: | ||
47 | explicit Private(KReportDesign *design); | 37 | explicit Private(KReportDesign *design); | ||
48 | 38 | | |||
49 | ~Private(); | 39 | ~Private(); | ||
50 | 40 | | |||
51 | QDomElement requiredChildElement(const QDomElement &parent, | 41 | QDomElement requiredChildElement(const QDomElement &parent, | ||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |