]> 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 f027e233e56db842869ab49bb754a2828bab8b17..7fe23641b3858768006a733753c4d5d86919854c 100644 (file)
 #include "ui_restore.h"
 #include "ui_prerestore.h"
 
+enum {
+   R_NONE,
+   R_JOBIDLIST,
+   R_JOBDATETIME
+};
+
 /*
  * The pre-restore dialog selects the Job/Client to be restored
  * It really could use considerable enhancement.
@@ -50,14 +56,15 @@ class prerestorePage : public Pages, public Ui::prerestoreForm
 
 public:
    prerestorePage();
-   prerestorePage(QString &jobIdString);
+   prerestorePage(QString &data, unsigned int);
 
 private slots:
    void okButtonPushed();
    void cancelButtonPushed();
    void job_name_change(int index);
    void recentChanged(int);
-   void jobsRadioClicked(bool);
+   void jobRadioClicked(bool);
+   void jobidsRadioClicked(bool);
    void jobIdEditFinished();
 
 private:
@@ -65,7 +72,8 @@ private:
    void buildPage();
    bool checkJobIdList();
    QString m_dtformat;
-   QString m_jobIdListIn;
+   QString m_dataIn;
+   unsigned int m_dataInType;
 };
 
 /*