summaryrefslogtreecommitdiff
path: root/src/printsupport/dialogs/qpagesetupdialog.h
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>2015-06-11 13:59:46 +0200
committerGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-06-24 15:24:14 +0000
commit0e41a58fb8f15a9a0790db2f33efe32d3c227bc2 (patch)
tree55bfed6f52306cba4c85393687b0ea0fc1ebc5d1 /src/printsupport/dialogs/qpagesetupdialog.h
parent02ea0235216beef390e9868ff770c7a54d70db83 (diff)
downloadqtbase-0e41a58fb8f15a9a0790db2f33efe32d3c227bc2.tar.gz
QPageSetupDialog: Add missing Q_DECL_OVERRIDE
Also removed unnecessary virtual specifiers. Change-Id: Id3e0fcf6916d4ccde351e5456e4f92f3cbedc3f6 Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/printsupport/dialogs/qpagesetupdialog.h')
-rw-r--r--src/printsupport/dialogs/qpagesetupdialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/printsupport/dialogs/qpagesetupdialog.h b/src/printsupport/dialogs/qpagesetupdialog.h
index 56cd48ee94..43b642b8f1 100644
--- a/src/printsupport/dialogs/qpagesetupdialog.h
+++ b/src/printsupport/dialogs/qpagesetupdialog.h
@@ -53,12 +53,12 @@ class Q_PRINTSUPPORT_EXPORT QPageSetupDialog : public QDialog
public:
explicit QPageSetupDialog(QPrinter *printer, QWidget *parent = 0);
explicit QPageSetupDialog(QWidget *parent = 0);
- virtual ~QPageSetupDialog();
+ ~QPageSetupDialog();
#if defined(Q_OS_MAC) || defined(Q_OS_WIN)
- virtual void setVisible(bool visible);
+ void setVisible(bool visible) Q_DECL_OVERRIDE;
#endif
- virtual int exec() Q_DECL_OVERRIDE;
+ int exec() Q_DECL_OVERRIDE;
using QDialog::open;
void open(QObject *receiver, const char *member);