Changeset View
Changeset View
Standalone View
Standalone View
libs/koreport/wrtembed/KoReportDesigner.cpp
Show First 20 Lines • Show All 369 Lines • ▼ Show 20 Line(s) | 369 | { | |||
---|---|---|---|---|---|
370 | QPointer<SectionEditor> se = new SectionEditor(this); | 370 | QPointer<SectionEditor> se = new SectionEditor(this); | ||
371 | se->init(this); | 371 | se->init(this); | ||
372 | se->exec(); | 372 | se->exec(); | ||
373 | delete se; | 373 | delete se; | ||
374 | } | 374 | } | ||
375 | 375 | | |||
376 | void KoReportDesigner::setReportData(KoReportData* kodata) | 376 | void KoReportDesigner::setReportData(KoReportData* kodata) | ||
377 | { | 377 | { | ||
378 | //kDebug(); | | |||
379 | if (kodata) { | | |||
380 | m_kordata = kodata; | 378 | m_kordata = kodata; | ||
381 | slotPageButton_Pressed(); | 379 | slotPageButton_Pressed(); | ||
382 | setModified(true); | 380 | setModified(true); | ||
383 | emit reportDataChanged(); | 381 | emit reportDataChanged(); | ||
384 | } | 382 | } | ||
385 | } | | |||
386 | 383 | | |||
387 | ReportSection * KoReportDesigner::section(KRSectionData::Section s) const | 384 | ReportSection * KoReportDesigner::section(KRSectionData::Section s) const | ||
388 | { | 385 | { | ||
389 | ReportSection *sec; | 386 | ReportSection *sec; | ||
390 | switch (s) { | 387 | switch (s) { | ||
391 | case KRSectionData::PageHeaderAny: | 388 | case KRSectionData::PageHeaderAny: | ||
392 | sec = m_pageHeaderAny; | 389 | sec = m_pageHeaderAny; | ||
393 | break; | 390 | break; | ||
▲ Show 20 Lines • Show All 953 Lines • Show Last 20 Lines |