phonebookui/phonebookservices/tsrc/qtpbkservicestestapp/testpbkservices.h
changeset 59 a642906a277a
parent 46 efe85016a067
equal deleted inserted replaced
47:7cbcb2896f0e 59:a642906a277a
    23 
    23 
    24 #include <qmobilityglobal.h> //defines Q_SFW_EXPORT
    24 #include <qmobilityglobal.h> //defines Q_SFW_EXPORT
    25 #include <xqappmgr.h>
    25 #include <xqappmgr.h>
    26 
    26 
    27 class HbMainWindow;
    27 class HbMainWindow;
       
    28 class HbAction;
       
    29 class HbDialog;
    28 
    30 
    29 /**
    31 /**
    30  * Launches phonebookservices highway services, for functional testing.
    32  * Launches phonebookservices highway services, for functional testing.
    31  */
    33  */
    32 class testPbkServices : public QObject
    34 class testPbkServices : public QObject
    45     void launchSingleFetch_old();
    47     void launchSingleFetch_old();
    46 
    48 
    47     // EDIT - create new
    49     // EDIT - create new
    48     void launchEditCreateNew_number();
    50     void launchEditCreateNew_number();
    49     void launchEditCreateNew_number_old();
    51     void launchEditCreateNew_number_old();
       
    52     void launchEditCreateNew_numberWithSubtype();
       
    53     void launchEditCreateNew_numberWithSubtype_old();    
    50     void launchEditCreateNew_email();
    54     void launchEditCreateNew_email();
    51     void launchEditCreateNew_email_old();
    55     void launchEditCreateNew_email_old();
    52     void launchEditCreateNew_onlineAccount();
    56     void launchEditCreateNew_onlineAccount();
    53     void launchEditCreateNew_onlineAccount_old();
    57     void launchEditCreateNew_onlineAccount_old();
       
    58     void launchEditCreateNew_onlineAccountWithSubtype();
       
    59     void launchEditCreateNew_onlineAccountWithSubtype_old();
    54     void launchEditorVCard();
    60     void launchEditorVCard();
    55     void launchEditorVCard_old();
    61     void launchEditorVCard_old();
    56 
    62 
    57     // EDIT - update existing
    63     // EDIT - update existing
    58     void launchEditUpdateExisting_number();
    64     void launchEditUpdateExisting_number();
    59     void launchEditUpdateExisting_number_old();
    65     void launchEditUpdateExisting_number_old();
       
    66     void launchEditUpdateExisting_numberWithSubtype();
       
    67     void launchEditUpdateExisting_numberWithSubtype_old();    
    60     void launchEditUpdateExisting_email();
    68     void launchEditUpdateExisting_email();
    61     void launchEditUpdateExisting_email_old();
    69     void launchEditUpdateExisting_email_old();
    62     void launchEditUpdateExisting_onlineAccount();
    70     void launchEditUpdateExisting_onlineAccount();
    63     void launchEditUpdateExisting_onlineAccount_old();
    71     void launchEditUpdateExisting_onlineAccount_old();
       
    72     void launchEditUpdateExisting_onlineAccountWithSubtype();
       
    73     void launchEditUpdateExisting_onlineAccountWithSubtype_old();
    64 
    74 
    65     // CONTACT CARD
    75     // CONTACT CARD
    66     void launchContactCard();
    76     void launchContactCard();
    67     void launchContactCard_old();
    77     void launchContactCard_old();
    68     void launchContactCardNumber();
    78     void launchContactCardNumber();
    69     void launchContactCardNumber_old();
    79     void launchContactCardNumber_old();
    70     void launchContactCardEmail();
    80     void launchContactCardEmail();
    71     void launchContactCardEmail_old();
    81     void launchContactCardEmail_old();
    72     void launchContactCardOnlineAccount();
    82     void launchContactCardOnlineAccount();
    73     void launchContactCardOnlineAccount_old();
    83     void launchContactCardOnlineAccount_old();
       
    84     
       
    85     // GROUP MEMBER VIEW
       
    86     void launchGroupMemberView();
    74 
    87 
    75     void onEditCompleted(const QVariant& value);
    88     void onEditCompleted(const QVariant& value);
    76     void onRequestCompleted(const QVariant& value);
    89     void onRequestCompleted(const QVariant& value);
    77 
    90 
    78 public:
    91 public:
    80     ~testPbkServices();
    93     ~testPbkServices();
    81 
    94 
    82 private:
    95 private:
    83     void launchMultiFetch( bool aNewInterface, QString aAction );
    96     void launchMultiFetch( bool aNewInterface, QString aAction );
    84     void launchSingleFetch( bool aNewInterface, QString aAction );
    97     void launchSingleFetch( bool aNewInterface, QString aAction );
    85     void launchEditCreateNew( bool aNewInterface, QString aDetailType, QString aFieldContent );
    98     void launchEditCreateNew( bool aNewInterface, QString aDetailType, QString aFieldContent, QString aDetailSubtype = QString() );
    86     void launchEditorVCard( bool aNewInterface );
    99     void launchEditorVCard( bool aNewInterface );
    87     void launchEditUpdateExisting( bool aNewInterface, QString aDetailType, QString aDetailValue );
   100     void launchEditUpdateExisting( bool aNewInterface, QString aDetailType, QString aDetailValue, QString aDetailSubtype = QString());
    88     void launchContactCard( bool aNewInterface );
   101     void launchContactCard( bool aNewInterface );
    89     void launchContactCard( bool aNewInterface, QString aDetailType, QString aDetailValue );
   102     void launchContactCard( bool aNewInterface, QString aDetailType, QString aDetailValue );
    90 
   103 
    91 private:
   104 private:
    92 
   105 
    93     XQAiwRequest         *mRequest; 
   106     XQAiwRequest         *mRequest; 
    94     HbMainWindow         *mMainWindow;
   107     HbMainWindow         *mMainWindow;
       
   108     HbDialog             *mPopup;
    95 
   109 
    96 };
   110 };
    97 
   111 
    98 #endif
   112 #endif