filemanager/src/filemanager/src/backuprestore/fmbackupviewitem.h
changeset 25 b7bfdea70ca2
parent 16 ada7962b4308
child 27 df183af6b92f
equal deleted inserted replaced
16:ada7962b4308 25:b7bfdea70ca2
     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  * 
       
    15  * Description:
       
    16  *     The header file of the back up view list item of file manager
       
    17  */
       
    18 
       
    19 #ifndef FMBACKUPVIEWITEM_H
       
    20 #define FMBACKUPVIEWITEM_H
       
    21 
       
    22 #include <hblistviewitem.h>
       
    23 
       
    24 class HbLabel;
       
    25 class HbCheckBox;
       
    26 class HbLineEdit;
       
    27 
       
    28 class FmBackupViewItem : public HbListViewItem
       
    29 {
       
    30 	Q_OBJECT
       
    31 
       
    32 public:
       
    33 	FmBackupViewItem( QGraphicsItem *parent = 0  );
       
    34 	~FmBackupViewItem();
       
    35 
       
    36 public:
       
    37 	virtual HbAbstractViewItem *createItem();
       
    38 	virtual void updateChildItems();
       
    39 private:
       
    40     virtual void polish(HbStyleParameters& params);
       
    41 
       
    42 private:
       
    43     void init();
       
    44 
       
    45 private:
       
    46     HbLabel *mTitleLabel;
       
    47     //HbLabel *mTipsLabel;
       
    48 	HbLineEdit *mTipsLineEdit;
       
    49 };
       
    50 
       
    51 //FmRestoreViewItem
       
    52 class FmRestoreViewItem : public HbListViewItem
       
    53 {
       
    54 	Q_OBJECT
       
    55 
       
    56 public:
       
    57     FmRestoreViewItem( QGraphicsItem *parent = 0  );
       
    58 	  ~FmRestoreViewItem();
       
    59 
       
    60 public:
       
    61 	virtual HbAbstractViewItem *createItem();
       
    62 	virtual void updateChildItems();
       
    63 	void setCheckBoxState();
       
    64 
       
    65 private:
       
    66     virtual void polish(HbStyleParameters& params);
       
    67 
       
    68 private:
       
    69     void init();
       
    70 
       
    71 private:
       
    72     HbLabel *mRestoreContentLabel;
       
    73     HbLabel *mDateTimeLabel;
       
    74 
       
    75 	HbCheckBox *mCheckBox;
       
    76 };
       
    77 
       
    78 #endif