ui/viewmanagement/viewmanager/inc/glxviewmanager.h
changeset 33 1ee2af37811f
parent 26 c499df2dbb33
child 36 6481344a6d67
--- a/ui/viewmanagement/viewmanager/inc/glxviewmanager.h	Fri May 14 15:52:22 2010 +0300
+++ b/ui/viewmanagement/viewmanager/inc/glxviewmanager.h	Thu May 27 12:51:42 2010 +0300
@@ -19,7 +19,7 @@
 
 #ifndef GLXVIEWMANAGER_H
 #define GLXVIEWMANAGER_H
- #include <QItemSelectionModel>
+
 #include <QObject>
 #include <QList>
 #include <hbeffect.h>
@@ -35,6 +35,8 @@
 class QItemSelectionModel;
 class HbMenu;
 class GlxSlideShowEffectEngine;
+class HbProgressDialog;
+class GlxMainWindowEventFilter;
 
 #ifdef BUILD_VIEWMANAGER
 #define GLX_VIEWMANAGER_EXPORT Q_DECL_EXPORT
@@ -59,7 +61,7 @@
 public :
     GlxViewManager();
     ~GlxViewManager();
-    void setupItems(int subState = -1);
+    void setupItems( );
     void launchApplication(qint32 id, QAbstractItemModel *model);
     void addBackSoftKeyAction();
 /*
@@ -92,6 +94,10 @@
  *  Return the selection model to the user
  */    
     QItemSelectionModel * getSelectionModel(qint32 viewId);
+/*
+ * To set the model of current view
+ */
+    void setModel( QAbstractItemModel *model );
 	    
 signals :
 /*
@@ -109,6 +115,9 @@
  *  It is over load slot and used to run the animation for view transition and launch the view
  */    
     void launchView (qint32 id, QAbstractItemModel *model, GlxEffect effect, GlxViewEffect viewEffect);
+    
+    void launchProgressDialog( int maxValue );
+    void updateProgressDialog( int currentValue);
 /*
  *  It will removed and deleted the view.
  *  Currently It is not used so may be in future, It will be removed.
@@ -142,6 +151,8 @@
 private slots:
 
    void checkMarked();
+   void hideProgressDialog();
+   
 private:
 /*
  * It will create and return the view
@@ -197,7 +208,10 @@
     HbMenu *mMenu; 
     GlxView *mView;
     QAbstractItemModel *mModel; //no ownership
-	QItemSelectionModel * mSelectionModel;
+    QItemSelectionModel * mSelectionModel;
+    HbProgressDialog *mProgressDialog;
+    GlxMainWindowEventFilter* mWindowEventFilter;
+
 };