From kde-devel Tue Jan 13 03:19:02 2004 From: Jonathan Hunt Date: Tue, 13 Jan 2004 03:19:02 +0000 To: kde-devel Subject: Re: Enhance Trash can functionality Message-Id: <200401131619.02774.jhuntnz () users ! sourceforge ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=107396419029020 Hi guys, I have been looking at implementing trash can in KDE and have thought about it a little more and have some questions. First to make a trash ioslave for accessing the trash can what sort of URL scheme should I use? Eg: trash:/ shows the users default trash can. trash:/food gives the file or dir named food in the default trash can. But the URL needs to incorporate two other things. 1) The user may have 3 copies of a file named food in the trash can. How to differentiate between the two? 2) A way of telling the trash ioslave to use a different trash bin eg: trash://home/jjhunt/backupofold/.trash:/ is what I was thinking of using. Suggestions of a URL scheme are wanted. Also looking at the konqueror source code I noticed that it only allows trashing of local files. I don't see why this limitation is necessary. Shouldn't it be possible to trash a remote file by copying it across the network to put in the local trash can (one day perhaps we will get version file systems that put the whole concept of trash can out of business - but until then this seems like a useful thing). Further comments suggestions on how I should go about modifying konqueror welcome. I'll have a whack at it soon hopefully. Cheers, Jonny ------------------------------------------------------- -- Jonathan Hunt (The Real Jonathan Hunt) Jabber at jhuntnz@jabber.org "He is no fool who gives what he cannot keep to gain what he cannot lose." Jim Elliot >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<