The following members of QML type Menu 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
void removeItem ( int index ) |
This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Use Menu::removeItem(Item) or Menu::takeItem (int) instead.