[Kst] [Bug 68074] New: priority of data sources
Andrew Walker
arwalker at sumusltd.com
Wed Nov 12 22:59:36 CET 2003
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=68074
Summary: priority of data sources
Product: kst
Version: unspecified
Platform: RedHat RPMs
OS/Version: Linux
Status: NEW
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: kst at kde.org
ReportedBy: arwalker at sumusltd.com
Version: 0.92 (using KDE KDE 3.1)
Installed from: RedHat RPMs
OS: Linux
There may be situations in which more than one of the KstDataSource plugins is willing to try and read in a given datafile, based on the filename, format, etc.
It might be advantageous to add an out parameter to the "understands" function such that a KstDataSource can indicate its level of certainty that it does understand a particular file. (e.g. UNDERSTAND_DEFINITE, UNDERSTAND_POSSIBLE, UNDERSTAND_WILL_GIVE_IT_A_GO) This parameter could then be used to select the best suited KstDataSource. All else being equal the first KstDataSource queried will be assigned the file.
More information about the Kst
mailing list