From 5180f32c5abe01acd65cde68c2c16aedda4028ec Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Sun, 16 Nov 2014 13:09:01 +0100 Subject: Add Q_DECL_OVERRIDE in the src subdirectory Done automatically with clang-modernize on linux (But does not add Q_DECL_OVERRIDE to the function that are marked as inline because it a compilation error with MSVC2010) Change-Id: I2196ee26e3e6fe20816834ecea5ea389eeab3171 Reviewed-by: Thiago Macieira --- src/printsupport/dialogs/qprintdialog.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/printsupport/dialogs/qprintdialog.h') diff --git a/src/printsupport/dialogs/qprintdialog.h b/src/printsupport/dialogs/qprintdialog.h index 437c2831d4..768951ae17 100644 --- a/src/printsupport/dialogs/qprintdialog.h +++ b/src/printsupport/dialogs/qprintdialog.h @@ -57,11 +57,11 @@ public: explicit QPrintDialog(QWidget *parent = 0); ~QPrintDialog(); - int exec(); + int exec() Q_DECL_OVERRIDE; #if defined (Q_OS_UNIX) && !defined(Q_OS_MAC) - virtual void accept(); + virtual void accept() Q_DECL_OVERRIDE; #endif - void done(int result); + void done(int result) Q_DECL_OVERRIDE; void setOption(PrintDialogOption option, bool on = true); bool testOption(PrintDialogOption option) const; @@ -69,7 +69,7 @@ public: PrintDialogOptions options() const; #if defined(Q_OS_UNIX) || defined(Q_OS_WIN) - void setVisible(bool visible); + void setVisible(bool visible) Q_DECL_OVERRIDE; #endif #ifdef Q_NO_USING_KEYWORD -- cgit v1.2.3