Ignore:
Timestamp:
Mar 8, 2010, 12:52:58 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.2 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/3rdparty/phonon/mmf/backend.cpp

    r561 r651  
    4646    : QObject(parent)
    4747    , m_ancestorMoveMonitor(new AncestorMoveMonitor(this))
     48    , m_effectFactory(new EffectFactory(this))
    4849{
    4950    TRACE_CONTEXT(Backend::Backend, EBackend);
     
    8283        Q_ASSERT(args.count() == 1);
    8384        Q_ASSERT(args.first().type() == QVariant::Int);
    84         const AbstractAudioEffect::Type effect = AbstractAudioEffect::Type(args.first().toInt());
    85 
    86         return EffectFactory::createAudioEffect(effect, parent);
     85        const EffectFactory::Type type =
     86            static_cast<EffectFactory::Type>(args.first().toInt());
     87        return m_effectFactory->createAudioEffect(type, parent);
    8788    }
    8889    case VideoWidgetClass:
     
    106107    {
    107108        case EffectType:
    108             retval.append(EffectFactory::effectIndexes());
     109            retval.append(m_effectFactory->effectIndexes());
    109110            break;
    110111        case AudioOutputDeviceType:
     
    127128    switch (type) {
    128129        case EffectType:
    129             return EffectFactory::audioEffectDescriptions(AbstractAudioEffect::Type(index));
     130            return m_effectFactory->audioEffectDescriptions(EffectFactory::Type(index));
    130131        case AudioOutputDeviceType:
    131132            return AudioOutput::audioOutputDescription(index);
Note: See TracChangeset for help on using the changeset viewer.