Revision 731253
Go back to digest for 4th November 2007Other in KDE Base
Aaron J. Seigo committed changes in /trunk/KDE/kdebase/workspace/libs/plasma:
massive change to AbstractRunner API, but now at least it is hopefully future proof and we won't have to change it in BIC ways after 4.0
introduces two new classes: Plasma::SearchContext and Plasma::SearchAction
benefits include:
- well, future proofing =)
- the ability to eventually allow runners that mutate the search
- multiple exact matches per runner
- 'executing' of informational runners (useful for, e.g., the calculator)
- being able to centralize expensive operations such a KUriFilter actions
- simplifies writing runners *dramatically*
File Changes
Modified 2 files
- /trunk/KDE/kdebase/workspace/libs/plasma
- /abstractrunner.cpp
- /abstractrunner.h
2 files changed in total