browsercore/appfw/Api/Managers/BookmarksManager_p.h
changeset 0 1450b09d0cfd
child 3 0954f5dd2cd0
child 5 0f2326c2a325
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/browsercore/appfw/Api/Managers/BookmarksManager_p.h	Tue May 04 12:39:35 2010 +0300
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2009 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: 
+*
+*/
+
+
+#ifndef BOOKMARKS_MANAGER_P_H
+#define BOOKMARKS_MANAGER_P_H
+
+#include <QtGui/QUndoStack>
+#include <browsercontentdll.h>
+class QSortFilterProxyModel;
+
+namespace WRT {
+    class BookmarksManager;
+    class BookmarkNode;
+    class BookmarksManagerPrivate
+    {
+    public:
+        BookmarksManagerPrivate(BookmarksManager * qq, QWidget *parent = 0);
+        ~BookmarksManagerPrivate();
+
+    public: // public actions available for this manager
+        
+    public:
+        BookmarksManager * const q;
+        //! flag to indicate was able to connect to book marks
+        bool m_connectedToBookmarks;
+        //! flag to indicate bookmarks are loaded from data base
+        bool m_loadedBookmarks;
+        //! flag to indicate history is loaded from data base
+        bool m_loadedHistory;
+        //! Root node for bookmark
+        BookmarkNode *m_bookmarkRootNode; // owned
+        //! Root node for  history
+        BookmarkNode *m_historyRootNode; //  owned
+        
+        //! Root node for  history proxy model
+        BookmarkNode *m_historyRootNodeProxy; //  owned
+        int m_maxUrls;
+        BrowserContent* m_bookmarkSession;
+        //flag to indicate importing bookmarks
+        bool m_import;
+
+    };
+}
+#endif //BOOKMARKS_MANAGER_P_H