src/hbinput/inputwidgets/hbinputscreenshotwidget.cpp
changeset 5 627c4a0fd0e7
parent 2 06ff229162e9
child 6 c3690ec91ef8
equal deleted inserted replaced
3:11d3954df52a 5:627c4a0fd0e7
    25 #include <QPixmap>
    25 #include <QPixmap>
    26 #include <QPainter>
    26 #include <QPainter>
    27 
    27 
    28 #include <hbeffect.h>
    28 #include <hbeffect.h>
    29 #include <hbwidget_p.h>
    29 #include <hbwidget_p.h>
       
    30 #include <hbinputregioncollector_p.h>
    30 #include "hbframedrawerpool_p.h"
    31 #include "hbframedrawerpool_p.h"
       
    32 
    31 
    33 
    32 #include "hbinputscreenshotwidget.h"
    34 #include "hbinputscreenshotwidget.h"
    33 #include "hbinputvkbwidget.h"
    35 #include "hbinputvkbwidget.h"
    34 
    36 
    35 
    37 
    82 HbInputScreenshotWidget::HbInputScreenshotWidget(QGraphicsItem* parent)
    84 HbInputScreenshotWidget::HbInputScreenshotWidget(QGraphicsItem* parent)
    83     : HbWidget(*new HbInputScreenshotWidgetPrivate, parent)
    85     : HbWidget(*new HbInputScreenshotWidgetPrivate, parent)
    84 {
    86 {
    85     Q_D(HbInputScreenshotWidget);
    87     Q_D(HbInputScreenshotWidget);
    86     d->q_ptr = this;
    88     d->q_ptr = this;
       
    89     HbInputRegionCollector::instance()->attach(this);
    87 
    90 
    88     setPos(QPointF(0,0));
    91     setPos(QPointF(0,0));
    89 
    92 
    90 #ifdef HB_EFFECTS
    93 #ifdef HB_EFFECTS
    91     HbEffect::disable(this);
    94     HbEffect::disable(this);