TTS configuration: default to the first profile found.
[Rockbox.git] / rbutil / rbutilqt / browsedirtree.h
blob651817cbe29780cbac99cad73e412c1e9d85482a
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Riebeling
10 * $Id$
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&);
34 QString getSelected();
36 signals:
37 void itemChanged(QString);
39 private:
40 Ui::BrowseDirtreeFrm ui;
41 QDirModel model;
43 private slots:
44 void accept(void);
47 #endif