emailuis/nmailuiwidgetsplugin/src/nmailuiwidgetsplugin.cpp
branchGCC_SURGE
changeset 55 cdd802add233
parent 30 759dc5235cdb
equal deleted inserted replaced
28:011f79704660 55:cdd802add233
    13 *
    13 *
    14 * Description: Nmail plugin for custom widgets
    14 * Description: Nmail plugin for custom widgets
    15 *
    15 *
    16 */
    16 */
    17 
    17 
       
    18 #include "emailtrace.h"
       
    19 
    18 #include "nmailuiwidgetsplugin.h"
    20 #include "nmailuiwidgetsplugin.h"
    19 #include <nmrecipientlineedit.h>
    21 #include <nmrecipientlineedit.h>
    20 #include <nmhtmllineedit.h>
    22 #include <nmhtmllineedit.h>
    21 #include <nmeditortextedit.h>
    23 #include <nmeditortextedit.h>
    22 #include <nmbaseviewscrollarea.h>
    24 #include <nmbaseviewscrollarea.h>
    23 #include <nmattachmentlistwidget.h>
    25 #include <nmattachmentlistwidget.h>
    24 
    26 
    25 QObject *NMailUiWidgetsPlugin::createObject(const QString& type, const QString &name )
    27 QObject *NMailUiWidgetsPlugin::createObject(const QString& type, const QString &name )
    26 {
    28 {
       
    29     NM_FUNCTION;
       
    30     
    27     if( type == NmBaseViewScrollArea::staticMetaObject.className() ) {
    31     if( type == NmBaseViewScrollArea::staticMetaObject.className() ) {
    28         QObject *object = new NmBaseViewScrollArea;
    32         QObject *object = new NmBaseViewScrollArea;
    29         object->setObjectName(name);
    33         object->setObjectName(name);
    30         return object;
    34         return object;
    31     }
    35     }