remotemgmt_plat/syncml_ds_customization_api/tsrc/synchconfigvalidator/customdatasynchconfigvalidator.h
branchRCL_3
changeset 26 19bba8228ff0
parent 25 b183ec05bd8c
child 27 5cc2995847ea
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
     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 CUSTOMDATASYNCHCONFIGVALIDATOR_H
       
    19 #define CUSTOMDATASYNCHCONFIGVALIDATOR_H
       
    20 
       
    21 #include <QtGui/QMainWindow>
       
    22 #include "ui_synchconfigvalidator.h"
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class CustomDataSynchConfigValidatorEngineWrapper;
       
    26 
       
    27 class CustomDataSynchConfigValidator : public QMainWindow
       
    28 {
       
    29     Q_OBJECT
       
    30     
       
    31 public:
       
    32     CustomDataSynchConfigValidator(QWidget *parent = 0);
       
    33     ~CustomDataSynchConfigValidator();
       
    34 
       
    35 protected:
       
    36     void resizeEvent (QResizeEvent* event);
       
    37 
       
    38 private:
       
    39     Ui::CustomDataSynchConfigValidator ui;
       
    40     void Initialize();
       
    41     bool matchCheckNameWithTableRowIdAndString(int row, QString matchString);
       
    42 
       
    43 public Q_SLOTS:
       
    44     void activateValidation();
       
    45     void handleMoreInfoItemsClicks(QTableWidgetItem *itemClicked);
       
    46 
       
    47 private:
       
    48     CustomDataSynchConfigValidatorEngineWrapper *mEngineWrapper;
       
    49     QString mContactsAdapterAvailabilityTestErrorNote;
       
    50     QString mCustomSynchProfileServerIdTestErrorNote;
       
    51     QString mContactsAdapterSynchProfileTestErrorNote;
       
    52     QString mMyprofileAdapterSynchProfileTestErrorNote;
       
    53 };
       
    54 
       
    55 #endif // CUSTOMDATASYNCHCONFIGVALIDATOR_H