deviceupdatesui/devicemanagementnotifiersplugin/devicemanagementnotifierutils.h
changeset 30 d3981f4fe6a4
parent 27 516a867811c3
child 31 4b5fb8110426
child 41 c742e1129640
equal deleted inserted replaced
27:516a867811c3 30:d3981f4fe6a4
     1 /*
       
     2 * Copyright (c) 2010 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 DEVICEMANAGEMENTNOTIFIERUTILS_H_
       
    19 #define DEVICEMANAGEMENTNOTIFIERUTILS_H_
       
    20 
       
    21 #include <hbpushbutton.h>
       
    22 #include <qtimeline.h>
       
    23 #include <hbcheckbox.h>
       
    24 #include <hblabel.h>
       
    25 #include <hblineedit.h>
       
    26 #include <hbtextedit.h>
       
    27 #include <QGraphicsWidget>
       
    28 #include <hbdocumentloader.h>
       
    29 #include <hbinputeditorinterface.h>
       
    30 #include <hbview.h>
       
    31 #include <hbprogressbar.h>
       
    32 #include <hbdialog.h>
       
    33 #include <hbmainwindow.h>
       
    34 #include "syncmlnotifierprivate.h"
       
    35 
       
    36 class syncmlnotifier;
       
    37 
       
    38 class devicemanagementnotifierutils :public HbDialog  {
       
    39 
       
    40 Q_OBJECT
       
    41 
       
    42 public:
       
    43 devicemanagementnotifierutils(const QVariantMap &parameters);
       
    44   
       
    45 };
       
    46 
       
    47 class syncmlnotifier:public QObject {
       
    48 
       
    49 Q_OBJECT
       
    50 
       
    51 public:
       
    52 syncmlnotifier();
       
    53 
       
    54 public:
       
    55      void launchDialog(const QVariantMap &parameters);
       
    56      void createserverinitnotifier(int profileid, int uimode,QString& servername);
       
    57      void createserveralertinformative(const QString &string);
       
    58      void createserveralertconfirmative(const QString &string);
       
    59 
       
    60 public slots:
       
    61     void okSelected();
       
    62     void cancelSelected(); 
       
    63 
       
    64 signals:
       
    65     void servertextmessage(const QString &string);
       
    66  
       
    67 private:
       
    68   syncmlnotifierprivate* msymnotifier;
       
    69 
       
    70 
       
    71 };
       
    72     
       
    73 
       
    74 
       
    75 #endif