browsercore/appfw/Api/Managers/BookmarksManager.h
changeset 6 1c3b8676e58c
parent 5 0f2326c2a325
child 10 232fbd5a2dcb
--- a/browsercore/appfw/Api/Managers/BookmarksManager.h	Wed Jun 23 17:59:43 2010 +0300
+++ b/browsercore/appfw/Api/Managers/BookmarksManager.h	Tue Jul 06 14:03:49 2010 +0300
@@ -59,13 +59,14 @@
     //Gets ref count of the page from history
     int getPageRank(const QString &url);
     static BookmarksManager* getSingleton();
-
+    
   signals:
     void bookmarkEntryAdded(QString,QString);
     void launchBookmarkEditDailog(QString,QString);
     void bookmarkEntryModified(QString, QString);
     void historyCleared();
     void confirmHistoryClear();
+    void bookmarksCleared();
 
     public slots:
 
@@ -88,19 +89,14 @@
 
   private:
     //For loading the history from data base
-    void loadHistory();
-    void loadHistoryProxy();
-    //Finds the folder to which the date belongs
-    QString findFolderForDate( QDate& date) const;
-    //add the node to history proxy
-    void addToHistoryProxy(QString &strFoldername, BookmarkNode*node);
-    //add the history item to root node specified
-    bool dateInThisMonth(QDate &date)const;
+    QString normalizeUrl(const QString &url);
 
   private:
      BookmarksManagerPrivate * const d;
      bool m_isBookmarkDbreadRequired;
      QString m_bookmakrData;
+     QVector<QString> m_folderVector;
+     QMap<QString, QString> m_historyMap;
      
 };
 }