mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
profile: cleanup includes in tankitem.cpp
If possible, forward declare and move the include to the .cpp file. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
7da5719cab
commit
9c0b6436fd
2 changed files with 8 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
#include "profile-widget/tankitem.h"
|
||||
#include "profile-widget/divecartesianaxis.h"
|
||||
#include "profile-widget/divetextitem.h"
|
||||
#include "core/dive.h"
|
||||
#include "core/event.h"
|
||||
#include "core/profile.h"
|
||||
#include <QPen>
|
||||
|
|
|
@ -2,11 +2,13 @@
|
|||
#ifndef TANKITEM_H
|
||||
#define TANKITEM_H
|
||||
|
||||
#include <QGraphicsItem>
|
||||
#include <QBrush>
|
||||
#include "profile-widget/divelineitem.h"
|
||||
#include "profile-widget/divecartesianaxis.h"
|
||||
#include "core/dive.h"
|
||||
#include "core/gas.h"
|
||||
#include <QGraphicsRectItem>
|
||||
#include <QBrush>
|
||||
|
||||
struct dive;
|
||||
class DiveCartesianAxis;
|
||||
|
||||
class TankItem : public QGraphicsRectItem
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue