[Kst] kdeextragear-2/kst/kst/datasources/lfiio
Andrew Walker
arwalker at sumusltd.com
Wed Mar 10 20:26:35 CET 2004
CVS commit by arwalker:
Added functionality to provide a list of the existing field names.
M +7 -1 lfiio.cpp 1.5
M +1 -0 lfiio.h 1.2
--- kdeextragear-2/kst/kst/datasources/lfiio/lfiio.cpp #1.4:1.5
@@ -96,4 +96,5 @@ KstObject::UpdateType LFIIOSource::updat
{
_strListColNames.clear( );
+ _strListColNames.append( "INDEX" );
_valid = true;
@@ -288,4 +289,9 @@ QString LFIIOSource::fileType( ) const
+QStringList LFIIOSource::fieldList( ) const
+{
+ return _strListColNames;
+}
+
void LFIIOSource::save( QTextStream& ts )
{
--- kdeextragear-2/kst/kst/datasources/lfiio/lfiio.h #1.1:1.2
@@ -35,4 +35,5 @@ public:
virtual QString fileType() const;
virtual void save(QTextStream &ts);
+ virtual QStringList fieldList() const;
private:
More information about the Kst
mailing list