phonebookui/phonebookservices/tsrc/qtpbkservicestestapp/main.cpp
changeset 59 a642906a277a
parent 46 efe85016a067
--- a/phonebookui/phonebookservices/tsrc/qtpbkservicestestapp/main.cpp	Tue Jul 06 14:05:47 2010 +0300
+++ b/phonebookui/phonebookservices/tsrc/qtpbkservicestestapp/main.cpp	Wed Aug 18 09:39:00 2010 +0300
@@ -88,6 +88,14 @@
     mainLayout->addItem(button, row, 1);
     row++;
 
+    button = new HbPushButton("Edit create new - number with subtype");
+    QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditCreateNew_numberWithSubtype()));
+    mainLayout->addItem(button, row, 0);
+    button = new HbPushButton("old");
+    QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditCreateNew_numberWithSubtype_old()));
+    mainLayout->addItem(button, row, 1);
+    row++;    
+    
     button = new HbPushButton("Edit create new - email");
     QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditCreateNew_email()));
     mainLayout->addItem(button, row, 0);
@@ -104,6 +112,14 @@
     mainLayout->addItem(button, row, 1);
     row++;
 
+    button = new HbPushButton("Edit create new - onlineAccount with subtype");
+    bool res = QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditCreateNew_onlineAccountWithSubtype()));
+    mainLayout->addItem(button, row, 0);
+    button = new HbPushButton("old");
+    res = QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditCreateNew_onlineAccountWithSubtype_old()));
+    mainLayout->addItem(button, row, 1);
+    row++;
+    
     button = new HbPushButton("Launch editor with vCard");
     QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditorVCard()));
     mainLayout->addItem(button, row, 0);
@@ -121,6 +137,14 @@
     QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditUpdateExisting_number_old()));
     mainLayout->addItem(button, row, 1);
     row++;
+    
+    button = new HbPushButton("Edit/update existing - number with subtype");
+    QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditUpdateExisting_numberWithSubtype()));
+    mainLayout->addItem(button, row, 0);
+    button = new HbPushButton("old");
+    QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditUpdateExisting_numberWithSubtype_old()));
+    mainLayout->addItem(button, row, 1);
+    row++;
 
     button = new HbPushButton("Edit/update existing - email");
     QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditUpdateExisting_email()));
@@ -138,6 +162,14 @@
     mainLayout->addItem(button, row, 1);
     row++;
 
+    button = new HbPushButton("Edit/update existing - onlineAccount with subtype");
+    QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditUpdateExisting_onlineAccountWithSubtype()));
+    mainLayout->addItem(button, row, 0);
+    button = new HbPushButton("old");
+    QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchEditUpdateExisting_onlineAccountWithSubtype_old()));
+    mainLayout->addItem(button, row, 1);
+    row++;
+    
     // CONTACT CARD ==========================================================
 
     button = new HbPushButton("Launch contact card");
@@ -172,6 +204,13 @@
     mainLayout->addItem(button, row, 1);
     row++;
     
+    // Launch - Group Member View ==========================================================
+    
+    button = new HbPushButton("Launch group member view");
+    QObject::connect(button, SIGNAL(pressed()), service, SLOT(launchGroupMemberView()));
+    mainLayout->addItem(button, row, 0);
+    row++;
+    
     QGraphicsWidget *graphicsWidget = new QGraphicsWidget();
     graphicsWidget->setLayout(mainLayout);
     HbScrollArea *scrollArea = new HbScrollArea();