messagingapp/msgui/msguiutils/inc/msgcontactsutil.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
child 79 2981cb3aa489
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
     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 #ifndef MSG_CONTACTS_UTIL_H
       
    19 #define MSG_CONTACTS_UTIL_H
       
    20 
       
    21 #include <QObject>
       
    22 #include "convergedmessageaddress.h"
       
    23 
       
    24 class ConvergedMessage;
       
    25 class XQServiceRequest;
       
    26 
       
    27 /**
       
    28  * This class provides functionality for fetching contacts from phonebook.
       
    29  * 
       
    30  */
       
    31 class MsgContactsUtil : public QObject
       
    32     {
       
    33     Q_OBJECT
       
    34 
       
    35 public:
       
    36     /**
       
    37      * Constructor
       
    38      */
       
    39     MsgContactsUtil(QObject* parent =0);
       
    40 
       
    41     /**
       
    42      * Destructor
       
    43      */
       
    44     ~MsgContactsUtil();
       
    45 
       
    46     /**
       
    47      * Fectch conatcts
       
    48      */
       
    49     void fetchContacts();
       
    50     
       
    51     /*
       
    52      * Open Contact Details
       
    53      * @param contactId Conatct Id
       
    54      */
       
    55     void openContactDetails(qint32 contactId);
       
    56 
       
    57 private:
       
    58         
       
    59     /**
       
    60      * Service Request
       
    61      * Owned
       
    62      */
       
    63     XQServiceRequest* mRequest;
       
    64     };
       
    65 
       
    66 #endif // MSG_CONTACTS_UTIL_H
       
    67 
       
    68 // EOF
       
    69