]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/qt-console/restore/restore.h
Move radio buttons to more intuitive location
[bacula/bacula] / bacula / src / qt-console / restore / restore.h
index 1eab7e45b41f028cff91815bfad730433cc115c4..7fe23641b3858768006a733753c4d5d86919854c 100644 (file)
 #include "ui_restore.h"
 #include "ui_prerestore.h"
 
-class Console;
+enum {
+   R_NONE,
+   R_JOBIDLIST,
+   R_JOBDATETIME
+};
 
 /*
  * The pre-restore dialog selects the Job/Client to be restored
@@ -51,14 +55,25 @@ class prerestorePage : public Pages, public Ui::prerestoreForm
    Q_OBJECT 
 
 public:
-   prerestorePage(Console *parent);
+   prerestorePage();
+   prerestorePage(QString &data, unsigned int);
 
 private slots:
    void okButtonPushed();
    void cancelButtonPushed();
    void job_name_change(int index);
+   void recentChanged(int);
+   void jobRadioClicked(bool);
+   void jobidsRadioClicked(bool);
+   void jobIdEditFinished();
 
 private:
+   void jobdefsFromJob(QStringList &, QString);
+   void buildPage();
+   bool checkJobIdList();
+   QString m_dtformat;
+   QString m_dataIn;
+   unsigned int m_dataInType;
 };
 
 /*  
@@ -71,7 +86,7 @@ class restorePage : public Pages, public Ui::restoreForm
    Q_OBJECT 
 
 public:
-   restorePage(Console *parent);
+   restorePage();
    void fillDirectory();
    char *get_cwd();
    bool cwd(const char *);