summaryrefslogtreecommitdiffstats
path: root/src/app/analyzer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/analyzer.h')
-rw-r--r--src/app/analyzer.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/app/analyzer.h b/src/app/analyzer.h
index 6fdb12f..edd526e 100644
--- a/src/app/analyzer.h
+++ b/src/app/analyzer.h
@@ -8,9 +8,9 @@
#include <sys/types.h>
#endif
-#include <qpixmap.h> //stack allocated and convenience
-#include <qtimer.h> //stack allocated
-#include <qwidget.h> //baseclass
+#include <ntqpixmap.h> //stack allocated and convenience
+#include <ntqtimer.h> //stack allocated
+#include <ntqwidget.h> //baseclass
#include <vector> //included for convenience
namespace Analyzer
@@ -23,44 +23,44 @@ namespace Analyzer
uint timeout() const { return m_timeout; }
protected:
- Base( QWidget*, uint );
+ Base( TQWidget*, uint );
virtual void transform( Scope& ) = 0;
virtual void analyze( const Scope& ) = 0;
private:
- virtual bool event( QEvent* );
+ virtual bool event( TQEvent* );
protected:
- QTimer m_timer;
+ TQTimer m_timer;
uint m_timeout;
};
- class Base2D : public Base<QWidget>
+ class Base2D : public Base<TQWidget>
{
Q_OBJECT
public:
- const QPixmap *canvas() const { return &m_canvas; }
+ const TQPixmap *canvas() const { return &m_canvas; }
private slots:
void draw();
protected:
- Base2D( QWidget*, uint timeout );
+ Base2D( TQWidget*, uint timeout );
- QPixmap *canvas() { return &m_canvas; }
+ TQPixmap *canvas() { return &m_canvas; }
- void paintEvent( QPaintEvent* ) { if( !m_canvas.isNull() ) bitBlt( this, 0, 0, canvas() ); }
- void resizeEvent( QResizeEvent* );
+ void paintEvent( TQPaintEvent* ) { if( !m_canvas.isNull() ) bitBlt( this, 0, 0, canvas() ); }
+ void resizeEvent( TQResizeEvent* );
private:
- QPixmap m_canvas;
+ TQPixmap m_canvas;
};
class Block : public Analyzer::Base2D
{
public:
- Block( QWidget* );
+ Block( TQWidget* );
protected:
virtual void transform( Analyzer::Scope& );