QTextBrowser: remove deprecated signal highlighted(const QString&)

Task-number: QTBUG-81845
Change-Id: Ibdb0fe40557b901596cc8ef37c9707f99b4df403
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
bb10
Vitaly Fanaskov 2020-02-07 10:27:09 +01:00
parent e59094cb86
commit f216c801ea
2 changed files with 0 additions and 19 deletions

View File

@ -156,11 +156,6 @@ public:
{
Q_Q(QTextBrowser);
emit q->highlighted(url);
#if QT_DEPRECATED_SINCE(5, 15)
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
emit q->highlighted(url.toString());
#endif
}
};
Q_DECLARE_TYPEINFO(QTextBrowserPrivate::HistoryEntry, Q_MOVABLE_TYPE);
@ -927,16 +922,6 @@ void QTextBrowser::doSetSource(const QUrl &url, QTextDocument::ResourceType type
anchor is passed in \a link.
*/
/*! \fn void QTextBrowser::highlighted(const QString &link)
\overload
\obsolete
Convenience signal that allows connecting to a slot
that takes just a QString, like for example QStatusBar's
message().
*/
/*!
\fn void QTextBrowser::anchorClicked(const QUrl &link)

View File

@ -107,10 +107,6 @@ Q_SIGNALS:
void historyChanged();
void sourceChanged(const QUrl &);
void highlighted(const QUrl &);
#if QT_DEPRECATED_SINCE(5, 15)
QT_DEPRECATED_VERSION_X_5_15("Use QTextBrowser::highlighted(QUrl) instead")
void highlighted(const QString &);
#endif
void anchorClicked(const QUrl &);
protected: