Changeset View
Changeset View
Standalone View
Standalone View
kexi/plugins/reports/kexireportdesignview.cpp
Show First 20 Lines • Show All 190 Lines • ▼ Show 20 Line(s) | 147 | { | |||
---|---|---|---|---|---|
191 | return true; | 191 | return true; | ||
192 | } | 192 | } | ||
193 | 193 | | |||
194 | KexiReportPart::TempData* KexiReportDesignView::tempData() const | 194 | KexiReportPart::TempData* KexiReportDesignView::tempData() const | ||
195 | { | 195 | { | ||
196 | return static_cast<KexiReportPart::TempData*>(window()->data()); | 196 | return static_cast<KexiReportPart::TempData*>(window()->data()); | ||
197 | } | 197 | } | ||
198 | 198 | | |||
199 | void KexiReportDesignView::slotSetData(KoReportData* kodata) | 199 | void KexiReportDesignView::slotSourceDataChanged() | ||
200 | { | 200 | { | ||
201 | m_reportDesigner->setReportData(kodata); | 201 | m_reportDesigner->setReportData(m_sourceSelector->createSourceData()); | ||
202 | tempData()->connectionDefinition = m_sourceSelector->connectionData(); | 202 | tempData()->connectionDefinition = m_sourceSelector->connectionData(); | ||
203 | setDirty(true); | 203 | setDirty(true); | ||
204 | } | 204 | } | ||
205 | 205 | | |||
206 | void KexiReportDesignView::triggerAction(const QString &action) | 206 | void KexiReportDesignView::triggerAction(const QString &action) | ||
207 | { | 207 | { | ||
208 | m_reportDesigner->slotItem(action); | 208 | m_reportDesigner->slotItem(action); | ||
209 | } | 209 | } |