[Kst] kdeextragear-2/kst/kst/datasources/lfiio

George Staikos staikos at kde.org
Fri Apr 15 05:39:28 CEST 2005


CVS commit by staikos: 

implement reset() in lfiio (untested)


  M +7 -0      lfiio.cpp   1.16
  M +2 -0      lfiio.h   1.10


--- kdeextragear-2/kst/kst/datasources/lfiio/lfiio.cpp  #1.15:1.16
@@ -44,4 +44,11 @@ LFIIOSource::~LFIIOSource( )
 
 
+bool LFIIOSource::reset()
+{
+  _fieldList.clear();
+  return _valid = initFile();
+}
+
+
 bool LFIIOSource::initFile( )
 {

--- kdeextragear-2/kst/kst/datasources/lfiio/lfiio.h  #1.9:1.10
@@ -37,4 +37,6 @@ class LFIIOSource : public KstDataSource
     bool isEmpty() const;
 
+    bool reset();
+
   private:
     bool getColNumber(const QString& field, int* piColNumber) const;




More information about the Kst mailing list