phonebookui/phonebookservices/tsrc/qtpbkservicestestapp/testpbkservices.h
changeset 24 0ba2181d7c28
child 27 de1630741fbe
equal deleted inserted replaced
0:e686773b3f54 24:0ba2181d7c28
       
     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 TESTPBKSERVICES_H
       
    19 #define TESTPBKSERVICES_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <QVariant>
       
    23 
       
    24 #include <qmobilityglobal.h> //defines Q_SFW_EXPORT
       
    25 #include <xqservicerequest.h>
       
    26 
       
    27 class HbMainWindow;
       
    28 
       
    29 class testPbkServices : public QObject
       
    30 {
       
    31     Q_OBJECT
       
    32 
       
    33 public slots:
       
    34     void launchFetch();
       
    35     void launchSmsFilteredFetch();
       
    36     void launchEmailFilteredFetch();
       
    37     void launchEditorNumber();
       
    38     void launchEditorEmail();
       
    39     void launchEditorOnlineAccount();
       
    40     void launchUpdateEditorNumber();
       
    41     void launchUpdateEditorEmail();
       
    42     void launchUpdateEditorOnlineAccount();
       
    43     void onEditCompleted(const QVariant& value);
       
    44     void onRequestCompleted(const QVariant& value);
       
    45 
       
    46 public:
       
    47     testPbkServices(HbMainWindow *aParent);
       
    48     ~testPbkServices();
       
    49 
       
    50 private:
       
    51 
       
    52     XQServiceRequest    *mSndFetch;
       
    53     XQServiceRequest    *mSndEdit;
       
    54     HbMainWindow        *mMainWindow;
       
    55 
       
    56 };
       
    57 
       
    58 #endif