mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
37 lines
633 B
C++
37 lines
633 B
C++
#ifndef UPDATEFILESLOT_H
|
|
#define UPDATEFILESLOT_H
|
|
|
|
#include <QWidget>
|
|
|
|
#include <Data/FileData.h>
|
|
|
|
namespace Ui {
|
|
class UpdateFileSlot;
|
|
}
|
|
|
|
class UpdateFileSlot : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit UpdateFileSlot(QWidget *parent = nullptr);
|
|
void fill(QString itemName, FileData serverData, FileData localData);
|
|
|
|
bool getNeedUpdate() const;
|
|
void setNeedUpdate(bool value);
|
|
FileData getLocal() const;
|
|
|
|
~UpdateFileSlot();
|
|
|
|
|
|
private slots:
|
|
void on_UpdateCheckBox_stateChanged(int arg1);
|
|
|
|
private:
|
|
Ui::UpdateFileSlot *ui;
|
|
FileData local;
|
|
bool needUpdate;
|
|
};
|
|
|
|
#endif // UPDATEFILESLOT_H
|