Lines Matching refs:item
170 BStringItem* item = (BStringItem*)fDomains->ItemAt(index);
171 if (item != NULL) {
172 BString domain = item->Text();
235 DomainItem* item = (DomainItem*)fDomains->FullListItemAt(i);
237 item->SetOutlineLevel(item->OutlineLevel() - 1);
248 DomainItem* item = (DomainItem*)fDomains->FullListItemAt(i);
249 if (item->fEmpty == true) {
250 if (fDomains->CountItemsUnder(item, true) == 1) {
251 // The item has no cookies, and only a single child. We can
254 int count = fDomains->CountItemsUnder(item, false);
255 int index = fDomains->FullListIndexOf(item) + 1;
261 fDomains->RemoveItem(item);
262 delete item;
264 // The moved child is at the same index the removed item was.
268 // The item has no cookies, but has multiple children. Mark it
270 item->SetEnabled(false);
318 // Insert the new item, keeping the list alphabetically sorted