QtWidgets: Fix qdoc warnings related to inputMethodQuery().
Mark the overloads taking an additional QVariant as \internal as (cf
QTextEdit) and the overridden functions as \reimp.
Amends change ab67a5b7b6
, fixes warnings:
qtbase/src/widgets/widgets/qlineedit.cpp:1755: warning: Cannot find base function for '\reimp' in inputMethodQuery() /
Change-Id: I9949bf3850ab4200ee500cbe33a44faacecc30b0
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
This commit is contained in:
parent
bafe205d6a
commit
276adc5a09
@ -3352,6 +3352,8 @@ QVariant QComboBox::inputMethodQuery(Qt::InputMethodQuery query) const
|
|||||||
return QWidget::inputMethodQuery(query);
|
return QWidget::inputMethodQuery(query);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*!\internal
|
||||||
|
*/
|
||||||
QVariant QComboBox::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
|
QVariant QComboBox::inputMethodQuery(Qt::InputMethodQuery query, const QVariant &argument) const
|
||||||
{
|
{
|
||||||
Q_D(const QComboBox);
|
Q_D(const QComboBox);
|
||||||
|
@ -1745,12 +1745,14 @@ void QLineEdit::inputMethodEvent(QInputMethodEvent *e)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*!\reimp
|
||||||
|
*/
|
||||||
QVariant QLineEdit::inputMethodQuery(Qt::InputMethodQuery property) const
|
QVariant QLineEdit::inputMethodQuery(Qt::InputMethodQuery property) const
|
||||||
{
|
{
|
||||||
return inputMethodQuery(property, QVariant());
|
return inputMethodQuery(property, QVariant());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!\reimp
|
/*!\internal
|
||||||
*/
|
*/
|
||||||
QVariant QLineEdit::inputMethodQuery(Qt::InputMethodQuery property, QVariant argument) const
|
QVariant QLineEdit::inputMethodQuery(Qt::InputMethodQuery property, QVariant argument) const
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user