[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-2/kst/kst/datasources/lfiio
From: Andrew Walker <arwalker () sumusltd ! com>
Date: 2004-03-10 19:26:35
Message-ID: 20040310192635.686209985 () office ! kde ! org
[Download RAW message or body]
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:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic