Lines Matching refs:model

85 	peers->setModel(&model);
181 ctx_item = model.itemFromIndex(idx);
427 if (model.rowCount() > 0) {
428 QModelIndexList lst = model.match(model.index(0, 0),
433 item = model.itemFromIndex(lst[i]);
438 model.removeRow(lst[i].row());
449 model.appendRow(item);
554 model.appendRow(item);
561 if (model.rowCount() == 0)
564 QModelIndexList lst = model.match(model.index(0, 0), peer_role_bss_id,
568 model.removeRow(lst[0].row());
642 model.appendRow(item);
709 model.appendRow(item);
765 model.clear();
781 if (model.rowCount() == 0)
784 QModelIndexList lst = model.match(model.index(0, 0), peer_role_address,
788 return model.itemFromIndex(lst[0]);
794 if (model.rowCount() == 0)
797 QModelIndexList lst = model.match(model.index(0, 0), peer_role_address,
800 QStandardItem *item = model.itemFromIndex(lst[i]);
810 if (model.rowCount() == 0)
813 QModelIndexList lst = model.match(model.index(0, 0), peer_role_uuid,
817 return model.itemFromIndex(lst[0]);
859 model.appendRow(item);
880 if (model.rowCount() == 0)
883 QModelIndexList lst = model.match(model.index(0, 0),
886 QStandardItem *item = model.itemFromIndex(lst[i]);
889 model.removeRow(lst[i].row());
939 model.appendRow(item);
985 model.appendRow(item);
995 if (model.rowCount() == 0)
998 QModelIndexList lst = model.match(model.index(0, 0),
1001 model.removeRow(lst[i].row());
1080 model.removeRow(item->row());
1090 model.appendRow(item);
1107 * |Very friendly name|Company|Long description of the model|
1140 model.appendRow(item);
1151 if (model.rowCount() == 0)
1154 QModelIndexList lst = model.match(model.index(0, 0),
1157 QStandardItem *item = model.itemFromIndex(lst[i]);
1163 model.removeRow(lst[i].row());
1225 model.appendRow(item);
1307 model.appendRow(item);
1569 if (model.rowCount() == 0)
1572 QModelIndexList lst = model.match(model.index(0, 0),
1575 QStandardItem *item = model.itemFromIndex(lst[i]);
1581 model.removeRow(lst[i].row());
1769 if (model.rowCount() == 0)
1774 lst = model.match(model.index(0, 0),
1777 lst = model.match(model.index(0, 0),
1783 model.removeRow(lst[0].row());
1835 model.removeRow(ctx_item->row());
1865 model.removeRow(ctx_item->row());
1871 if (model.rowCount() == 0)
1874 QModelIndexList lst = model.match(model.index(0, 0),
1877 QStandardItem *item = model.itemFromIndex(lst[i]);