https://bugs.kde.org/show_bug.cgi?id=332380

--- Comment #10 from Shunsuke Shimizu <gr...@grafi.jp> ---
Another comment.

I'm not sure whether adaptor should be created, KBibTeXPart's one (as does in
the patch) or the FileModel's. I make it for the part since it enables the
access to GUI, like filter bar, considering users might like to filter their
bibs by scripting. Also some functionalities like id generation are easily
accessible from the part.

However, such functionalities also can be implemented for FileModel, by
separating the processing of FileModel and the use from view, as I did for
`clipboard.cpp`. For filtering, we may create a SortFilterFileModel not tied to
the filter bar, every time a user send dbus query to obtain filtered indexes
with search terms.

Therefore, considering twiddling GUI from external commands is a wrong, now I'm
a bit inclined to the adaptation of FileModel. Nevertheless full
functionalities need not be exported now. Exporting those is not zero-or-all
work, but gradual changing. 

I think those features really helps cooperation with web browsers. The rational
for using KBibTeX instead of another individual library is: 
1. Changes will be consistent with KBibTeX's view
2. KBibTeX features plenty of features

Shunsuke

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to