deviceupdatesui/deviceupdates/inc/dmfotaview.h
changeset 18 7d11f9a6646f
child 42 aa33c2cb9a50
equal deleted inserted replaced
4:75a71fdb4c92 18:7d11f9a6646f
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  DMFotaView header.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef DMFOTAVIEW_H_
       
    19 #define DMFOTAVIEW_H_
       
    20 
       
    21 
       
    22 #include <hbapplication.h>
       
    23 #include <hbwidget.h>
       
    24 #include <QGraphicsLinearLayout>
       
    25 #include <hbgroupbox.h>
       
    26 #include <hbview.h>
       
    27 #include <hblabel.h>
       
    28 #include <hbdocumentloader.h>
       
    29 #include <hbmenu.h>
       
    30 #include <SyncMLClient.h>
       
    31 #include <SyncMLClientDM.h>
       
    32 #include <QStandardItemModel>
       
    33 #include <QLocale>
       
    34 #include <centralrepository.h>
       
    35 #include <QTranslator>
       
    36 #include <nsmldmdef.h>
       
    37 //_LIT( KSmlEOL,      "\n" );
       
    38 
       
    39 
       
    40 class HbDialog;
       
    41 class DmAdvancedView;
       
    42 class DMFotaView : public HbView
       
    43     {
       
    44     Q_OBJECT
       
    45 public:
       
    46     DMFotaView(HbMainWindow *mainWindow);
       
    47     virtual ~DMFotaView();
       
    48     bool addFotaView();
       
    49     //HbDialog* createDialog() const;
       
    50 private:
       
    51     void FormatList(QString val, QString str);
       
    52 public slots :
       
    53     void OnHelp();
       
    54     void OnExit();
       
    55 	void CheckforUpdate();
       
    56 	void AdvancedDeviceManager();
       
    57 	void backtoMainWindow();
       
    58 	void readSection( Qt::Orientation orientation );
       
    59 private:
       
    60 	HbMainWindow* mMainWindow;
       
    61 	HbView* fotaPortraitView;
       
    62 	HbView* fotaLandscapeView;
       
    63 	DmAdvancedView* profilesView;
       
    64 	HbAction    *mSoftKeyBackAction;
       
    65     RSyncMLSession iSession;
       
    66     RSyncMLDevManProfile profile;
       
    67     RSyncMLDevManJob iSyncJob;
       
    68     QTranslator* mTranslator;
       
    69     HbLabel *label,*label2,*label3,*label4;
       
    70     QStringList list1,list2;
       
    71     TInt i;
       
    72     HbDocumentLoader loader,loader2;
       
    73     };
       
    74     
       
    75 
       
    76 #endif