setup move_item_from_service in slide_model
I'll need to keep working on this but a basic sorta working function of moving the order of items in the Rust model is here.
This commit is contained in:
parent
85285b7d02
commit
d9dbefcbe5
3 changed files with 157 additions and 3 deletions
|
@ -164,9 +164,9 @@ int main(int argc, char *argv[])
|
|||
slideMod.get(),
|
||||
&SlideyMod::insertItemFromService);
|
||||
QObject::connect(serviceItemModel.get(),
|
||||
SIGNAL(rowMoved(const int&, const int&, const ServiceItem&)),
|
||||
slideModel.get(),
|
||||
SLOT(moveRowFromService(const int&, const int&, const ServiceItem&)));
|
||||
&ServiceItemModel::rowMovedRust,
|
||||
slideMod.get(),
|
||||
&SlideyMod::moveItemFromService);
|
||||
QObject::connect(serviceItemModel.get(),
|
||||
&ServiceItemModel::rowRemovedRust,
|
||||
slideMod.get(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue