Changeset View
Changeset View
Standalone View
Standalone View
core/documentcommands_p.h
Context not available. | |||||
310 | QList< bool > m_prevButtonStates; | 310 | QList< bool > m_prevButtonStates; | ||
---|---|---|---|---|---|
311 | }; | 311 | }; | ||
312 | 312 | | |||
313 | // class to undo all widgets | ||||
314 | | ||||
315 | class EditWidgetsCommand : public OkularUndoCommand | ||||
316 | { | ||||
317 | public: | ||||
318 | EditWidgetsCommand(const QVector <QUndoCommand*> &widgetsUndoCommands); | ||||
319 | ~EditWidgetsCommand(); | ||||
320 | | ||||
321 | void undo() override; | ||||
322 | void redo() override; | ||||
323 | bool refreshInternalPageReferences( const QVector< Okular::Page * > &newPagesVector ) override; | ||||
324 | | ||||
325 | private: | ||||
326 | QVector <QUndoCommand*> widgetsUndoCommands; | ||||
327 | }; | ||||
328 | | ||||
313 | } | 329 | } | ||
314 | #endif | 330 | #endif | ||
315 | 331 | | |||
Context not available. |