--- a/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.cpp Wed Jun 23 18:12:20 2010 +0300
+++ b/phonesettings/cpphonesettingsplugins/telephonyplugin/src/cptelephonyplugin.cpp Tue Jul 06 14:15:47 2010 +0300
@@ -71,6 +71,22 @@
return ret;
}
+/*!
+ CpTelephonyPlugin::createSettingView() const
+*/
+CpBaseSettingView *CpTelephonyPlugin::createSettingView(const QVariant &hint) const
+{
+ QVariantHash hash = hint.value<QVariantHash>();
+
+ 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);