Fix compilation errors on ubuntu

This commit is contained in:
David Sansome 2010-03-22 13:49:08 +00:00
parent 758f31c997
commit ad3c77cb5a
5 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,7 @@
#include "baranalyzer.h" #include "baranalyzer.h"
#include <cmath> //log10(), etc. #include <cmath> //log10(), etc.
#include <QtDebug> #include <QtDebug>
#include <QPainter>
const char* BarAnalyzer::kName = QT_TRANSLATE_NOOP("AnalyzerContainer", "Bar analyzer"); const char* BarAnalyzer::kName = QT_TRANSLATE_NOOP("AnalyzerContainer", "Bar analyzer");

View File

@ -12,6 +12,7 @@
#include <QMouseEvent> #include <QMouseEvent>
#include <QResizeEvent> #include <QResizeEvent>
#include <cstdlib> #include <cstdlib>
#include <QPainter>
const uint BlockAnalyzer::HEIGHT = 2; const uint BlockAnalyzer::HEIGHT = 2;
const uint BlockAnalyzer::WIDTH = 4; const uint BlockAnalyzer::WIDTH = 4;

View File

@ -3,6 +3,7 @@
#include "boomanalyzer.h" #include "boomanalyzer.h"
#include <cmath> #include <cmath>
#include <QPainter>
const char* BoomAnalyzer::kName = QT_TRANSLATE_NOOP("AnalyzerContainer", "Boom analyzer"); const char* BoomAnalyzer::kName = QT_TRANSLATE_NOOP("AnalyzerContainer", "Boom analyzer");

View File

@ -13,6 +13,8 @@
#include "sonogram.h" #include "sonogram.h"
#include <QPainter>
const char* Sonogram::kName = QT_TRANSLATE_NOOP("AnalyzerContainer", "Sonogram"); const char* Sonogram::kName = QT_TRANSLATE_NOOP("AnalyzerContainer", "Sonogram");
Sonogram::Sonogram(QWidget *parent) : Sonogram::Sonogram(QWidget *parent) :

View File

@ -8,6 +8,7 @@
// //
#include <cmath> #include <cmath>
#include <QPainter>
#include "turbine.h" #include "turbine.h"