diff -r bab96b7ed1a4 -r f39ed5e045e0 phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.cpp --- a/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.cpp Tue Jun 15 14:14:38 2010 +0100 +++ b/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.cpp Thu Jul 22 16:33:21 2010 +0100 @@ -71,6 +71,22 @@ return ret; } +/*! + CpTelephonyPlugin::createSettingView() const +*/ +CpBaseSettingView *CpTelephonyPlugin::createSettingView(const QVariant &hint) const +{ + QVariantHash hash = hint.value(); + + if( hash.value("view").toString().compare("divert_view",Qt::CaseInsensitive) == 0){ + QVariantList params; + params << QVariant("cpdivertplugin"); + return new CpTelephonyPluginView(params); + } + return 0; +} + + Q_EXPORT_PLUGIN2(cptelephonyplugin, CpTelephonyPlugin);