Lines Matching defs:items
42 // Returns a list of terms for the items to be used in the statusbar
43 char* collect_terms (const std::vector<SPItem*> &items)
49 for ( std::vector<SPItem*>::const_iterator iter=items.begin();iter!=items.end();++iter ) {
64 static int count_terms (const std::vector<SPItem*> &items)
68 for ( std::vector<SPItem*>::const_iterator iter=items.begin();iter!=items.end();++iter ) {
81 // Returns the number of filtered items in the list
82 static int count_filtered (const std::vector<SPItem*> &items)
85 for ( std::vector<SPItem*>::const_iterator iter=items.begin();iter!=items.end();++iter ) {
125 std::vector<SPItem*> const items = selection->itemList();
127 if (items.empty()) { // no items
130 SPItem *item = items[0];
191 if (items.size()==1) { // one item
230 } else { // multiple items
231 int objcount = items.size();
232 char *terms = collect_terms (items);
233 int n_terms = count_terms(items);
244 int n_filt = count_filtered(items); //all filtered