[Kst] branches/work/kst/1.6/kst/src/datasources/qimagesource

Andrew Walker arwalker at sumusltd.com
Wed Jan 16 21:57:46 CET 2008


SVN commit 762344 by arwalker:

format changes and change name to better conform to Kst standards

 M  +1 -1      kstdata_qimagesource.desktop  
 M  +0 -2      qimagesource.cpp  
 M  +1 -17     qimagesource.h  


--- branches/work/kst/1.6/kst/src/datasources/qimagesource/kstdata_qimagesource.desktop #762343:762344
@@ -5,7 +5,7 @@
 X-KDE-ModuleType=Plugin
 X-KDE-Library=qimagesource
 X-Kst-Plugin-Author=The University of Toronto
-Name=qimagesource
+Name=QImage Source
 Name[de]=qimagesource-Modul
 Name[el]=Πηγή qimage
 Name[it]=sorgenteqimage
--- branches/work/kst/1.6/kst/src/datasources/qimagesource/qimagesource.cpp #762343:762344
@@ -228,7 +228,6 @@
   KstDataSource::save(ts, indent);
 }
 
-//#include <kdebug.h>
 
 extern "C" {
 KstDataSource *create_qimagesource(KConfig *cfg, const QString& filename, const QString& type) {
@@ -284,4 +283,3 @@
 
 KST_KEY_DATASOURCE_PLUGIN(qimagesource)
 
-// vim: ts=2 sw=2 et
--- branches/work/kst/1.6/kst/src/datasources/qimagesource/qimagesource.h #762343:762344
@@ -25,37 +25,21 @@
 class QimagesourceSource : public KstDataSource {
   public:
     QimagesourceSource(KConfig *cfg, const QString& filename, const QString& type);
-
     ~QimagesourceSource();
 
     bool init();
-
     KstObject::UpdateType update(int = -1);
-
     int readField(double *v, const QString &field, int s, int n);
-
     int readMatrix(KstMatrixData* data, const QString& matrix, int xStart,
                    int yStart, int xNumSteps, int yNumSteps);
-/*     int readMatrix(KstMatrixData* data, const QString& matrix, int xStart, */
-/*                    int yStart, int xNumSteps, int yNumSteps, int skip); */
-
-    
     bool isValidField(const QString &field) const;
-
     bool isValidMatrix(const QString& field) const;
-
     bool matrixDimensions( const QString& matrix, int* xDim, int* yDim);
-
     int samplesPerFrame(const QString &field);
-
     int frameCount(const QString& field = QString::null) const;
-
     QString fileType() const;
-
     void save(QTextStream &ts, const QString& indent = QString::null);
-
     bool isEmpty() const;
-
     bool reset();
 
   private:
@@ -65,4 +49,4 @@
 
 
 #endif
-// vim: ts=2 sw=2 et
+


More information about the Kst mailing list