Imported more functionality from old db classes to new models.
[emufront] / src / views / filepatheditview.h
index 60cd4f9..695f0c0 100644 (file)
 ** You should have received a copy of the GNU General Public License
 ** along with EmuFront.  If not, see <http://www.gnu.org/licenses/>.
 */
+
 #ifndef FILEPATHEDITVIEW_H
 #define FILEPATHEDITVIEW_H
 
 #include "emufronteditview.h"
 
+class FileUtil;
+class QProgressDialog;
+
 class FilePathEditView : public EmuFrontEditView
 {
     Q_OBJECT
 public:
     FilePathEditView(QWidget *parent = 0);
 
-signals:
+protected:
+    virtual void connectSignals();
 
-public slots:
+private slots:
+    void beginScanFilePath();
 
+private:
+    QPushButton* scanButton;
+    FileUtil *fileUtil;
+    QProgressDialog *progressDialog;
+    void scanFilePath(const QString path, const QStringList filters);
+    void initProgressDialog();
 };
 
 #endif // FILEPATHEDITVIEW_H