summaryrefslogtreecommitdiff
path: root/numberator.h
diff options
context:
space:
mode:
Diffstat (limited to 'numberator.h')
-rw-r--r--numberator.h6
1 files changed, 4 insertions, 2 deletions
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;