Changeset View
Changeset View
Standalone View
Standalone View
libs/pageapp/KoPADocument.h
Show First 20 Lines • Show All 237 Lines • ▼ Show 20 Line(s) | 236 | public Q_SLOTS: | |||
---|---|---|---|---|---|
238 | virtual void initEmpty(); | 238 | virtual void initEmpty(); | ||
239 | 239 | | |||
240 | Q_SIGNALS: | 240 | Q_SIGNALS: | ||
241 | void shapeAdded(KoShape* shape); | 241 | void shapeAdded(KoShape* shape); | ||
242 | void shapeRemoved(KoShape* shape); | 242 | void shapeRemoved(KoShape* shape); | ||
243 | void pageAdded(KoPAPageBase* page); | 243 | void pageAdded(KoPAPageBase* page); | ||
244 | 244 | | |||
245 | /// This is a general signal to tell you a page was removed | 245 | /// This is a general signal to tell you a page was removed | ||
246 | void pageRemoved(KoPAPageBase* page); | 246 | void pageRemoved(KoPAPageBase* page, int index = -1); | ||
247 | 247 | | |||
248 | /// when page is removed this signal indicates you should replace it if it was active | 248 | /// when page is removed this signal indicates you should replace it if it was active | ||
249 | void replaceActivePage(KoPAPageBase *page, KoPAPageBase *newActivePage); | 249 | void replaceActivePage(KoPAPageBase *page, KoPAPageBase *newActivePage); | ||
250 | 250 | | |||
251 | /** | 251 | /** | ||
252 | * Update all views this document is displayed on | 252 | * Update all views this document is displayed on | ||
253 | * | 253 | * | ||
254 | * @param page specify a page to be updated, all views with this page as active page will be updated. | 254 | * @param page specify a page to be updated, all views with this page as active page will be updated. | ||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |