Finish removing virtual child integers
Finish the work started by commit
beb72b2fbf
. This silences warnings found
by -Woverloaded-virtual.
Change-Id: Ic6f5e77e324463ade8349f23f272b41b509d87e4
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
This commit is contained in:
parent
8757aaaf2f
commit
d308797d00
@ -1775,7 +1775,7 @@ QAccessibleAbstractScrollArea::QAccessibleAbstractScrollArea(QWidget *widget)
|
||||
Q_ASSERT(qobject_cast<QAbstractScrollArea *>(widget));
|
||||
}
|
||||
|
||||
QVariant QAccessibleAbstractScrollArea::invokeMethod(QAccessible::Method, int, const QVariantList &)
|
||||
QVariant QAccessibleAbstractScrollArea::invokeMethod(QAccessible::Method, const QVariantList &)
|
||||
{
|
||||
return QVariant();
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ public:
|
||||
};
|
||||
|
||||
QAccessibleInterface *child(int index) const;
|
||||
QVariant invokeMethod(QAccessible::Method method, int, const QVariantList ¶ms);
|
||||
QVariant invokeMethod(QAccessible::Method method, const QVariantList ¶ms);
|
||||
int childCount() const;
|
||||
int indexOfChild(const QAccessibleInterface *child) const;
|
||||
bool isValid() const;
|
||||
|
@ -984,7 +984,7 @@ int QAccessibleTableHeaderCell::navigate(QAccessible::RelationFlag relation, int
|
||||
return -1;
|
||||
}
|
||||
|
||||
QAccessible::Relation QAccessibleTableHeaderCell::relationTo(int, const QAccessibleInterface *, int) const
|
||||
QAccessible::Relation QAccessibleTableHeaderCell::relationTo(const QAccessibleInterface *) const
|
||||
{
|
||||
return QAccessible::Unrelated;
|
||||
}
|
||||
|
@ -241,7 +241,7 @@ public:
|
||||
QAccessibleInterface *parent() const;
|
||||
QAccessibleInterface *child(int index) const;
|
||||
int navigate(QAccessible::RelationFlag relation, int index, QAccessibleInterface **iface) const;
|
||||
QAccessible::Relation relationTo(int child, const QAccessibleInterface *other, int otherChild) const;
|
||||
QAccessible::Relation relationTo(const QAccessibleInterface *other) const;
|
||||
|
||||
private:
|
||||
QAbstractItemView *view;
|
||||
@ -289,7 +289,7 @@ public:
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
QAccessible::Relation relationTo(int, const QAccessibleInterface *, int) const
|
||||
QAccessible::Relation relationTo(const QAccessibleInterface *) const
|
||||
{
|
||||
return QAccessible::Unrelated;
|
||||
}
|
||||
|
@ -716,7 +716,7 @@ QAccessibleStackedWidget::QAccessibleStackedWidget(QWidget *widget)
|
||||
Q_ASSERT(qobject_cast<QStackedWidget *>(widget));
|
||||
}
|
||||
|
||||
QVariant QAccessibleStackedWidget::invokeMethod(QAccessible::Method, int, const QVariantList &)
|
||||
QVariant QAccessibleStackedWidget::invokeMethod(QAccessible::Method, const QVariantList ¶ms)
|
||||
{
|
||||
return QVariant();
|
||||
}
|
||||
@ -1041,7 +1041,7 @@ QAccessibleDialogButtonBox::QAccessibleDialogButtonBox(QWidget *widget)
|
||||
Q_ASSERT(qobject_cast<QDialogButtonBox*>(widget));
|
||||
}
|
||||
|
||||
QVariant QAccessibleDialogButtonBox::invokeMethod(QAccessible::Method, int, const QVariantList &)
|
||||
QVariant QAccessibleDialogButtonBox::invokeMethod(QAccessible::Method, const QVariantList &)
|
||||
{
|
||||
return QVariant();
|
||||
}
|
||||
@ -1068,7 +1068,7 @@ QAccessibleCalendarWidget::QAccessibleCalendarWidget(QWidget *widget)
|
||||
Q_ASSERT(qobject_cast<QCalendarWidget *>(widget));
|
||||
}
|
||||
|
||||
QVariant QAccessibleCalendarWidget::invokeMethod(QAccessible::Method, int, const QVariantList &)
|
||||
QVariant QAccessibleCalendarWidget::invokeMethod(QAccessible::Method, const QVariantList &)
|
||||
{
|
||||
return QVariant();
|
||||
}
|
||||
@ -1436,7 +1436,7 @@ bool QAccessibleTitleBar::isValid() const
|
||||
QAccessibleMainWindow::QAccessibleMainWindow(QWidget *widget)
|
||||
: QAccessibleWidget(widget, QAccessible::Window) { }
|
||||
|
||||
QVariant QAccessibleMainWindow::invokeMethod(QAccessible::Method /*method*/, int /*child*/, const QVariantList & /*params*/)
|
||||
QVariant QAccessibleMainWindow::invokeMethod(QAccessible::Method /*method*/, const QVariantList & /*params*/)
|
||||
{
|
||||
return QVariant();
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ class QAccessibleStackedWidget : public QAccessibleWidget
|
||||
public:
|
||||
explicit QAccessibleStackedWidget(QWidget *widget);
|
||||
|
||||
QVariant invokeMethod(QAccessible::Method method, int child, const QVariantList ¶ms);
|
||||
QVariant invokeMethod(QAccessible::Method method, const QVariantList ¶ms);
|
||||
int childAt(int x, int y) const;
|
||||
int childCount() const;
|
||||
int indexOfChild(const QAccessibleInterface *child) const;
|
||||
@ -200,7 +200,7 @@ class QAccessibleDialogButtonBox : public QAccessibleWidget
|
||||
public:
|
||||
explicit QAccessibleDialogButtonBox(QWidget *widget);
|
||||
|
||||
QVariant invokeMethod(QAccessible::Method method, int child, const QVariantList ¶ms);
|
||||
QVariant invokeMethod(QAccessible::Method method, const QVariantList ¶ms);
|
||||
};
|
||||
|
||||
#ifndef QT_NO_TEXTBROWSER
|
||||
@ -226,7 +226,7 @@ public:
|
||||
QAccessibleInterface *child(int index) const;
|
||||
|
||||
|
||||
QVariant invokeMethod(QAccessible::Method method, int child, const QVariantList ¶ms);
|
||||
QVariant invokeMethod(QAccessible::Method method, const QVariantList ¶ms);
|
||||
protected:
|
||||
QCalendarWidget *calendarWidget() const;
|
||||
|
||||
@ -290,7 +290,7 @@ public:
|
||||
int childAt(int x, int y) const;
|
||||
QMainWindow *mainWindow() const;
|
||||
|
||||
QVariant invokeMethod(QAccessible::Method method, int child, const QVariantList ¶ms);
|
||||
QVariant invokeMethod(QAccessible::Method method, const QVariantList ¶ms);
|
||||
};
|
||||
#endif //QT_NO_MAINWINDOW
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user