#include "ui_brestore.h"
#include "ui_restore.h"
#include "ui_prerestore.h"
+#include "batstack.h"
class Console;
public:
prerestoreDialog(Console *parent);
-public slots:
+private slots:
void accept();
void reject();
void job_name_change(int index);
public:
restoreDialog(Console *parent);
- void fillDirectory(const char *path);
+ void fillDirectory();
+ char *get_cwd();
+ bool cwd(const char *);
private slots:
void accept();
void reject();
void fileDoubleClicked(QTreeWidgetItem *item, int column);
+ void upButtonPushed();
+ void unmarkButtonPushed();
+ void markButtonPushed();
private:
Console *m_console;
- QString m_fname;
-
+ QString m_cwd;
};
-class bRestore : public QWidget, public Ui::bRestoreForm
+class bRestore : public BatStack, public Ui::bRestoreForm
{
Q_OBJECT
public:
- bRestore(QStackedWidget *parent);
+ bRestore(QStackedWidget *parent, QTreeWidgetItem *treeItem);
public slots:
};
-
-
#endif /* _RESTORE_H_ */