docs: def addItems(self, menus, processed=None):
          """
          Adds items to the completion tree from the menu.
          
          :param      menus | [<QMenu>, ..]
                      procesed | [<QAction>, ..] || None
          """
          if processed is None:
              processed = []
          
          for menu in menus:
              for action in menu.actions():
                  # since we can have 1 action in more than 1 submenu, we
                  # will want to make sure we're only adding a unique one
                  # so we don't have duplicates
                  text = nativestring(action.text())
                  if text in processed or action.isSeparator():
                      continue
                  
                  processed.append(text)
                  
                  if text and unwrapVariant(action.data()) != 'menu':
                      item = XTreeWidgetItem(self._completer, [text])
                      item.setFixedHeight(20)
                      item.setIcon(0, action.icon())
                      item.setToolTip(0, action.toolTip())
                      item.setData(0, Qt.UserRole, wrapVariant(action))