FileType

Since: BlackBerry 10.0.0

#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.


Overview

Public Types Index

enum Type

Picture = 0x1, Document = 0x2, Music = 0x4, Video = 0x8, Other = 0x10

Public Functions Index

Q_DECLARE_FLAGS (Types, Type)

Public Types

Type

Types associated with FilePicker .

Since:

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

Q_DECLARE_FLAGS (

Using Qt's macro for type safe way to provide OR combination of enum values.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus