From f87a08c71516ab004ca7130e9cf05943c00bd09d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 6 Oct 2015 16:55:27 +0200 Subject: [printergui] Refactor option parsing --- src/maingui/printergui.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/maingui/printergui.h') diff --git a/src/maingui/printergui.h b/src/maingui/printergui.h index 624b44c..17fc8e6 100644 --- a/src/maingui/printergui.h +++ b/src/maingui/printergui.h @@ -13,6 +13,10 @@ class PrinterGui; } class QTimer; +class QLabel; +class QComboBox; +class QStringList; +typedef struct ppd_file_s ppd_file_t; class PrinterGui : public QMainWindow { @@ -31,16 +35,13 @@ private slots: private: Ui::PrinterGui *ui; void initializeUI(); + void enableOptionSelection(ppd_file_t *ppd, QStringList &nameList, QComboBox *combo, QLabel *label); cups_dest_t *dests; int num_dests; char * user; char * file; QTimer * bgTimer; int bgTimeout; - - QString _colorOptionName; - QString _duplexOptionName; - }; #endif // MAINWINDOW_H -- cgit v1.2.3-55-g7522