FileType
#include <bb/cascades/pickers/FileType>
To link against this class, add the following line to your .pro file: LIBS += -lbbcascadespickers
Defines the type of files that the user can select in FilePicker.
Multiple types can be combined by using the OR operator. If no FileType is specified, FileType::Other will be used as the default.
FilePicker will filter the content based on the MIME type associated with these types.
BlackBerry 10.0.0
Public Functions Index
| Q_DECLARE_FLAGS (Types, Type) |
Public Types
Types associated with FilePicker .
BlackBerry 10.0.0
- Picture = 0x1
Pictures.
Refers to files with MIME type images. @since BlackBerry 10.0.0
- Document = 0x2
Documents.
Refers to a subset of files with MIME type application that are supported on the device. @since BlackBerry 10.0.0
- Music = 0x4
Music.
Refers to files with MIME type audio. @since BlackBerry 10.0.0
- Video = 0x8
Videos.
Refers to files with MIME type Video. @since BlackBerry 10.0.0
- Other = 0x10
Refers to types other than the types listed above.
Since:BlackBerry 10.0.0
Public Functions
Using Qt's macro for type safe way to provide OR combination of enum values.
BlackBerry 10.0.0