[patch] application wide edit (cut, copy, paste) actions

Waldo Bastian bastian at kde.org
Mon Feb 17 11:06:46 GMT 2003


On Saturday 15 February 2003 04:54, Scott Wheeler wrote:
> I've been complaining about the lack of a framework for application wide
> implementation of edit actions for a little while, and started throwing out
> some ideas on IRC today.  When talking to Maks I came up with the idea for
> this patch.

Looks very nice. Do you think it's also possible to disable/enable these 
actions when applicable? Might be rather hard since you would need to track 
the "has selection" state of the focus widget in order to properly 
enable/disable cut & copy. Would be good to think a bit about that so that a 
Qt 4 solution could accomodate that as well.

Something along the lines of moving hasSelectedText() (Text only??) and 
selectionChanged() into this new Qt base class. And isReadOnly() in order to 
enable/disable paste.

Cheers,
Waldo
-- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com





More information about the kde-core-devel mailing list