From 26a0e741b825b16e1b356f5c35c1aad52ddaf39a Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Tue, 13 Jun 2017 21:33:59 +0200 Subject: code cleanup: remove unimplemented classes and structs Remove forward declared but not implemented classes and structs. Signed-off-by: Jan Mulder --- desktop-widgets/mainwindow.h | 7 ------- profile-widget/divetooltipitem.h | 1 - profile-widget/profilewidget2.h | 2 -- 3 files changed, 10 deletions(-) diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index 10fe6d44d..33995e46f 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -19,18 +19,11 @@ #include "core/windowtitleupdate.h" #include "core/gpslocation.h" -struct DiveList; class QSortFilterProxyModel; class DiveTripModel; - -class DiveInfo; -class DiveNotes; -class Stats; -class Equipment; class QItemSelection; class DiveListView; class MainTab; -class ProfileGraphicsView; class QWebView; class QSettings; class UpdateManager; diff --git a/profile-widget/divetooltipitem.h b/profile-widget/divetooltipitem.h index e004e90e0..bdab4ed79 100644 --- a/profile-widget/divetooltipitem.h +++ b/profile-widget/divetooltipitem.h @@ -14,7 +14,6 @@ class DiveCartesianAxis; class QGraphicsLineItem; class QGraphicsSimpleTextItem; class QGraphicsPixmapItem; -struct graphics_context; /* To use a tooltip, simply ->setToolTip on the QGraphicsItem that you want * or, if it's a "global" tooltip, set it on the mouseMoveEvent of the ProfileGraphicsView. diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 2390f77ab..9c4a82f5c 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -22,7 +22,6 @@ class RulerItem2; struct dive; struct plot_info; class ToolTipItem; -class DiveMeanDepth; class DiveReportedCeiling; class DiveTextItem; class TemperatureAxis; @@ -36,7 +35,6 @@ class DiveProfileItem; class TimeAxis; class DiveTemperatureItem; class DiveHeartrateItem; -class PercentageItem; class DiveGasPressureItem; class DiveCalculatedCeiling; class DiveCalculatedTissue; -- cgit v1.2.3-70-g09d2