searchui/stateproviders/searchstateprovider/inc/searchprogressivestate.h
changeset 3 6832643895f7
parent 2 208a4ba3894c
child 5 3bc31ad99ee7
--- a/searchui/stateproviders/searchstateprovider/inc/searchprogressivestate.h	Mon May 03 12:32:15 2010 +0300
+++ b/searchui/stateproviders/searchstateprovider/inc/searchprogressivestate.h	Fri May 14 15:53:17 2010 +0300
@@ -28,6 +28,7 @@
 #include <xqappmgr.h>
 #include <xqaiwrequest.h>
 #include "search_global.h"
+#include <f32file.h>
 
 //Uncomment to enable performance measurements.
 //#define OST_TRACE_COMPILER_IN_USE
@@ -61,7 +62,6 @@
 #define PERF_CAT_GETDOC_ACCUMULATOR_ENDLOG
 
 #endif //OST_TRACE_COMPILER_IN_USE
-
 class HbMainWindow;
 class HbView;
 class HbListView;
@@ -71,7 +71,8 @@
 class CFbsBitmap;
 class InDeviceHandler;
 class QCPixDocument;
-
+class NotesEditor;
+class EventViewerPluginInterface;
 SEARCH_CLASS( SearchStateProviderTest)
 /** @ingroup group_searchstateprovider
  * @brief The state where progressive search state is shown
@@ -150,8 +151,6 @@
     void setSelectedCategories();
 public slots:
 
-   
-
     /**
      * slot connects to CSearchHandler to get the status of search result asynchronously 
      * @since S60 ?S60_version.
@@ -226,26 +225,25 @@
      */
     void getrowsRemoved();
     /**
-        * slot added for Application manager
-        * @since S60 ?S60_version.
-        */
+     * slot added for Application manager
+     * @since S60 ?S60_version.
+     */
 
     void handleOk(const QVariant& var);
-    
+
     /**
-      * slot added for Application manager
-      * @since S60 ?S60_version.
-      */
+     * slot added for Application manager
+     * @since S60 ?S60_version.
+     */
 
     void handleError(int ret, const QString& var);
-    
+
     /**
-      * Slot implemented for particular category search 
-      * @since S60 ?S60_version.
-      */
+     * Slot implemented to delete the calenderviewer plugin  
+     * @since S60 ?S60_version.
+     */
 
-    
-    QString filterDoc(const QCPixDocument* aDoc,const QString& filter);
+    void _viewingCompleted();
 private:
 
     /**
@@ -287,6 +285,29 @@
      */
     QPixmap fromSymbianCFbsBitmap(CFbsBitmap *aBitmap);
 
+    /**
+     * Function to retrive drive number from the provided mediaId
+     *  @param aMediaId Unique media Id.
+     */
+    QString getDrivefromMediaId(QString aMediaId);
+
+    /**
+     * Function to launch the result item for application category 
+     *  @param aUid Unique app Id.
+     */
+    void LaunchApplicationL(const TUid aUid);
+
+    /**
+     * Function to parse the  QCPixDocument with the given filter       
+     */
+    QString filterDoc(const QCPixDocument* aDoc, const QString& filter);
+
+    /**
+     * Function to parse the  QCPixDocument with the given filters       
+     */
+    QStringList filterDoc(const QCPixDocument* aDoc, const QString& filter1,
+            const QString& filter2, const QString& filter3 = QString());
+
 signals:
 
     /**
@@ -322,7 +343,7 @@
      * Own.
      */
     HbSearchPanel* mSearchPanel;
-  
+
     /**
      * model for list view
      * Own.
@@ -393,11 +414,14 @@
     bool loadSettings;
     QList<HbIcon> mIconArray;
     HbIcon mIcon;
-	
+    RFs iFs;
+
+    EventViewerPluginInterface *calAgandaViewerPluginInstance;
+    NotesEditor *notesEditor;
 private:
     XQApplicationManager* mAiwMgr;
     XQAiwRequest* mRequest;
-	
+    QSize mListViewIconSize;
 #ifdef OST_TRACE_COMPILER_IN_USE
     QTime m_totalSearchUiTime;
     QTime m_categorySearchUiTime;