summaryrefslogtreecommitdiffstats
path: root/src/qphotorec.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-05-21 08:41:50 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-05-21 08:41:50 +0200
commit17a8a827a15df48c7b7ce7958e4408f463e0149f (patch)
tree881d0d791db988005a6be6ed0bee3dad51d25543 /src/qphotorec.h
parent8d82b27be67953c96e686ed495e0e346efeb60b9 (diff)
qphotorec: signal slot is now handled
Diffstat (limited to 'src/qphotorec.h')
-rw-r--r--src/qphotorec.h21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/qphotorec.h b/src/qphotorec.h
index 2321a82..872056d 100644
--- a/src/qphotorec.h
+++ b/src/qphotorec.h
@@ -11,18 +11,29 @@
//
#ifndef QPHOTOREC_H
#define QPHOTOREC_H
-#include <QDialog>
-class QListWidget;
-class QPushButton;
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+#include <QWidget>
+#include <QListWidget>
+#include <QPushButton>
+#include "types.h"
+#include "common.h"
class QPhotorec: public QWidget
{
+ Q_OBJECT
+
public:
QPhotorec(QWidget *parent = 0);
- void setupUi(QWidget *MainWindow);
- void ashow();
+ void disk_sel();
+ void no_disk();
+ void partition_selection(disk_t *disk);
+ private slots:
+ void disk_selected();
private:
QListWidget *HDDlistWidget;
QPushButton *btn;
+ list_disk_t *list_disk;
};
#endif