![]() |
BuildmLearn Toolkit
2.0.4
BuildmLearn Toolkit is an easy-to-use program that helps users make mobile apps without any knowledge of application development.
|
The entry point for a template. More...
#include <templateentrypoint.h>
Public Member Functions | |
TemplateEntryPoint (TemplateFactory *parent) | |
virtual TemplateCore * | createNewCore ()=0 |
Creates new instance of template core. More... | |
virtual TemplateCore * | loadCoreFromBundleData (const QString &raw_data)=0 |
Creates new instance and fills it template-specific data ("load project" functionality). More... | |
virtual QString | name () const |
Name of template. | |
virtual QString | humanName () const |
Human-readable name of template. | |
virtual QString | baseFolder () const |
Base folder of template. | |
virtual QString | description () const |
Description of template. | |
virtual QString | thumbnailImage () const |
Relative path to thumbnail image. More... | |
QString | typeIndentifier () const |
Identifier of the template. More... | |
QString | mobileApplicationApkFile () const |
Access to name of template APK file. More... | |
Protected Attributes | |
QString | m_name |
QString | m_humanName |
QString | m_baseFolder |
QString | m_description |
QString | m_thumbnailImage |
QString | m_typeIndentifier |
QString | m_mobileApplicationApkFile |
The entry point for a template.
Entry points acts as a thin and light wrapper for template core. It is primarily used to represent the template in "new project" dialog and in some other places throughout the toolkit.
Definition at line 47 of file templateentrypoint.h.
|
pure virtual |
Creates new instance of template core.
Implemented in LearnSpellingsEntryPoint, QuizEntryPoint, BasicmLearningEntryPoint, and FlashCardEntryPoint.
|
pure virtual |
Creates new instance and fills it template-specific data ("load project" functionality).
raw_data | Template-specific data. |
Implemented in LearnSpellingsEntryPoint, QuizEntryPoint, BasicmLearningEntryPoint, and FlashCardEntryPoint.
QString TemplateEntryPoint::mobileApplicationApkFile | ( | ) | const |
Access to name of template APK file.
Definition at line 67 of file templateentrypoint.cpp.
|
virtual |
Relative path to thumbnail image.
Definition at line 59 of file templateentrypoint.cpp.
QString TemplateEntryPoint::typeIndentifier | ( | ) | const |
Identifier of the template.
Identifier is used to determine which template belongs XML bundle file to.
Definition at line 63 of file templateentrypoint.cpp.