From 0afe9ca6bf53da111e445d2aea7cfc94e7e3c601 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 9 Aug 2020 17:12:14 +0200 Subject: db backend: mostly feature-complete --- numberator.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'numberator.h') diff --git a/numberator.h b/numberator.h index 21203cd..bf661db 100644 --- a/numberator.h +++ b/numberator.h @@ -24,8 +24,10 @@ public: Numberator(QWidget *parent = nullptr); ~Numberator(); -private slots: - void openFile(const QString &path); + bool showConfirmDiscardDialog(); + +public slots: + bool showSaveDialog(); /* return true if saved successfully (i.e. no error, not cancelled), false otherwise */ private: Ui::Numberator *ui; -- cgit