Changeset View
Changeset View
Standalone View
Standalone View
kexi/plugins/reports/kexireportpart.cpp
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Line(s) | 84 | { | |||
---|---|---|---|---|---|
87 | 87 | | |||
88 | KexiView* view = 0; | 88 | KexiView* view = 0; | ||
89 | 89 | | |||
90 | if (viewMode == Kexi::DataViewMode) { | 90 | if (viewMode == Kexi::DataViewMode) { | ||
91 | view = new KexiReportView(parent); | 91 | view = new KexiReportView(parent); | ||
92 | 92 | | |||
93 | } else if (viewMode == Kexi::DesignViewMode) { | 93 | } else if (viewMode == Kexi::DesignViewMode) { | ||
94 | view = new KexiReportDesignView(parent, d->sourceSelector); | 94 | view = new KexiReportDesignView(parent, d->sourceSelector); | ||
95 | connect(d->sourceSelector, SIGNAL(setData(KoReportData*)), view, SLOT(slotSetData(KoReportData*))); | 95 | connect(d->sourceSelector, SIGNAL(sourceDataChanged()), view, SLOT(slotSourceDataChanged())); | ||
96 | connect(view, SIGNAL(itemInserted(QString)), this, SLOT(slotItemInserted(QString))); | 96 | connect(view, SIGNAL(itemInserted(QString)), this, SLOT(slotItemInserted(QString))); | ||
97 | } | 97 | } | ||
98 | return view; | 98 | return view; | ||
99 | } | 99 | } | ||
100 | 100 | | |||
101 | void KexiReportPart::initPartActions() | 101 | void KexiReportPart::initPartActions() | ||
102 | { | 102 | { | ||
103 | KexiMainWindowIface *win = KexiMainWindowIface::global(); | 103 | KexiMainWindowIface *win = KexiMainWindowIface::global(); | ||
▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines |