mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	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
					
				
					 4 changed files with 3 additions and 4 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue