--- a/appinstaller/AppinstUi/sifuidevicedialogplugin/inc/sifuidialogcontentwidget.h Tue Aug 31 15:21:33 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-/*
-* 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: SIF UI dialog content widget.
-*
-*/
-
-#ifndef SIFUIDIALOGCONTENTWIDGET_H
-#define SIFUIDIALOGCONTENTWIDGET_H
-
-#include <hbwidget.h>
-#include <sifuidialogdefinitions.h>
-#include <qmobilityglobal.h> // QTM namespace macros
-
-class HbLabel;
-class QGraphicsLinearLayout;
-class HbStackedWidget;
-class HbComboBox;
-class HbProgressBar;
-class CFbsBitmap;
-
-QTM_BEGIN_NAMESPACE
-class QValueSpacePublisher;
-class QValueSpaceSubscriber;
-QTM_END_NAMESPACE
-
-
-class SifUiDialogContentWidget : public HbWidget
-{
- Q_OBJECT
-
-public:
- SifUiDialogContentWidget(QGraphicsItem *parent=0, Qt::WindowFlags flags=0);
- virtual ~SifUiDialogContentWidget();
-
- void constructFromParameters(const QVariantMap ¶meters);
- void updateFromParameters(const QVariantMap ¶meters);
- void changeType(SifUiDeviceDialogType type);
- QString applicationName() const;
-
-signals:
- void memorySelectionChanged(const QChar &driveLetter);
-
-private slots:
- void handleMemorySelectionChange(int selectedIndex);
-
-private:
- Q_DISABLE_COPY(SifUiDialogContentWidget)
- QString applicationName(const QVariantMap ¶meters);
- QString applicationSize(const QVariantMap ¶meters);
- void removeDetails();
- void addDetails(const QStringList &detailList);
- void addDetail(const QString &detailText);
- void createAppName(const QString &appName);
- void updateAppIcon(const QVariantMap ¶meters);
- void updateAppSize(const QVariantMap ¶meters);
- bool updateMemorySelection(const QVariantMap ¶meters);
- bool updateProgressBar(const QVariantMap ¶meters);
- bool updateErrorText(const QVariantMap ¶meters);
- void saveSelectedDriveAsDefault(const QChar& drive);
- QChar readDefaultSelectedDrive();
-
-private: // data
- HbLabel *mAppIcon;
- HbLabel *mAppName;
- HbLabel *mAppSize;
- QGraphicsLinearLayout *mMainLayout;
- QGraphicsLinearLayout *mAppDetailsLayout;
- HbStackedWidget *mStackedWidget;
- HbComboBox *mMemorySelection;
- QStringList mDriveLetterList;
- HbProgressBar *mProgressBar;
- HbLabel *mErrorText;
- CFbsBitmap *mBitmap;
- CFbsBitmap *mMask;
- QTM_PREPEND_NAMESPACE(QValueSpacePublisher) *mPublisher;
- QTM_PREPEND_NAMESPACE(QValueSpaceSubscriber) *mSubscriber;
-};
-
-#endif // SIFUIDIALOGCONTENTWIDGET_H