summaryrefslogtreecommitdiffstats
path: root/src/qphotorec.h
blob: 072211dd9468fe0ae7d74670e096c6d8e862efb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// C++ Interface: qphotorec
//
// Description: 
//
//
// Author: TestDisk and PhotoRec are written and maintained by Christophe GRENIER <grenier@cgsecurity.org>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef QPHOTOREC_H
#define QPHOTOREC_H
#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 disk_sel();
                void no_disk();
		void partition_selection(disk_t *disk);
        private slots:
		void disk_selected();
        private:
                QListWidget *HDDlistWidget;
                QListWidget *PartListWidget;
                QPushButton *btn;
		list_disk_t *list_disk;
		void clearWidgets();
};
#endif