OSDN Git Service

Ver0.13
[gefu/Gefu.git] / operationdialog.h
index c1cb276..5821c77 100644 (file)
@@ -19,6 +19,8 @@ public:
     void setWorker(IWorker *worker) {\r
         m_worker = worker;\r
     }\r
+    void setAutoClose(bool yes);\r
+    bool autoClose() const;\r
 \r
 protected:\r
     void showEvent(QShowEvent *);\r
@@ -27,13 +29,13 @@ private:
     Ui::OperationDialog *ui;\r
     IWorker *m_worker;\r
     bool m_Error;\r
-    bool m_Cancel;\r
 \r
 private slots:\r
     void onOperation(const QString &msg);\r
     void onSuccess(const QString &msg);\r
     void onError(const QString &msg);\r
     void onFinished();\r
+    void onCanceled();\r
     void on_btnCloseCancel_clicked();\r
     void on_btnShowDetail_clicked();\r
 };\r