Updraft  1.0
Open source glider flight visualisation tool.
Updraft::FileRegistration Struct Reference

Data describing a file type registration. More...

#include <fileregistration.h>

Collaboration diagram for Updraft::FileRegistration:

List of all members.

Public Attributes

QString extension
 File extension.
QString typeDescription
 Description of files with specified extension.
int roleId
 Id specified by plug-in (each plug-in has it's own namespace).
QString roleDescription
 Role description shown in Open dialog.
FileCategory category
 Temporary or imported(persistent) file.
QString importDirectory
 Destination subdirectory for imported file This subdirectory is placed in application data directory.
PluginBaseplugin
 Pointer to associated plugin This plugin handles file opening.

Detailed Description

Data describing a file type registration.


Member Data Documentation

Temporary or imported(persistent) file.

File extension.

Destination subdirectory for imported file This subdirectory is placed in application data directory.

If category is CATEGORY_TEMPORARY, importDirectory is ignored. If importDirectory is empty, files are copied directly to data directory.

Pointer to associated plugin This plugin handles file opening.

Role description shown in Open dialog.

Id specified by plug-in (each plug-in has it's own namespace).

It is used for identification of selected role.

Description of files with specified extension.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines