Add support for KDE Web Shortcus

There is a submenu in the context menu for searching selected text using
any of the enabled search provider and opening the result in the default
web browser.

This could be useful for searching compilation failure messages, warning
messages in logfile, etc.

DIGEST:
FEATURE:
FIXED-IN: 4.9.0
REVIEW: 104493
This commit is contained in:
Jekyll Wu
2012-04-17 23:56:49 +08:00
parent adc6998931
commit caaa91a08c
5 changed files with 112 additions and 13 deletions

View File

@@ -516,7 +516,7 @@ SessionController* ViewManager::createController(Session* session , TerminalDisp
connect(session , SIGNAL(primaryScreenInUse(bool)) ,
controller , SLOT(setupPrimaryScreenSpecificActions(bool)));
connect(session , SIGNAL(selectedText(QString)) ,
controller , SLOT(updateCopyAction(QString)));
controller , SLOT(selectionChanged(QString)));
connect(view , SIGNAL(destroyed()) , controller , SLOT(deleteLater()));
// if this is the first controller created then set it as the active controller