phonebookengines/cntactions/src/cntcallaction.cpp
changeset 40 b46a585f6909
equal deleted inserted replaced
37:fd64c38c277d 40:b46a585f6909
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #include "cntcallaction.h"
       
    19 
       
    20 #include <xqservicerequest.h>
       
    21 #include <qcontactphonenumber.h>
       
    22 #include <qcontactfilters.h>
       
    23 
       
    24 //Action class
       
    25 CntCallAction::CntCallAction() : 
       
    26     CntAction("call")
       
    27 {
       
    28 }
       
    29 
       
    30 CntCallAction::~CntCallAction()
       
    31 {
       
    32 }
       
    33 
       
    34 CntCallAction* CntCallAction::clone() const
       
    35 {
       
    36 	 return new CntCallAction();
       
    37 }
       
    38 
       
    39 void CntCallAction::performAction()
       
    40 {
       
    41     QString service("com.nokia.symbian.ICallDial");
       
    42     QString type("dial(QString,int)");
       
    43     
       
    44     performNumberAction(service, type);
       
    45 }
       
    46 
       
    47 
       
    48