22 #ifndef GRAPHNEEDSSAVINGOBSERVER_H 23 #define GRAPHNEEDSSAVINGOBSERVER_H 25 #include <tulip/Observable.h> 47 class TLP_QT_SCOPE GraphNeedsSavingObserver :
public QObject, Observable {
53 QMainWindow *_mainWindow;
56 void removeObservers();
64 GraphNeedsSavingObserver(Graph *graph, QMainWindow *mainWindow =
nullptr);
78 bool needsSaving()
const;
99 void treatEvents(
const std::vector<Event> &)
override;
111 #endif // GRAPHNEEDSSAVINGOBSERVER_H