qt4: Replace redundant virtual with Q_DECL_OVERRIDE
Declaring a virtual function in a subclass as virtual may be a good
documentation that we are overriding a method from the superclass but
has no effect during compilation. With C++11, we can use the override
keyword for this (which will even trigger a compiler error if we try to
override a non-virtual function).
To stay backwards-compatible, we use Qt5's Q_DECL_OVERRIDE macro to
support C++ <11.
Signed-off-by:
Tristan Matthews <le.businessman@gmail.com>
Showing
- modules/gui/qt4/adapters/variables.hpp 7 additions, 5 deletionsmodules/gui/qt4/adapters/variables.hpp
- modules/gui/qt4/components/controller.hpp 8 additions, 8 deletionsmodules/gui/qt4/components/controller.hpp
- modules/gui/qt4/components/controller_widget.hpp 1 addition, 1 deletionmodules/gui/qt4/components/controller_widget.hpp
- modules/gui/qt4/components/epg/EPGChannels.hpp 3 additions, 1 deletionmodules/gui/qt4/components/epg/EPGChannels.hpp
- modules/gui/qt4/components/epg/EPGItem.hpp 5 additions, 5 deletionsmodules/gui/qt4/components/epg/EPGItem.hpp
- modules/gui/qt4/components/epg/EPGRuler.hpp 3 additions, 1 deletionmodules/gui/qt4/components/epg/EPGRuler.hpp
- modules/gui/qt4/components/extended_panels.hpp 7 additions, 6 deletionsmodules/gui/qt4/components/extended_panels.hpp
- modules/gui/qt4/components/info_panels.hpp 3 additions, 1 deletionmodules/gui/qt4/components/info_panels.hpp
- modules/gui/qt4/components/interface_widgets.hpp 13 additions, 13 deletionsmodules/gui/qt4/components/interface_widgets.hpp
- modules/gui/qt4/components/open_panels.hpp 15 additions, 15 deletionsmodules/gui/qt4/components/open_panels.hpp
- modules/gui/qt4/components/playlist/playlist.hpp 9 additions, 9 deletionsmodules/gui/qt4/components/playlist/playlist.hpp
- modules/gui/qt4/components/playlist/playlist_model.hpp 25 additions, 25 deletionsmodules/gui/qt4/components/playlist/playlist_model.hpp
- modules/gui/qt4/components/playlist/selector.hpp 6 additions, 6 deletionsmodules/gui/qt4/components/playlist/selector.hpp
- modules/gui/qt4/components/playlist/standardpanel.hpp 1 addition, 1 deletionmodules/gui/qt4/components/playlist/standardpanel.hpp
- modules/gui/qt4/components/playlist/views.hpp 29 additions, 29 deletionsmodules/gui/qt4/components/playlist/views.hpp
- modules/gui/qt4/components/playlist/vlc_model.hpp 7 additions, 7 deletionsmodules/gui/qt4/components/playlist/vlc_model.hpp
- modules/gui/qt4/components/preferences_widgets.hpp 48 additions, 48 deletionsmodules/gui/qt4/components/preferences_widgets.hpp
- modules/gui/qt4/components/sout/profile_selector.hpp 1 addition, 1 deletionmodules/gui/qt4/components/sout/profile_selector.hpp
- modules/gui/qt4/components/sout/sout_widgets.hpp 7 additions, 7 deletionsmodules/gui/qt4/components/sout/sout_widgets.hpp
- modules/gui/qt4/dialogs/convert.hpp 2 additions, 2 deletionsmodules/gui/qt4/dialogs/convert.hpp
Loading
Please register or sign in to comment