Fwd: kstdaccel patch
Felix Berger
bflat1 at gmx.net
Mon Mar 15 12:54:48 GMT 2004
On Monday 15 March 2004 13:23, Lubos Lunak wrote:
> /**
> - * Goto beginning of current line. Default: Home
> + * Goto beginning of the document. Default: Ctrl-Home
> * @return the shortcut of the standard accelerator
> */
> const KShortcut& home();
Yes, In this case I adapted the documentation to the code, which already set
"Ctrl-Home" as default key binding.
But I like your suggestion to introduce "beginningOfDocument()" and
"endOfDocuement()" it's less prone to misunderstandings.
Actually I would like all ScrollViews to honor these shortcuts, but I guess
that's not trivially possible since there is no KScrollView class and Qt
follows the inheritance pattern for classes like QListView (which inherits
QScrollView), instead of using the composition pattern as swing does it which
is more extensible in my opinion:
JTable table = new JTable();
JScrollPane jsp = new JScrollPane(table);
Regards,
Felix
--
Use Debian GNU/Linux!
http://www.felix.beldesign.de/
More information about the kde-core-devel
mailing list