adding the removal of items work on the slides
This isn't finished yet, but the core is there. I have yet to fully remove slides after a service_item is removed.
This commit is contained in:
parent
7a36b70a6d
commit
f8ac7feea0
5 changed files with 35 additions and 10 deletions
14
src/main.cpp
14
src/main.cpp
|
@ -168,13 +168,13 @@ int main(int argc, char *argv[])
|
|||
slideModel.get(),
|
||||
SLOT(moveRowFromService(const int&, const int&, const ServiceItem&)));
|
||||
QObject::connect(serviceItemModel.get(),
|
||||
SIGNAL(rowRemoved(const int&, const ServiceItem&)),
|
||||
slideModel.get(),
|
||||
SLOT(removeServiceItem(const int&, const ServiceItem&)));
|
||||
QObject::connect(serviceItemModel.get(),
|
||||
SIGNAL(allRemoved()),
|
||||
slideModel.get(),
|
||||
SLOT(clear()));
|
||||
&ServiceItemModel::rowRemovedRust,
|
||||
slideMod.get(),
|
||||
&SlideyMod::removeItemFromService);
|
||||
// QObject::connect(serviceItemModel.get(),
|
||||
// SIGNAL(allRemoved()),
|
||||
// slideMod.get(),
|
||||
// SLOT(clear()));
|
||||
QObject::connect(slideobject.get(),
|
||||
SIGNAL(slideChanged(int)),
|
||||
slideMod.get(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue