browsercore/appfw/Api/Managers/BookmarksManager_p.h
changeset 3 0954f5dd2cd0
parent 0 1450b09d0cfd
child 9 b39122337a00
equal deleted inserted replaced
1:b0dd75e285d2 3:0954f5dd2cd0
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
     4 *
     9 * Initial Contributors:
     5 * This program is free software: you can redistribute it and/or modify
    10 * Nokia Corporation - initial contribution.
     6 * it under the terms of the GNU Lesser General Public License as published by
       
     7 * the Free Software Foundation, version 2.1 of the License.
       
     8 * 
       
     9 * This program is distributed in the hope that it will be useful,
       
    10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12 * GNU Lesser General Public License for more details.
    11 *
    13 *
    12 * Contributors:
    14 * You should have received a copy of the GNU Lesser General Public License
       
    15 * along with this program.  If not, 
       
    16 * see "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html/".
    13 *
    17 *
    14 * Description: 
    18 * Description:
    15 *
    19 *
    16 */
    20 */
    17 
       
    18 
    21 
    19 #ifndef BOOKMARKS_MANAGER_P_H
    22 #ifndef BOOKMARKS_MANAGER_P_H
    20 #define BOOKMARKS_MANAGER_P_H
    23 #define BOOKMARKS_MANAGER_P_H
    21 
    24 
    22 #include <QtGui/QUndoStack>
    25 #include <QtGui/QUndoStack>
    23 #include <browsercontentdll.h>
    26 #include <browsercontentdll.h>
    24 class QSortFilterProxyModel;
    27 #include <QAction>
       
    28 
       
    29 class ActionJSObject;
    25 
    30 
    26 namespace WRT {
    31 namespace WRT {
    27     class BookmarksManager;
    32     class BookmarksManager;
    28     class BookmarkNode;
    33     class BookmarkNode;
    29     class BookmarksManagerPrivate
    34     class BookmarksManagerPrivate
    37     public:
    42     public:
    38         BookmarksManager * const q;
    43         BookmarksManager * const q;
    39         //! flag to indicate was able to connect to book marks
    44         //! flag to indicate was able to connect to book marks
    40         bool m_connectedToBookmarks;
    45         bool m_connectedToBookmarks;
    41         //! flag to indicate bookmarks are loaded from data base
    46         //! flag to indicate bookmarks are loaded from data base
    42         bool m_loadedBookmarks;
       
    43         //! flag to indicate history is loaded from data base
       
    44         bool m_loadedHistory;
       
    45         //! Root node for bookmark
       
    46         BookmarkNode *m_bookmarkRootNode; // owned
       
    47         //! Root node for  history
       
    48         BookmarkNode *m_historyRootNode; //  owned
       
    49         
       
    50         //! Root node for  history proxy model
       
    51         BookmarkNode *m_historyRootNodeProxy; //  owned
       
    52         int m_maxUrls;
    47         int m_maxUrls;
    53         BrowserContent* m_bookmarkSession;
    48         BrowserContent* m_bookmarkSession;
    54         //flag to indicate importing bookmarks
    49         //flag to indicate importing bookmarks
    55         bool m_import;
    50         bool m_import;
    56 
    51         
       
    52         QAction * m_actionClearHistory;
       
    53         QObject* m_actionsParent; 
       
    54         ActionJSObject *m_actionClearJSO;
    57     };
    55     };
    58 }
    56 }
    59 #endif //BOOKMARKS_MANAGER_P_H
    57 #endif //BOOKMARKS_MANAGER_P_H