Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportRenderObjects.cpp
Show All 10 Lines | |||||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | * Lesser General Public License for more details. | 13 | * Lesser General Public License for more details. | ||
14 | * | 14 | * | ||
15 | * You should have received a copy of the GNU Lesser General Public | 15 | * You should have received a copy of the GNU Lesser General Public | ||
16 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | 16 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | 17 | */ | ||
18 | #include "KReportRenderObjects.h" | 18 | #include "KReportRenderObjects.h" | ||
19 | #include "KReportUtils_p.h" | ||||
19 | 20 | | |||
20 | #include "kreport_debug.h" | 21 | #include "kreport_debug.h" | ||
21 | 22 | | |||
22 | // Helper functions | 23 | // Helper functions | ||
23 | static bool xLessThan(OROPrimitive* s1, OROPrimitive* s2) | 24 | static bool xLessThan(OROPrimitive* s1, OROPrimitive* s2) | ||
24 | { | 25 | { | ||
25 | return s1->position().x() < s2->position().x(); | 26 | return s1->position().x() < s2->position().x(); | ||
26 | } | 27 | } | ||
27 | 28 | | |||
28 | // | 29 | // | ||
29 | // ORODocument | 30 | // ORODocument | ||
30 | // | 31 | // | ||
31 | 32 | | |||
32 | class Q_DECL_HIDDEN ORODocument::Private | 33 | class Q_DECL_HIDDEN ORODocument::Private | ||
33 | { | 34 | { | ||
34 | public: | 35 | public: | ||
35 | Private(); | 36 | Private(); | ||
36 | ~Private(); | 37 | ~Private(); | ||
37 | QString title; | 38 | QString title; | ||
38 | QList<OROPage*> pages; | 39 | QList<OROPage*> pages; | ||
39 | QList<OROSection*> sections; | 40 | QList<OROSection*> sections; | ||
40 | QPageLayout pageLayout; | 41 | KReportPrivate::PageLayout pageLayout; | ||
41 | }; | 42 | }; | ||
42 | 43 | | |||
43 | ORODocument::Private::Private() | 44 | ORODocument::Private::Private() | ||
44 | { | 45 | { | ||
45 | 46 | | |||
46 | } | 47 | } | ||
47 | 48 | | |||
48 | ORODocument::Private::~Private() | 49 | ORODocument::Private::~Private() | ||
▲ Show 20 Lines • Show All 919 Lines • Show Last 20 Lines |