From b283e14c7be1b7d3bc42bc186cbb60cdc2d0ab4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Sat, 7 Mar 2015 17:02:25 +0100 Subject: [PATCH] Remove all occurrences of outside the Logger --- datafileexporter.cpp | 2 -- datafilesloader.cpp | 1 - datamanager.cpp | 2 -- gui/graphview.cpp | 2 -- gui/signalview.cpp | 2 -- imagedrawer.cpp | 2 -- signalcontroller.cpp | 1 - signalcontroller.h | 2 -- signaldrawer.cpp | 1 - singlerunsselectormodel.cpp | 2 -- 10 files changed, 17 deletions(-) diff --git a/datafileexporter.cpp b/datafileexporter.cpp index 7a84d22..ab97907 100644 --- a/datafileexporter.cpp +++ b/datafileexporter.cpp @@ -28,8 +28,6 @@ #include #include -#include - const OutputFormat DataFileExporter::SUPPORTED_FORMATS[] = { OutputFormat("Comma separated values", "csv") }; /* Static methods */ diff --git a/datafilesloader.cpp b/datafilesloader.cpp index f8d5d80..ad730b9 100644 --- a/datafilesloader.cpp +++ b/datafilesloader.cpp @@ -24,7 +24,6 @@ #include "datafilesloader.h" #include "logger.h" #include "gui/failedfilesdialog.h" -#include DataFilesLoader::DataFilesLoader(QObject *parent) : QObject(parent) diff --git a/datamanager.cpp b/datamanager.cpp index ccaa73b..29f070f 100644 --- a/datamanager.cpp +++ b/datamanager.cpp @@ -25,8 +25,6 @@ #include "logger.h" #include -#include - const char DataManager::UNIT_DEGREES_CELSIUS_TEXT[] = {static_cast(0xB0), 0x43, 0x00}; const char DataManager::UNIT_KILOVOLTS_TEXT[] = {0x4B, 0x56, 0x00}; const char DataManager::UNIT_KILOVOLTS_ALT1_TEXT[] = {0x6B, 0x56, 0x00}; diff --git a/gui/graphview.cpp b/gui/graphview.cpp index 31bb2e0..7ca1d17 100644 --- a/gui/graphview.cpp +++ b/gui/graphview.cpp @@ -26,8 +26,6 @@ #include "logger.h" #include -#include - const double GraphView::DEFAULT_Y_MARGIN = 0.05; GraphView::GraphView(std::shared_ptr controller, QWidget* parent) : diff --git a/gui/signalview.cpp b/gui/signalview.cpp index 6edaeab..71052a8 100644 --- a/gui/signalview.cpp +++ b/gui/signalview.cpp @@ -27,8 +27,6 @@ #include #include -//#include - SignalView::SignalView(std::shared_ptr controller, QWidget* parent) : QWidget(parent), m_controller(controller), diff --git a/imagedrawer.cpp b/imagedrawer.cpp index c3af9dc..22b5f0a 100644 --- a/imagedrawer.cpp +++ b/imagedrawer.cpp @@ -27,8 +27,6 @@ #include #include -#include - ImageDrawer::ImageDrawer(std::shared_ptr controller, QObject* parent) : QObject(parent), SignalDrawer(controller), diff --git a/signalcontroller.cpp b/signalcontroller.cpp index 969fbdf..f1ea0eb 100644 --- a/signalcontroller.cpp +++ b/signalcontroller.cpp @@ -27,7 +27,6 @@ #include #include #include -#include const double SignalController::RELATIVE_MAX = 1.0; const double SignalController::RELATIVE_MIN = 0.0; diff --git a/signalcontroller.h b/signalcontroller.h index 6db279a..753257b 100644 --- a/signalcontroller.h +++ b/signalcontroller.h @@ -32,8 +32,6 @@ #include #include -#include - struct GUIViewport { double relFromX; double relFromY; diff --git a/signaldrawer.cpp b/signaldrawer.cpp index 7ace5d3..dbadd70 100644 --- a/signaldrawer.cpp +++ b/signaldrawer.cpp @@ -24,7 +24,6 @@ #include "logger.h" #include "signaldrawer.h" #include -#include const int SignalDrawer::AXIS_LABEL_BORDER_OFFSET(2); const int SignalDrawer::AXIS_LABEL_SCALE_OFFSET(3); diff --git a/singlerunsselectormodel.cpp b/singlerunsselectormodel.cpp index 5e11268..057f0e1 100644 --- a/singlerunsselectormodel.cpp +++ b/singlerunsselectormodel.cpp @@ -22,8 +22,6 @@ #include "singlerunsselectormodel.h" -#include - SingleRunsSelectorModel::SingleRunsSelectorModel(QObject *parent) : QAbstractListModel(parent) { -- 2.43.5