Patch for KEditToolbar dnd support
bastian at kde.org
Sun May 16 14:43:42 BST 2004
-----BEGIN PGP SIGNED MESSAGE-----
On Sun May 16 2004 02:28, Sandro Giessl wrote:
> Would anyone mind reviewing the following patch? It adds drag&drop
> support to KEditToolbarWidget.
> Sorry, it's quite long. Basically what it does is:
> - Replace the KListViews with a subclass enabled for dnd using a custom
> QStoredDrag subclass.
> - Move the private list view mmbers to the d pointer, but keeps the old
> members. This hopefully keeps binary compatibility.
I don't think this is needed, you can just change the type of the private
members. They are private so they can't be used by anyone outside the class
itself anyway and the size of the members will remain the same (because they
> Especially why I'm CCing to kde-core-devel is because I'm unsure about
> the DragObject stuff. For example, is it ok to simply choose a random
> "data/x-kde.toolbar.item" mime type name for the toolbar item data or
> is there anything to consider when creating a new mime type?
No, that should be just fine.
bastian at kde.org | Novell BrainShare Europe 2004 | bastian at suse.com
bastian at kde.org | 12-18 September, Barcelona, Spain | bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the kde-core-devel