[Kst] extragear/graphics/kst/kst/datasources/ascii
George Staikos
staikos at kde.org
Sun Oct 30 01:12:51 CEST 2005
SVN commit 475640 by staikos:
use the new virtuals
M +4 -4 ascii.cpp
M +1 -1 ascii.h
--- trunk/extragear/graphics/kst/kst/datasources/ascii/ascii.cpp #475639:475640
@@ -726,22 +726,22 @@
}
-int AsciiSource::sampleForTime(int seconds, bool *ok) {
+int AsciiSource::sampleForTime(double ms, bool *ok) {
switch (_config->_indexInterpretation) {
case AsciiSource::Config::Seconds:
// FIXME: make sure "seconds" exists in _indexVector
if (ok) {
*ok = true;
}
- return seconds;
+ return 0;
case AsciiSource::Config::CTime:
// FIXME: make sure "seconds" exists in _indexVector (different than above?)
if (ok) {
*ok = true;
}
- return seconds;
+ return 0;
default:
- return KstDataSource::sampleForTime(seconds, ok);
+ return KstDataSource::sampleForTime(ms, ok);
}
}
--- trunk/extragear/graphics/kst/kst/datasources/ascii/ascii.h #475639:475640
@@ -59,7 +59,7 @@
bool supportsTimeConversions() const;
- int sampleForTime(int seconds, bool *ok);
+ int sampleForTime(double ms, bool *ok);
int sampleForTime(const QDateTime& time, bool *ok);
More information about the Kst
mailing list