28 #ifndef SMARTSAVEBUTTON_H
29 #define SMARTSAVEBUTTON_H
35 #include <QPushButton>
43 enum buttonTypeEnum { save_button, apply_button };
70 void processOperation(QPushButton *button,
bool save);
71 void transaction_finished(
UAVObject *obj,
bool result);
72 void saving_finished(
int,
bool);
75 quint32 current_objectID;
81 QMap<QPushButton *, buttonTypeEnum> buttonList;
82 QMap<UAVDataObject *, bool> mandatoryList;
89 #endif // SMARTSAVEBUTTON_H