]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/restore/restore.h
bat: Add new form to run a restore
[bacula/bacula] / bacula / src / qt-console / restore / restore.h
index 64c81e25cf43d16011ad5419b34f6b2250f4d907..8280a5d6c6027ca73475cd20239baa6763fed4d3 100644 (file)
@@ -36,7 +36,7 @@
 
 #include <QtGui>
 #include "pages.h"
-
+#include "ui_runrestore.h"
 
 class bRestoreTable : public QTableWidget
 {
@@ -141,6 +141,8 @@ public:
    bRestore();
    ~bRestore();
    void PgSeltreeWidgetClicked();
+   QString m_client;
+   QString m_jobids;
 
 public slots:
    void setClient();
@@ -148,10 +150,9 @@ public slots:
    void showInfoForFile(QTableWidgetItem *);
    void applyLocation();
    void clearVersions(QTableWidgetItem *);
-   
+   void clearRestoreList();
+   void runRestore();
 private:
-   QString m_client;
-   QString m_jobids;
    QString m_path;
    int64_t m_pathid;
    QTableWidgetItem *m_current;
@@ -162,4 +163,16 @@ private:
                            QString client, QString filename);
 };
 
+class bRunRestore : public QDialog, public Ui::bRunRestoreForm
+{
+   Q_OBJECT 
+
+public:
+   bRunRestore(bRestore *parent);
+   ~bRunRestore() {}
+public slots:
+   void useRegexp();
+   void UFRcb();
+};
+
 #endif /* _RESTORE_H_ */