Changeset View
Changeset View
Standalone View
Standalone View
src/common/KReportUtils_p.cpp
Show First 20 Lines • Show All 304 Lines • ▼ Show 20 Line(s) | 304 | { | |||
---|---|---|---|---|---|
305 | return s_instance->m_dpiX; | 305 | return s_instance->m_dpiX; | ||
306 | } | 306 | } | ||
307 | 307 | | |||
308 | int dpiY() | 308 | int dpiY() | ||
309 | { | 309 | { | ||
310 | return s_instance->m_dpiY; | 310 | return s_instance->m_dpiY; | ||
311 | } | 311 | } | ||
312 | 312 | | |||
313 | PageLayout::PageLayout() : QPageLayout(QPageSize(QPageSize::A4), QPageLayout::Portrait, QMarginsF(0,0,0,0)) | ||||
314 | { | ||||
315 | } | ||||
316 | | ||||
317 | PageLayout::PageLayout(const QPageLayout& pageLayout) : QPageLayout(pageLayout) | ||||
318 | { | ||||
319 | } | ||||
320 | | ||||
321 | KReportPrivate::PageLayout & PageLayout::operator=(const QPageLayout& other) | ||||
322 | { | ||||
323 | QPageLayout::operator=(other); | ||||
324 | return *this; | ||||
325 | } | ||||
326 | | ||||
313 | } | 327 | } |