diff options
Diffstat (limited to 'src/oscilloscopedata.h')
-rw-r--r-- | src/oscilloscopedata.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/oscilloscopedata.h b/src/oscilloscopedata.h index cbabdac..c4b3bca 100644 --- a/src/oscilloscopedata.h +++ b/src/oscilloscopedata.h @@ -11,8 +11,8 @@ #ifndef OSCILLOSCOPEDATA_H #define OSCILLOSCOPEDATA_H -#include <qcolor.h> -#include <qobject.h> +#include <tqcolor.h> +#include <tqobject.h> typedef long long llong; typedef unsigned long long ullong; @@ -206,9 +206,11 @@ class StoredData /** @author David Saxton */ -class ProbeData : public QObject +class ProbeData : public TQObject { - Q_OBJECT; + Q_OBJECT + TQ_OBJECT + public: ProbeData( int id ); ~ProbeData(); @@ -232,11 +234,11 @@ class ProbeData : public QObject * Set the colour that is used to display the probe in the oscilloscope. * Default is black. */ - void setColor( QColor color ); + void setColor( TQColor color ); /** * @returns the colour that is used to display the probe in the oscilloscope */ - QColor color() const { return m_color; } + TQColor color() const { return m_color; } // /** // * Will not record any data when paused // */ @@ -275,7 +277,7 @@ class ProbeData : public QObject ullong m_insertPos; // bool b_isPaused; ullong m_resetTime; - QColor m_color; + TQColor m_color; }; |