summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/browsedirtree.h
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2007-09-14 20:10:54 +0000
committerAntoine Cellerier <dionoea@videolan.org>2007-09-14 20:10:54 +0000
commit4c881e2c91891fede75663db3fd005438bb7d001 (patch)
tree73c6cf95459a28bd2e58ea5b2f0f04400def02c7 /rbutil/rbutilqt/browsedirtree.h
parentbedfd7c8b5059495e6c27fd8cca862b9a63f8ca1 (diff)
Add BrowseDirtree::setDir(const QString&) to simplify the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14694 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/browsedirtree.h')
-rw-r--r--rbutil/rbutilqt/browsedirtree.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/browsedirtree.h b/rbutil/rbutilqt/browsedirtree.h
index 4b9ae90a19..2c349398a8 100644
--- a/rbutil/rbutilqt/browsedirtree.h
+++ b/rbutil/rbutilqt/browsedirtree.h
@@ -29,18 +29,19 @@ class BrowseDirtree : public QDialog
public:
BrowseDirtree(QWidget *parent = 0);
- void setFilter(QDir::Filters);
- void setDir(QDir&);
+ void setFilter(const QDir::Filters&);
+ void setDir(const QDir&);
+ void setDir(const QString&);
QString getSelected();
- void setRoot(QString dir);
-
+ void setRoot(const QString&);
+
signals:
void itemChanged(QString);
private:
Ui::BrowseDirtreeFrm ui;
QDirModel model;
-
+
private slots:
void accept(void);
};