diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-06-29 03:16:19 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-05 21:00:25 +0300 |
commit | a600ea5201f55a3182cb24a0553d02aefad2c51b (patch) | |
tree | c356e41924ef3b39c4aa5dec6420b1574e518566 /qt-ui/printoptions.h | |
parent | ff594c65e3597f53164302f79df05c0b5e70980c (diff) | |
download | subsurface-a600ea5201f55a3182cb24a0553d02aefad2c51b.tar.gz |
Printing: add template_options struct that contains template
The template_options struct holds the settings variables in the code.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printoptions.h')
-rw-r--r-- | qt-ui/printoptions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/printoptions.h b/qt-ui/printoptions.h index 324697762..9bacd4e90 100644 --- a/qt-ui/printoptions.h +++ b/qt-ui/printoptions.h @@ -25,12 +25,13 @@ class PrintOptions : public QWidget { Q_OBJECT public: - explicit PrintOptions(QWidget *parent = 0, struct print_options *printOpt = 0); + explicit PrintOptions(QWidget *parent, struct print_options *printOpt, struct template_options *templateOpt); void setup(struct print_options *printOpt); private: Ui::PrintOptions ui; struct print_options *printOptions; + struct template_options *templateOptions; bool hasSetupSlots; private |