Review Request: Add support for single Runner queries to krunner (part I: libplasma)

Jacopo De Simoi wilderkde at gmail.com
Fri Nov 20 08:55:34 CET 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2090/
-----------------------------------------------------------

(Updated 2009-11-20 07:55:33.801723)


Review request for Plasma, Aaron Seigo and Ryan Bitanga.


Changes
-------

updated diff to recent changes in trunk


Summary
-------

This is the API needed by the new single Runner mode for krunner (more on usecases in part II:krunner) for kdelibs;

A runner can now optionally define a Default syntax; if this is the case, the runner will be exposed as single-runner-mode capable. 
On request, the default syntax will be replaced to the empty query in RunnerManager::launchQuery.

The context is aware of the fact that we are in single runner query mode in case the runners need to change their behaviour accordingly (e.g. to _not_ discard queries with less than 3 chars)


Diffs (updated)
-----

  trunk/KDE/kdelibs/plasma/abstractrunner.h 1050953 
  trunk/KDE/kdelibs/plasma/abstractrunner.cpp 1050953 
  trunk/KDE/kdelibs/plasma/runnercontext.h 1050953 
  trunk/KDE/kdelibs/plasma/runnercontext.cpp 1050953 
  trunk/KDE/kdelibs/plasma/runnermanager.h 1050953 
  trunk/KDE/kdelibs/plasma/runnermanager.cpp 1050953 

Diff: http://reviewboard.kde.org/r/2090/diff


Testing
-------


Thanks,

Jacopo



More information about the Plasma-devel mailing list