[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Wed Mar 30 01:26:09 CEST 2005
CVS commit by staikos:
apply curve hint fix to PSDs also
M +7 -2 kstpsd.cpp 1.30
M +2 -0 kstpsd.h 1.8
--- kdeextragear-2/kst/kst/kstpsd.cpp #1.29:1.30
@@ -177,6 +177,4 @@ void KstPSD::commonConstructor(const QSt
_sVector = _outputVectors.insert(SVECTOR, ov);
(*_sVector)->setLabel(i18n("PSD [%1/%2^{1/2}]").arg(VUnits).arg(RUnits));
-
- _curveHints->append(new KstCurveHint(i18n("PSD Curve"), (*_fVector)->tagName(), (*_sVector)->tagName()));
}
@@ -197,4 +195,11 @@ KstPSD::~KstPSD() {
+const KstCurveHintList *KstPSD::curveHints() const {
+ _curveHints->clear();
+ _curveHints->append(new KstCurveHint(i18n("PSD Curve"), (*_fVector)->tagName(), (*_sVector)->tagName()));
+ return _curveHints;
+}
+
+
void KstPSD::GenW(int len) {
int i;
--- kdeextragear-2/kst/kst/kstpsd.h #1.7:1.8
@@ -70,4 +70,6 @@ class KstPSD : public KstDataObject {
KstVectorPtr vY() const { return *_sVector; }
+ const KstCurveHintList *curveHints() const;
+
private:
void GenW(int len);
More information about the Kst
mailing list