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:
parent
8fcba14753
commit
af1c55c29d
@ -6,6 +6,7 @@
|
||||
#include "mainwindow.h"
|
||||
#include "printlayout.h"
|
||||
#include "../dive.h"
|
||||
#include "../display.h"
|
||||
|
||||
/*
|
||||
struct options {
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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())
|
||||
|
||||
@ -4,7 +4,6 @@
|
||||
#include <QWidget>
|
||||
#include <QSlider>
|
||||
#include <QLabel>
|
||||
#include "../display.h"
|
||||
|
||||
namespace Ui {
|
||||
class PrintOptions;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user