#ifndef PICTURE_H #define PICTURE_H #include #include #include namespace Ui { class Picture; } class Picture : public QMainWindow { Q_OBJECT public: explicit Picture(QWidget *parent = 0); ~Picture(); private slots: void changeDirectory(); void fillList(); void on_cd_clicked(); void on_erase_clicked(); void on_refresh_clicked(); private: Ui::Picture *ui; QDir directory; }; #endif // PICTURE_H