summaryrefslogtreecommitdiffstats
path: root/src/app/analyzer.h
diff options
context:
space:
mode:
authorgregory guy <[email protected]>2020-06-13 16:09:24 +0200
committergregory guy <[email protected]>2020-06-13 16:09:24 +0200
commit2c9bc9b806f533df7b8f5349467d0f4be95314a4 (patch)
tree15f82ae94dd430374f3d939958912c4fb2855326 /src/app/analyzer.h
parent38eaf7209a322a622e1b898eaa5477568ca9c6b6 (diff)
downloadcodeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.tar.gz
codeine-2c9bc9b806f533df7b8f5349467d0f4be95314a4.zip
Conversion qt3 -> tqt3
Signed-off-by: gregory guy <[email protected]>
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& );