Replace the file selection dialog for the mountpoint with a pure folder tree view...
[Rockbox.git] / rbutil / rbutilqt / browsedirtree.h
blob3b6846c21167197daf3465e08d34d949c481b47b
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
10 * $Id: installrb.cpp 13990 2007-07-25 22:26:10Z Dominik Wenger $
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef BROWSEDIRTREE_H
21 #define BROWSEDIRTREE_H
23 #include <QtGui>
24 #include "ui_browsedirtreefrm.h"
26 class BrowseDirtree : public QDialog
28 Q_OBJECT
30 public:
31 BrowseDirtree(QWidget *parent = 0);
32 void setFilter(QDir::Filters);
33 void setDir(QDir&);
35 signals:
36 void itemChanged(QString);
38 private:
39 Ui::BrowseDirtreeFrm ui;
40 QDirModel model;
42 private slots:
43 void accept(void);
46 #endif