summaryrefslogtreecommitdiffstats
path: root/clients/tde/src/widgets/tracewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tde/src/widgets/tracewidget.h')
-rw-r--r--clients/tde/src/widgets/tracewidget.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/clients/tde/src/widgets/tracewidget.h b/clients/tde/src/widgets/tracewidget.h
index 19c7806..21cced7 100644
--- a/clients/tde/src/widgets/tracewidget.h
+++ b/clients/tde/src/widgets/tracewidget.h
@@ -3,6 +3,8 @@
#include <tqwidget.h>
+#include <tqtrla.h>
+
class TQPixmap;
class TraceWidget : public TQWidget
@@ -18,7 +20,8 @@ class TraceWidget : public TQWidget
void setNumberOfVerticalDivisions(unsigned int divisions);
void setDisplayLimits(double x, double y, double w, double h);
- double* samples();
+ TQDoubleArray& samples();
+ void setSamples(TQDoubleArray&);
protected:
virtual void paintEvent(TQPaintEvent*);
@@ -35,6 +38,6 @@ class TraceWidget : public TQWidget
double m_rightEdge;
double m_topEdge;
double m_bottomEdge;
- double* m_sampleArray;
+ TQDoubleArray m_sampleArray;
TQPixmap* m_graticulePixmap;
}; \ No newline at end of file