[Kst] kst2 datasource API comments

Peter Kümmel syntheticpp at gmx.net
Sat Mar 20 20:17:54 CET 2010


Peter Kümmel wrote:

> 
>> If I understand it, I think I like it.
> 
> OK, when there are no objection from others (Nicolas?) then I will
> do the move. Not identical to above (I think it is better to define
> SourceInterface within DataSource and to find a other name; using getters
> and setters; ...)

Done. qimagesource.cpp is the best file to show how it now looks like:
http://websvn.kde.org/branches/work/kst/portto4/kst/src/datasources/qimagesource/qimagesource.cpp?revision=1105620&view=markup

In asciisource and dirfilesource the new interface code only wraps the old one.

Peter


More information about the Kst mailing list