diff options
author | Boris Barbulovski <bbarbulovski@gmail.com> | 2014-02-08 20:12:13 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-09 08:15:42 -0800 |
commit | 02e9a6d07ba6abf558ba1dc9c5721f2429cfd566 (patch) | |
tree | ab404cfdaebd75578e2ca7dba2772ac8ea541d25 /qt-ui/printdialog.h | |
parent | 3086741d494feeffe77a77776d642b7266eda559 (diff) | |
download | subsurface-02e9a6d07ba6abf558ba1dc9c5721f2429cfd566.tar.gz |
PrintDialog class cleanup.
* Remove static PrintDialog::instance() method
* Remove void PrintDialog::runDialog() method
* construct/destruct print dialog on demand
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printdialog.h')
-rw-r--r-- | qt-ui/printdialog.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/qt-ui/printdialog.h b/qt-ui/printdialog.h index 44bb94669..8f5edec72 100644 --- a/qt-ui/printdialog.h +++ b/qt-ui/printdialog.h @@ -14,12 +14,10 @@ class PrintDialog : public QDialog { Q_OBJECT public: - static PrintDialog *instance(); - void runDialog(); struct options printOptions; + explicit PrintDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); private: - explicit PrintDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); PrintOptions *optionsWidget; PrintLayout *printLayout; QProgressBar *progressBar; |