feat: add instructor updateBehaviour

This commit is contained in:
semenov
2024-10-02 11:19:38 +03:00
parent 5f457e3ac6
commit 0b8a384d58
27 changed files with 382 additions and 2361 deletions

View File

@@ -55,7 +55,6 @@ void HashComparer::showDeltas()
updateWidget->addToList(item);
}
updateWidget->setUpdateList(filesForUpdate);
emit sigHaveDelta();
}
@@ -64,6 +63,11 @@ void HashComparer::setWidget(UpdateNotifyWidget* updateWidget)
this->updateWidget = updateWidget;
}
QList<FileData> *HashComparer::getFilesForUpdate() const
{
return filesForUpdate;
}
HashComparer::~HashComparer()
{

View File

@@ -20,6 +20,8 @@ public:
void showDeltas();
void setWidget(UpdateNotifyWidget *updateWidget);
QList<FileData> *getFilesForUpdate() const;
signals:
void sigCallCheck();
void sigHaveDelta();