diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-07-15 19:14:26 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2011-07-15 19:14:26 +0000 |
commit | 241f28eefce35e1cf9087ab06f1ee474017f6be8 (patch) | |
tree | b3b0318a547f0516408cda1bbef3e7e96de49c2d /rbutil/rbutilqt/configure.h | |
parent | 21a38713a685e04ab1533f487244f2dc2197e01c (diff) | |
download | rockbox-241f28eefce35e1cf9087ab06f1ee474017f6be8.tar.gz rockbox-241f28eefce35e1cf9087ab06f1ee474017f6be8.tar.bz2 rockbox-241f28eefce35e1cf9087ab06f1ee474017f6be8.zip |
Replace mountpoint selection with combo box.
Instead of entering the mountpoint via a tree browser or manually use a combo
box that lists all available drives / mountpoints. This also allows to easily
add more information like the free and total size for each mountpoint. For
development this can still be overriden by editing the dropdown value manually.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30140 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/configure.h')
-rw-r--r-- | rbutil/rbutilqt/configure.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/configure.h b/rbutil/rbutilqt/configure.h index 3884d0d750..fcfa9cbe7d 100644 --- a/rbutil/rbutilqt/configure.h +++ b/rbutil/rbutilqt/configure.h @@ -23,7 +23,6 @@ #define CONFIGURE_H #include "ui_configurefrm.h" -#include "browsedirtree.h" #include <QtGui> class Config : public QDialog @@ -51,19 +50,19 @@ class Config : public QDialog QString language; QString programPath; QUrl proxy; + QString mountpoint; void updateCacheInfo(QString); - BrowseDirtree *browser; - BrowseDirtree *cbrowser; - private slots: void setNoProxy(bool); void setSystemProxy(bool); void updateLanguage(void); - void browseFolder(void); + void refreshMountpoint(void); void browseCache(void); void autodetect(void); void setMountpoint(QString); + void updateMountpoint(QString); + void updateMountpoint(int); void cacheClear(void); void configTts(void); void configEnc(void); |