[PATCH] KLineEdit websearch feature
Sebastian Tilsch
Sebastian.Tilsch at inf.tu-dresden.de
Sat May 23 17:16:15 BST 2009
Hello,
this is my first attempt in developing for the KDE project ( except my own
programs). I added a small but useful feature, that I would like to see in
most of the components, where text is selectable.
It expands the context menu of a KLineEdit with the feature "search in
web...". It uses the current user configuration of Search Providers, which is
accessible with "kcmshell4 ebrowsing", but it will only use the user chosen
favorite ones.
It would be even more useful in other components, like the KRichTextEdit,
KRichTextWidget, selectable Labels (unfortunately all applications use the
native QLabel) and in programs, like konsole and konqueror.
I know from the KDE4.3 release Schedule that adding features for this release
is over, but maybe, if someone else has the opinion too, this handy little
feature could be useful, we could still integrate it. Than I would also go on,
adding it to the other components, as mentioned before.
I hope the position of the extra classes in "klineedit_p.h" is correct (of
course, only as long as it is not used by other control-elements).
The patch I attached modifies klineedit_p.h and klineedit.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klineedit-websearch-patch.diff
Type: text/x-patch
Size: 4584 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090523/d96f2419/attachment.bin>
More information about the kde-core-devel
mailing list