tsdevicedialog/tsdevicedialogplugin/src/tsdocumentloader.cpp
changeset 109 e0aa398e6810
parent 104 9b022b1f357c
child 112 dbfb5e38438b
equal deleted inserted replaced
104:9b022b1f357c 109:e0aa398e6810
    25     \brief Document loader.
    25     \brief Document loader.
    26 
    26 
    27     TS implementation of document loader. It is creating TS objects used in UI
    27     TS implementation of document loader. It is creating TS objects used in UI
    28 */
    28 */
    29 
    29 
    30 QObject *TsDocumentLoader::createObject(const QString &type, const QString &name)
    30 QObject *TsDocumentLoader::createObject(const QString &type, 
       
    31                                         const QString &name)
    31 {
    32 {
    32     if (type == TsTasksGrid::staticMetaObject.className()) {
    33     if (type == TsTasksGrid::staticMetaObject.className()) {
    33         QObject *object = new TsTasksGrid();
    34         QObject *object = new TsTasksGrid();
    34         object->setObjectName(name);
    35         object->setObjectName(name);
    35         return object;
    36         return object;