--- a/homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hspreviewhswidgetstate.h Mon May 03 12:24:59 2010 +0300
+++ b/homescreenapp/stateplugins/hsmenuworkerstateplugin/inc/hspreviewhswidgetstate.h Fri May 14 15:43:04 2010 +0300
@@ -29,18 +29,8 @@
class CaNotifier;
class HbAction;
class HbScrollArea;
+class HbMessageBox;
-/**
- * @ingroup group_hsworkerstateplugin
- * @brief Application Library State.
- *
- * Parent state for Application Library functionality (browsing applications and collections)
- *
- * @see StateMachine
- *
- * @lib ?library
- * @since S60 ?S60_version
- */
class HsPreviewHSWidgetState : public HsMenuBaseState
{
Q_OBJECT
@@ -49,61 +39,29 @@
public:
- /**
- * Constructor.
- *
- * @since S60 ?S60_version.
- * @param parent Owner.
- */
HsPreviewHSWidgetState(QState *parent = 0);
- /**
- * Destructor.
- *
- * @since S60 ?S60_version.
- */
virtual ~HsPreviewHSWidgetState();
private slots:
- /**
- * Slot invoked when preview dialog is dismissed.
- *
- * @since S60 ?S60_version.
- */
void previewDialogFinished(HbAction* finishedAction);
- /**
- * Slot invoked when message for corrupted widget is dismissed
- *
- * @since S60 ?S60_version.
- */
void messageWidgetCorruptedFinished(HbAction* finishedAction);
- /**
- * Inherited from HsMenuBaseState.
- *
- * @since S60 ?S60_version.
- */
+
void onEntry(QEvent *event);
- /**
- * Memory card removed.
- */
+ void cleanUp();
+
void memoryCardRemoved();
+signals:
+ void exit();
private:
- /**
- * Show message widget corrupted.
- *
- */
void showMessageWidgetCorrupted();
- /**
- * Subscribe for memory card remove.
- *
- */
void subscribeForMemoryCardRemove();
private:
@@ -120,6 +78,8 @@
int mEntryId;
+ HbMessageBox *mCorruptedMessage;
+
};