Review Request: Add support for single Runner queries to krunner (part II: krunner)
Jacopo De Simoi
wilderkde at gmail.com
Sat Nov 7 21:29:27 CET 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2091/
-----------------------------------------------------------
Review request for Plasma, Aaron Seigo and Ryan Bitanga.
Summary
-------
This patch adds single runner query support to krunner;
When loading the runners, if any runner supports a defaultSyntax, then this is exposed via an action which shows up in the global shortcuts;
When this action is triggered, krunner starts in single-runner-query mode; i.e. queries are processed by the selected runner only; the interfaces changes slightly to reflect this fact (screenshot) and the query given by the default syntax is automatically run.
Also a convenient dbus interface is added, in case we want to trigger this internally;
The most obvious usecase is the windows runner; an upcoming devicerunner and also the nepomuk search runner could make use of this feature.
Diffs
-----
trunk/KDE/kdebase/workspace/krunner/dbus/org.kde.krunner.App.xml 1046190
trunk/KDE/kdebase/workspace/krunner/interfaces/default/interface.h 1046190
trunk/KDE/kdebase/workspace/krunner/interfaces/default/interface.cpp 1046190
trunk/KDE/kdebase/workspace/krunner/interfaces/default/resultscene.cpp 1046190
trunk/KDE/kdebase/workspace/krunner/interfaces/quicksand/qs_dialog.h 1046190
trunk/KDE/kdebase/workspace/krunner/interfaces/quicksand/qs_dialog.cpp 1046190
trunk/KDE/kdebase/workspace/krunner/krunnerapp.h 1046190
trunk/KDE/kdebase/workspace/krunner/krunnerapp.cpp 1046190
trunk/KDE/kdebase/workspace/krunner/krunnerdialog.h 1046190
trunk/KDE/kdebase/workspace/krunner/krunnerdialog.cpp 1046190
Diff: http://reviewboard.kde.org/r/2091/diff
Testing
-------
Screenshots
-----------
Window runner in single runner mode
http://reviewboard.kde.org/r/2091/s/255/
Thanks,
Jacopo
More information about the Plasma-devel
mailing list