NCL Composer
0.1.5
|
Static Public Member Functions | |
static QnstGraphicsEntity * | makeGraphicsEntity (Qnst::EntityType type, QnstGraphicsEntity *parent=0, const QMap< QString, QString > &props=(QMap< QString, QString >())) |
Creates an entity based on the type passed as parameter. More... | |
static Qnst::EntityType | getnstTypeFromMime (const QString &mimeType) |
Returns the Qnst::EntityType based on the media mimetype. More... | |
static QString | iconFromMediaType (Qnst::EntityType type) |
Returns the icon that represents the Qnst::EntityType. More... | |
static Qnst::EntityType | getnstTypeFromExtension (const QString &ext) |
Returns the media type based on the extension of the media source. More... | |
static Qnst::EntityType | getnstTypeFromStr (const QString &strType) |
Returns the media type based on the string the represent that type. More... | |
static QString | getStrFromNstType (Qnst::EntityType type) |
Returns the string that represents the type. More... | |
static QString | getPrefixIdFromType (Qnst::EntityType type) |
Returns a media identifier prefix for an specific qnst entity type. More... | |
static Qnst::BindType | getBindTypeFromStr (const QString &role) |
Returns the Qnst::BindType related to the string role passed as parameter. More... | |
static QString | getStrFromBindType (Qnst::BindType type) |
Returns a string that represents the QnstBindType passed as parameter. More... | |
Definition at line 11 of file qnstutil.h.
|
static |
Returns the Qnst::BindType related to the string role passed as parameter.
Definition at line 279 of file qnstutil.cpp.
|
static |
Returns the media type based on the extension of the media source.
Definition at line 247 of file qnstutil.cpp.
|
static |
Returns the Qnst::EntityType based on the media mimetype.
Definition at line 209 of file qnstutil.cpp.
|
static |
Returns the media type based on the string the represent that type.
Definition at line 255 of file qnstutil.cpp.
|
static |
Returns a media identifier prefix for an specific qnst entity type.
Definition at line 271 of file qnstutil.cpp.
|
static |
Returns a string that represents the QnstBindType passed as parameter.
Definition at line 287 of file qnstutil.cpp.
|
static |
Returns the string that represents the type.
One of the use of this function is to serialize the Qnst::EntityType.
Definition at line 263 of file qnstutil.cpp.
|
static |
Returns the icon that represents the Qnst::EntityType.
Definition at line 236 of file qnstutil.cpp.
|
static |
Creates an entity based on the type passed as parameter.
Definition at line 142 of file qnstutil.cpp.