Print: move some header includes to cpp files

We don't really need includes of display.h and dive.h in
printoptions.h and printlayout.h or forward declartions
of 'struct dive' and 'struct options' in there.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Lubomir I. Ivanov 2013-07-11 00:45:29 +03:00
parent 8fcba14753
commit af1c55c29d
4 changed files with 3 additions and 4 deletions

View file

@ -6,6 +6,7 @@
#include "mainwindow.h"
#include "printlayout.h"
#include "../dive.h"
#include "../display.h"
/*
struct options {

View file

@ -2,11 +2,9 @@
#define PRINTLAYOUT_H
#include <QPrinter>
#include <QPainter>
#include "../display.h"
#include <QStringList>
class PrintDialog;
struct dive;
class PrintLayout : public QObject {
Q_OBJECT

View file

@ -1,5 +1,6 @@
#include "printoptions.h"
#include "ui_printoptions.h"
#include "../display.h"
PrintOptions::PrintOptions(QWidget *parent, struct options *printOpt)
: ui( new Ui::PrintOptions())

View file

@ -4,7 +4,6 @@
#include <QWidget>
#include <QSlider>
#include <QLabel>
#include "../display.h"
namespace Ui {
class PrintOptions;