Revision 4699bac...

Go back to digest for 29th April 2012

Features in KDE Base

Alex Merry committed changes in [kdelibs/KDE/4.8] /:

Allow QML items to be associated with operations in Plasma::Service

QML items derive from QGraphicsObject, but not QGraphicsWidget. We
actually only need QGraphicsObject (for the enabled property).

This allows calling (dis)associateWidget from QML (eg: in javascript
plasmoids) and passing in a QML item.

File Changes

Modified 3 files
  •   plasma/service.cpp
  •   plasma/service.h
  •   plasma/private/service_p.h
3 files changed in total