kconfig: qconf: move ConfigView::updateList(All) to ConfigList class
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 29 Aug 2020 08:14:10 +0000 (17:14 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 24 Sep 2020 15:37:13 +0000 (00:37 +0900)
commitf9b918fae678eacdeaad821db57a107fba6fe3a1
tree37141d84a7df8166dc09fc2ce71d01822ed919bd
parent6a143041532e7df4bd243f4994d46112bd7137ca
kconfig: qconf: move ConfigView::updateList(All) to ConfigList class

ConfigView::updateList() iterates over all views, and then calls
updateList() against for its ConfigList instance.

This means there is no point to implement it in the ConfigView class.

Move and rename as follows:

  ConfigView::updateList()     -> ConfigList::updateListForAll()
  ConfigView::updateListAll()  -> ConfigList::updateListAllForAll()

I used QList to contain all ConfigList instances.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc
scripts/kconfig/qconf.h