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>
This commit is contained in:
Gehad elrobey 2015-06-29 03:16:19 +02:00 committed by Lubomir I. Ivanov
parent ff594c65e3
commit a600ea5201
6 changed files with 18 additions and 7 deletions

View file

@ -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