[Kst] kdeextragear-2/kst/kst

George Staikos staikos at kde.org
Fri Apr 15 01:43:55 CEST 2005


CVS commit by staikos: 


data sources need to be marked as non-reusable if the configuration changes
since the user could:
- load file v.txt
- use v.txt
- load file v.txt again, reconfigure
- use v.txt
- load file v.txt again
- use v.txt

In the second case, it needs to not save the changes to the datasource object,
but create a new instance, mark the old one as non-reusable, and apply the
settings to the new instance.  The third case needs to pick up the instance
created in the second load, not the first.

This doesn't cover the "reload" case.  The problem is that reset() is not
implemented in most datasources so reloading will cause all new instances to
be created.  This needs to be fixed ASAP.


  M +2 -0      datawizard.ui   1.73
  M +25 -7     datawizard.ui.h   1.134
  M +1 -1      kstchangefiledialog_i.cpp   1.33
  M +27 -5     kstdatasource.cpp   1.65
  M +13 -0     kstdatasource.h   1.41
  M +2 -2      kstiface_impl.cpp   1.68
  M +24 -8     kstvectordialog_i.cpp   1.71
  M +1 -0      kstvectordialog_i.h   1.25
  M +1 -1      datasources/ascii/ascii.cpp   1.56
  M +0 -4      datasources/ascii/notes.txt   1.4





More information about the Kst mailing list