[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Add Drag'n drop classes to kdelibs ?
From:       Björn Sahlström <kbjorn () users ! sourceforge ! net>
Date:       2002-11-07 12:36:20
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi
Some year ago I wrote some classes that extends the KFileView classes in order 
to add DnD suitable for a KFileView. I had a lot of contact with Carsten 
Pfeiffer at that time and the intention was to add it into kdelibs. That 
didn't happend though. I know there are several applications that use my 
classes or parts of them (cut'n paste) including KFileTreeView class.
This leads to a lot of duplicated code and worst of all a possible 
inconsistency in DnD behaviour.
I have now rewritten my classes as templates that should make them able to 
work together with all classes inheriting KFileDetailView, KFileIconView, 
KFileTreeView and of course KListView and KIconView directly. Maybe they even 
work together with KListBox ? This is just a suggestion so any feedback is 
welcome. Please review.
I attach the classes. I also made a small demo:
http://home.bip.net/bjorn.sahlstrom/demo.tar.bz2
- -- 
MVH
Björn Sahlström
kbjorn@users.sourceforge.net

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: För information se http://www.gnupg.org/

mQGiBD28B58RBADB9GXKiS3tafgn9C4j/xCpHk0B+soC4i4AfluiuZhBfMiHWs75
f7rY0PVRn/FGaxX5tSVzupjLz2+k8qVzOCf4m3DsSJAV1tKOOVY9LWnycT94yxOs
VtxPLGonwe8JEBqUD5B6FNGAo22BbQ8t3xgVwb3UeDYjPOrmpPSl8vsNAwCg9VBl
zkPMgdNME2s6Ro2PkYck/hEEAJ0ESL+4dZowBUuPmhEJxKlXV/oHlfP4n7oAhKfZ
xDOhPyNBpOzwdc74KwGMSQNhsPlRX/q9WZdjd3XnhX3bEHL1oCZEtL33KyI4hhy7
8m+2evWA0hF1v6xbgZB5N60B7BtBglGhhzUMMG5OOnWe2ezOjobojirifmHe5lVU
nnL0A/4nCB0V84Ik/MbXxozTInCIfSryO6poekZjFYAbbk3eb0HzQeXFTqHXQFNp
2pKz03vjmmUgnIiAZIItv6UDzVZ3ldfBTvKAm6jMaphJBMVK0S6oqHq9+oopUwkM
3YImTuOfXlNScBQXEbFrG9hTlekB4Nz6TrXFFxNTlrw41tIABLQuQmr2cm4gU2Fo
bHN0cvZtIDxrYmpvcm5AdXNlcnMuc291cmNlZm9yZ2UubmV0PohXBBMRAgAXBQI9
vAefBQsHCgMEAxUDAgMWAgECF4AACgkQofGrU7zTgu1HXACeKextnIImTbu3ZiNJ
qzOCecpAWIYAoOxzW0AqmToSocRlyK5koNcdfKXkuQENBD28B6YQBACMBvOuZhDY
qb+MtU/3lRKp5YIt037R1/JnFcqZeIcIErY4rSoPvFx3k+GUrfd9rd/kSsfTXg1G
23tvvHKsrx19GFJKspy/TJrBToAlhsvXFAb7r3fpclSOFHRc7Ji7CYVHRlYTkeyc
FW4eU6aaRr0pxhqUEQlTuwk8MP+2p8wUawADBgP+KSXUgeD3iJWq2KTvirDuZjnB
B6wgCKwkDU9upL0N+2NZ1lpn4eShqlDfWekxcrzdbs638qu0klDG/xx66MKSOXRn
z+z/Mxb4BD6mRZRbh1J7F7PVNNjJJQUJMl4CgIudW3w3yAfNmB3/cRvL83VPlGLC
kq34SQLpXFYLORVl40OIRgQYEQIABgUCPbwHpgAKCRCh8atTvNOC7WmqAJ4oquR4
+Nkk4otpsFTcDJ6ZeAnoiQCfRLsU0Lv4nsv//PnmFOLU0igLdXw=
=IZ74
- -----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9yl5EofGrU7zTgu0RAkB0AKDuLcUX2JHcHX1nTihNHHlahIJfnQCdG3Y1
BEYH+CL0jHAHdbbN+NJKETw=
=tssx
-----END PGP SIGNATURE-----

["kgenericdndview.tar.bz2" (application/x-tbz)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic