Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/reports/kexireportdesignview.cpp
Show First 20 Lines • Show All 220 Lines • ▼ Show 20 Line(s) | 220 | { | |||
---|---|---|---|---|---|
221 | m_reportDesigner->slotItem(action); | 221 | m_reportDesigner->slotItem(action); | ||
222 | } | 222 | } | ||
223 | 223 | | |||
224 | QDomElement KexiReportDesignView::connectionData() const | 224 | QDomElement KexiReportDesignView::connectionData() const | ||
225 | { | 225 | { | ||
226 | QDomDocument dd; | 226 | QDomDocument dd; | ||
227 | QDomElement conndata = dd.createElement("connection"); | 227 | QDomElement conndata = dd.createElement("connection"); | ||
228 | conndata.setAttribute("type", "internal"); // for backward compatibility, currently always | 228 | conndata.setAttribute("type", "internal"); // for backward compatibility, currently always | ||
229 | // internal, we used to have "external" in old Kexi | 229 | // internal, we used to have "external" in old KEXI | ||
230 | conndata.setAttribute("source", m_sourceSelector->selectedName()); | 230 | conndata.setAttribute("source", m_sourceSelector->selectedName()); | ||
231 | conndata.setAttribute("class", m_sourceSelector->selectedPluginId()); | 231 | conndata.setAttribute("class", m_sourceSelector->selectedPluginId()); | ||
232 | return conndata; | 232 | return conndata; | ||
233 | } | 233 | } | ||
234 | 234 | | |||
235 | void KexiReportDesignView::setConnectionData(const QDomElement &c) | 235 | void KexiReportDesignView::setConnectionData(const QDomElement &c) | ||
236 | { | 236 | { | ||
237 | qDebug() << c; | 237 | qDebug() << c; | ||
Show All 9 Lines |