aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm/DirData.h
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2015-08-17 16:00:00 -0400
committerKen Moore <moorekou@gmail.com>2015-08-17 16:00:00 -0400
commitf809e720d7bf5c2b314c705ad5600776afcf6659 (patch)
tree3a85e35b1e7f670a2a1c53cf017800dcc3a7aec6 /lumina-fm/DirData.h
parentTouch up the new Grey-Dark color scheme a bit - now the highlight/accent colo... (diff)
downloadlumina-f809e720d7bf5c2b314c705ad5600776afcf6659.tar.gz
lumina-f809e720d7bf5c2b314c705ad5600776afcf6659.tar.bz2
lumina-f809e720d7bf5c2b314c705ad5600776afcf6659.zip
Convert the multimedia player and slideshow viewer into separate classes/widgets for lumina-fm, and add the new UI for the directory browser as well (no .h/.cpp source files filled out yet for it yet though).
These new widgets/classes are tied into the build for compilation purposes, but they are not actually used in the app yet.
Diffstat (limited to 'lumina-fm/DirData.h')
-rw-r--r--lumina-fm/DirData.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lumina-fm/DirData.h b/lumina-fm/DirData.h
index 2d3ce6b3..ee2c8429 100644
--- a/lumina-fm/DirData.h
+++ b/lumina-fm/DirData.h
@@ -93,6 +93,10 @@ public:
//Check the Qt subsystems to see if this image file can be read
return ( !LUtils::imageExtensions().filter(this->suffix().toLower()).isEmpty() );
}
+
+ bool isAVFile(){
+ return (mime.startsWith("audio/") || mime.startsWith("video/") );
+ }
};
class LDirInfoList{
bgstack15