diff -r 22cc52eade9b -r 1eef62f5c541 phoneplugins/dialerwidgetplugin/src/dialerwidget.cpp --- a/phoneplugins/dialerwidgetplugin/src/dialerwidget.cpp Fri Aug 06 13:16:44 2010 +0300 +++ b/phoneplugins/dialerwidgetplugin/src/dialerwidget.cpp Mon Aug 23 15:42:12 2010 +0300 @@ -35,8 +35,8 @@ #include #include #include -#include #include +#include #endif namespace @@ -103,24 +103,22 @@ } else { PHONE_DEBUG("no calls, open Dialer"); service = "logs"; - interface = "com.nokia.symbian.ILogsView"; - operation = "show(QVariantMap)"; + interface = XQI_LOGS_VIEW; + operation = XQOP_LOGS_SHOW; QVariantMap map; - map.insert("view_index", QVariant(int(LogsServices::ViewAll))); - map.insert("show_dialpad", QVariant(true)); - map.insert("dialpad_text", QVariant(QString())); + map.insert(XQLOGS_VIEW_INDEX, QVariant(int(XQService::LogsViewAll))); + map.insert(XQLOGS_SHOW_DIALPAD, QVariant(true)); + map.insert(XQLOGS_DIALPAD_TEXT, QVariant(QString())); args.append(QVariant(map)); } XQApplicationManager appManager; QScopedPointer request(appManager.create(service, interface, operation, false)); if (request == NULL) { + PHONE_TRACE1("service not found"); return; } request->setArguments(args); - XQRequestInfo info; - info.setForeground(true); - request->setInfo(info); bool ret = request->send(); PHONE_TRACE2("request sent successfully:", ret); #endif