Changeset View
Changeset View
Standalone View
Standalone View
src/wrtembed/KReportDesigner.cpp
Show First 20 Lines • Show All 1171 Lines • ▼ Show 20 Line(s) | 1171 | if (activeScene()) | |||
---|---|---|---|---|---|
1172 | return activeScene()->selectedItems().count(); | 1172 | return activeScene()->selectedItems().count(); | ||
1173 | else | 1173 | else | ||
1174 | return 0; | 1174 | return 0; | ||
1175 | } | 1175 | } | ||
1176 | 1176 | | |||
1177 | void KReportDesigner::changeSet(KPropertySet *s) | 1177 | void KReportDesigner::changeSet(KPropertySet *s) | ||
1178 | { | 1178 | { | ||
1179 | //Set the checked state of the report properties button | 1179 | //Set the checked state of the report properties button | ||
1180 | if (s == &d->set) | 1180 | if (set == &d->set) | ||
1181 | d->pageButton->setCheckState(Qt::Checked); | 1181 | d->pageButton->setCheckState(Qt::Checked); | ||
1182 | else | 1182 | else | ||
1183 | d->pageButton->setCheckState(Qt::Unchecked); | 1183 | d->pageButton->setCheckState(Qt::Unchecked); | ||
1184 | 1184 | | |||
1185 | if (d->itemSet != s) { | 1185 | if (d->itemSet != set) { | ||
1186 | d->itemSet = s; | 1186 | d->itemSet = set; | ||
1187 | emit propertySetChanged(); | 1187 | emit propertySetChanged(); | ||
1188 | } | 1188 | } | ||
1189 | } | 1189 | } | ||
1190 | 1190 | | |||
1191 | // | 1191 | // | ||
1192 | // Actions | 1192 | // Actions | ||
1193 | // | 1193 | // | ||
1194 | 1194 | | |||
▲ Show 20 Lines • Show All 499 Lines • Show Last 20 Lines |