Delete QWhatsThis() and QToolTip()
authorMarc Mutz <marc.mutz@kdab.com>
Mon, 22 Oct 2012 06:20:23 +0000 (08:20 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 22 Oct 2012 17:36:43 +0000 (19:36 +0200)
commit33d9b9f326449341d6a9afd55299e5e1ad7ad037
tree4f33ded959a463205f89857f04251f4dc525e4ee
parent500ed6b628ee5b58cbf7ce696e60558a0e2f3c4d
Delete QWhatsThis() and QToolTip()

These classes are not supposed to be instantiated.

QToolTip() already was declared, but not implemented.
This patch just adds Q_DECL_EQ_DELETE for better
diagnostics on C++11.

QWhatsThis() was implemented, but appears to be unused.
Since it was private to begin with, successfully compiling
QtWidgets is a sufficient test.

Change-Id: I698ece8f0eebbcdac7be98456dd42197b758a825
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/widgets/kernel/qtooltip.h
src/widgets/kernel/qwhatsthis.cpp
src/widgets/kernel/qwhatsthis.h