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

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


CVS commit by staikos: 

implement reset for indirect sources


  M +5 -0      indirect.cpp   1.14
  M +2 -0      indirect.h   1.7


--- kdeextragear-2/kst/kst/datasources/indirect/indirect.cpp  #1.13:1.14
@@ -74,4 +74,9 @@ bool IndirectSource::isValidField(const 
 
 
+bool IndirectSource::reset() {
+  return _child ? _child->reset() : KstDataSource::reset();
+}
+
+
 int IndirectSource::samplesPerFrame(const QString &field) {
   return _child ? _child->samplesPerFrame(field) : 0;

--- kdeextragear-2/kst/kst/datasources/indirect/indirect.h  #1.6:1.7
@@ -46,4 +46,6 @@ class IndirectSource : public KstDataSou
     bool isEmpty() const;
 
+    bool reset();
+
   private:
     KstDataSourcePtr _child;




More information about the Kst mailing list