summaryrefslogtreecommitdiffstats
path: root/src/app/analyzer.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-06-13 16:55:00 +0200
committergregory guy <gregory-tde@laposte.net>2020-06-21 15:36:20 +0200
commit0b2288da16894d45e95caf5c0f1f5cba3f17c2dd (patch)
tree7dc6943b6af7edd7500456aaa813d79c8f09c88b /src/app/analyzer.cpp
parent88aa431c9d79bad942de04f4b28954b428079fd1 (diff)
downloadcodeine-0b2288da16894d45e95caf5c0f1f5cba3f17c2dd.tar.gz
codeine-0b2288da16894d45e95caf5c0f1f5cba3f17c2dd.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'src/app/analyzer.cpp')
-rw-r--r--src/app/analyzer.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/app/analyzer.cpp b/src/app/analyzer.cpp
index 593bd16..9d3da06 100644
--- a/src/app/analyzer.cpp
+++ b/src/app/analyzer.cpp
@@ -2,10 +2,10 @@
// See COPYING file for licensing information
#include "analyzer.h"
-#include "codeine.h"
-#include "debug.h"
+#include "../codeine.h"
+#include "../debug.h"
#include <math.h> //interpolate()
-#include <ntqevent.h> //event()
+#include <tqevent.h> //event()
#include "xineEngine.h"
#include "fht.cpp"
@@ -83,7 +83,7 @@ Analyzer::Base2D::resizeEvent( TQResizeEvent* )
// Author: Max Howell <max.howell@methylblue.com>, (C) 2003
// Copyright: See COPYING file that comes with this distribution
-#include <ntqpainter.h>
+#include <tqpainter.h>
Analyzer::Block::Block( TQWidget *parent )
: Analyzer::Base2D( parent, 20 )
@@ -108,7 +108,7 @@ Analyzer::Block::transform( Analyzer::Scope &scope ) //pure virtual
fht.scale( front, 1.0 / 40 );
}
-#include <math.h>
+
void
Analyzer::Block::analyze( const Analyzer::Scope &s )
{
@@ -129,3 +129,5 @@ Analyzer::Block::heightForWidth( int w ) const
{
return w / 2;
}
+
+#include "analyzer.moc"