qt5base-lts/examples
Olivier Goffart 3b0c2b7c1b Examples: Add Q_DECL_OVERRIDE to overridden functions
Q_DECL_OVERRIDE (which expands to 'override' for supported compiler)
helps to declare the intent (that it is an overridden function) and
force compilation error when there is no such virtual function in the
base class.
The examples should show the best practice of having it, as it may save
the programmer quite some time in case of change of API or typo in the
function name or arguments.

This change was done automatically with
clang-modernize -add-override -override-macros

And fixed MSVC compilation by removing inline for TorrentViewDelegate::paint

Change-Id: Ice66ae93fae571266f908703d5b8892b2c1ebb1a
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
2014-07-15 08:44:44 +02:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
dbus doc: Updated Qt D-Bus Examples. 2014-05-28 16:52:04 +02:00
embedded expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
gui Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
ipc Doc: Move IPC example documentation 2014-03-27 15:16:20 +01:00
json Add json/savegame example. 2013-08-22 19:14:03 +02:00
network Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
opengl Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
qmake Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qpa Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
qtconcurrent remove remaining non-concurrent branches from concurrent samples 2013-10-29 15:37:30 +01:00
qtestlib Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
sql Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
threads Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
tools Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
touch Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
webkit/webkit-guide Changed digia contact details to */legal, updated licenses 2013-07-20 11:21:46 +02:00
widgets Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
xml Examples: Add Q_DECL_OVERRIDE to overridden functions 2014-07-15 08:44:44 +02:00
examples.pro Doc: corrected link/example errors 2014-01-31 16:18:07 +01:00
README

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.