[Kde-pim] Dragging akonadi items
Robin Atwood
robin at binro.org
Wed Feb 24 11:31:48 GMT 2010
On Wednesday 24 February 2010, Robin Atwood wrote:
> > The only problem is that KPIM::KVCardDrag lives in kdepim/libkdepim,
> > i.e. it's not public API. If you want to use it outside or kdepim you
> > might have to copy it.
>
> I have been playing around with this and I think just copying over
> KVcardDrag doesn't cut it. In the dropEvent code "canDecode()" returns
> false and the mime-data is empty. I think something more is required.
...and pondering further, at the moment my app knows nothing of akonadi until
an "akonadi:" type URL gets dropped on it. Surely some kind of registration is
needed so Qt mime support knows what to do with it?
Cheers
-Robin
--
----------------------------------------------------------------------
Robin Atwood.
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list