doc: Remove Q_QDOC declarations that are no longer needed

clang-qdoc understands Q_OBJECT, so it sees the declarations
that appear there.

Change-Id: I669be13af59269a0e108e0988d9b4f7779274c7c
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
bb10
Martin Smith 2018-01-08 12:09:19 +01:00
parent 986b275c51
commit 643290e49b
1 changed files with 1 additions and 5 deletions

View File

@ -126,11 +126,7 @@ public:
virtual bool event(QEvent *event);
virtual bool eventFilter(QObject *watched, QEvent *event);
#ifdef Q_CLANG_QDOC
virtual const QMetaObject *metaObject() const;
static const QMetaObject staticMetaObject;
#endif
#if defined(QT_NO_TRANSLATION) || defined(Q_CLANG_QDOC)
#if defined(QT_NO_TRANSLATION)
static QString tr(const char *sourceText, const char * = nullptr, int = -1)
{ return QString::fromUtf8(sourceText); }
#if QT_DEPRECATED_SINCE(5, 0)