Revision ce619d0...

Go back to digest for 29th May 2011

Features in Office

Alexander Potashev committed changes in [calligra] /:

Add libkundo2 to Calligra

kundo2 is a fork of Qt's Undo Framework (QUndoStack, QUndoView, ...).
It contains two bugfixes the are going to be available only in Qt 4.8:
https://qt.gitorious.org/qt/qt/merge_requests/1212
https://qt.gitorious.org/qt/qt/merge_requests/2610

To start using kundo2, one should port Calligra to it. This can be done
by adding target_link_libraries(... kundo2) into CMakeLists.txt files
for all modules from Calligra that use Qt Undo Framework, and by
switching from QUndo**** classes to KUndo2**** classes.
(switching to KUndo2 classes can easily be done by using a script)

After Calligra starts requiring Qt 4.8+, this library can be removed,
because it has no advantages over Qt's Undo Framework 4.8.

File Changes

Added 13 files
  • /kundo2
  •   libs/CMakeLists.txt
  •   libs_export.h
  •   libscommand.h
  •   libsgroup.cpp
  •   libsgroup.h
  •   libsmodel.cpp
  •   libsmodel.h
  •   libsqstack.h
  •   libsstack.cpp
  •   libsstack.h
  •   libsstack_p.h
  •   libsview.cpp
  •   libsview.h
Modified 1 files
  • libs/CMakeLists.txt
14 files changed in total