#include <KwidgetFactory.h>
|
| static std::unique_ptr< Kwidget > | createKwidget (const String &kwidgetType, const String &kwidgetID) |
| |
◆ CreateKwidgetFunction
◆ KwidgetFactory()
| krotos::KwidgetFactory::KwidgetFactory |
( |
| ) |
|
|
inline |
◆ createKwidget()
| static std::unique_ptr< Kwidget > krotos::KwidgetFactory::createKwidget |
( |
const String & | kwidgetType, |
|
|
const String & | kwidgetID ) |
|
inlinestatic |
Makes a new Kwidget from a String denoting its type.
- Parameters
-
| kwidgetType | The type of the Kwidget that will be made. |
| kwidgetID | A unique ID for the new Kwidget. |
- Returns
- A unique_ptr to the new Kwidget object or nullptr if kwidgetType not found
- See also
- KwidgetType
◆ m_createKwidgetFunctions
The documentation for this class was generated from the following files: