Revision 1210514

Go back to digest for 2nd January 2011

Features in Utilities

Pino Toscano committed changes in /trunk/extragear/utils/kpager:

port the custom drag code to the qt4 way

- turn PagerWindowDrag into a simple namespace, and make the former c'tor a function to populate the QMimeData
- canDecode/decode: just use QMimeData, instead of use the drag events
... because of this, manually accept() the event on drop
- create a QDrag object and fill it with mime data, pixmap and hostspot information
- remove few unnecessary includes

File Changes

Modified 3 files
  • /trunk/extragear/utils/kpager
  •   /desktop.cpp
  •   /windowdrag.cpp
  •   /windowdrag.h
3 files changed in total