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:
Chris Cochrun 2023-04-12 19:01:50 -05:00
parent 85285b7d02
commit d9dbefcbe5
3 changed files with 157 additions and 3 deletions

View file

@ -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(),