]> 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 c4eabc69aade1c0cea87c77bc3c39649f10a21e4..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,13 +56,24 @@ class prerestorePage : public Pages, public Ui::prerestoreForm
 
 public:
    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;
 };
 
 /*