filebrowser/ui/inc/fbdrivelistviewitem.h
branchRCL_3
changeset 21 b3cee849fa46
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/filebrowser/ui/inc/fbdrivelistviewitem.h	Tue Aug 31 15:15:20 2010 +0300
@@ -0,0 +1,65 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef FBDRIVELISTVIEWITEMS_H
+#define FBDRIVELISTVIEWITEMS_H
+
+#include <HbListViewItem>
+
+#include <QGraphicsWidget>
+#include <QtGlobal>
+
+class HbAbstractViewItem;
+class HbLabel;
+class HbCheckBox;
+class HbWidget;
+
+class QGraphicsLinearLayout;
+class QModelIndex;
+class QGraphicsItem;
+
+class FbDriveListViewItem : public HbListViewItem
+{
+    Q_OBJECT
+
+public:
+    FbDriveListViewItem( QGraphicsItem *parent = 0 );
+    ~FbDriveListViewItem();
+
+    virtual bool canSetModelIndex(const QModelIndex &index) const;
+    virtual HbAbstractViewItem *createItem();
+    virtual void updateChildItems();
+
+private slots:
+    void setCheckedState( int state );
+
+private:
+    virtual void polish(HbStyleParameters& params);
+
+private:
+    void init();
+
+    QGraphicsLinearLayout *hLayout;
+
+    HbLabel *mDiskNameLabel;
+    HbLabel *mSizeLabel;
+    HbLabel *mFreeLabel;
+    //HbCheckBox *mCheckBox;
+    HbLabel *mIconLabel;
+};
+
+#endif // FBDRIVELISTVIEWITEMS_H