author | harlekin <harlekin> | 2002-03-22 15:34:21 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-03-22 15:34:21 (UTC) |
commit | 3e2720971a92079e56f61ad257ef6c2df2a2b0b4 (patch) (side-by-side diff) | |
tree | 4aba55be8c0c8b1fad2efd1bd362e1a1f68715a2 /core/launcher/mediummountgui.cpp | |
parent | a25901e13435a44576229bbda344aedf138863b0 (diff) | |
download | opie-3e2720971a92079e56f61ad257ef6c2df2a2b0b4.zip opie-3e2720971a92079e56f61ad257ef6c2df2a2b0b4.tar.gz opie-3e2720971a92079e56f61ad257ef6c2df2a2b0b4.tar.bz2 |
more stuff
Diffstat (limited to 'core/launcher/mediummountgui.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/launcher/mediummountgui.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/core/launcher/mediummountgui.cpp b/core/launcher/mediummountgui.cpp index 2454efa..8307eb6 100644 --- a/core/launcher/mediummountgui.cpp +++ b/core/launcher/mediummountgui.cpp @@ -57,2 +57,6 @@ bool MediumMountGui::check() { +QStringList MediumMountGui::dirs() { + QStringList list = QStringList::split(",", limittodirs ); + return list; +} @@ -72,2 +76,17 @@ void MediumMountGui::writeConfig() { cfg.writeEntry("dirs", "/"); + + + if (checkmimeaudio) { + mimeTypeList += ("audio//*"); + } + if (checkmimetext) { + mimeTypeList += ("text//*"); + } + if (checkmimeaudio) { + mimeTypeList += ("video//*"); + } + if (checkmimeaudio) { + mimeTypeList += ("image//*"); + } + } @@ -159,2 +178,7 @@ void MediumMountGui::yesPressed() { + +QStringList MediumMountGui::mimeTypes(){ + return mimeTypeList; +} + void MediumMountGui::noPressed() { |