src/hbcore/gui/hbwidget.cpp
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 3 11d3954df52a
equal deleted inserted replaced
1:f7ac710697a9 2:06ff229162e9
    26 #include "hbwidget.h"
    26 #include "hbwidget.h"
    27 #include "hbwidget_p.h"
    27 #include "hbwidget_p.h"
    28 #include "hbfocusgroup_p.h"
    28 #include "hbfocusgroup_p.h"
    29 #include "hbevent.h"
    29 #include "hbevent.h"
    30 #include "hbinstance.h"
    30 #include "hbinstance.h"
    31 #include "hbstyleoption.h"
    31 #include "hbstyleoption_p.h"
    32 #include "hbstyleparameters.h"
    32 #include "hbstyleparameters.h"
    33 #include "hbgraphicsscene.h"
    33 #include "hbgraphicsscene.h"
    34 #include "hbgraphicsscene_p.h"
    34 #include "hbgraphicsscene_p.h"
    35 #include "hbdeviceprofile.h"
    35 #include "hbdeviceprofile.h"
    36 #include "hbspaceritem_p.h"
    36 #include "hbspaceritem_p.h"
  1365     } else if (highlightType == HbWidget::FocusHighlightResidual) {
  1365     } else if (highlightType == HbWidget::FocusHighlightResidual) {
  1366         primitive = d->focusResidualType;
  1366         primitive = d->focusResidualType;
  1367     }
  1367     }
  1368     return primitive;
  1368     return primitive;
  1369 }
  1369 }
  1370 
       
  1371 /*! 
       
  1372     
       
  1373     \deprecated HbWidget::overrideFeedback(Hb::InstantInteraction) const
       
  1374         is deprecated. Effect overriding is done via properties.
       
  1375 
       
  1376     Default implementation of a virtual method for overriding instant feedback effects.
       
  1377     Returns HbFeedback::NoOverride by default.
       
  1378     Widgets can reimplement this method to override the default feedback effects (if
       
  1379     there is a strong need not to use the default ones).
       
  1380 
       
  1381     \param interaction the interaction event triggered by the widget
       
  1382 */
       
  1383 HbFeedback::InstantEffect HbWidget::overrideFeedback(Hb::InstantInteraction interaction) const {
       
  1384     Q_UNUSED(interaction);
       
  1385 
       
  1386     return HbFeedback::NoOverride;
       
  1387 }
       
  1388 
       
  1389 /*! 
       
  1390 
       
  1391     \deprecated HbWidget::overrideContinuousFeedback(Hb::ContinuousInteraction, int*) const
       
  1392         is deprecated. Effect overriding is done via properties.
       
  1393 
       
  1394     Default implementation of a virtual method for overriding continuous feedback effects.
       
  1395     Returns HbFeedback::NoContinuousOverride by default.
       
  1396     Widgets can reimplement this method to override the default continuous feedbacks
       
  1397     and/or their intensity (if there is a strong need not to use the default ones).
       
  1398 
       
  1399     \param interaction  the interaction event triggered by the widget
       
  1400     \param intensity    the default intensity of the effect; can be overriden to any value
       
  1401                         between HbFeedback::IntensityZero, HbFeedback::IntensityFull
       
  1402 */
       
  1403 HbFeedback::ContinuousEffect HbWidget::overrideContinuousFeedback(Hb::ContinuousInteraction interaction, int *intensity) const {
       
  1404     Q_UNUSED(interaction);
       
  1405     Q_UNUSED(intensity);
       
  1406 
       
  1407     return HbFeedback::NoContinuousOverride;
       
  1408 }
       
  1409