1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * |
|
5 * This program is free software: you can redistribute it and/or modify |
|
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. |
|
13 * |
|
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/". |
|
17 * |
|
18 * Description: |
|
19 * |
|
20 */ |
|
21 |
|
22 #ifndef BOOKMARKS_MANAGER_P_H |
|
23 #define BOOKMARKS_MANAGER_P_H |
|
24 |
|
25 #include <QtGui/QUndoStack> |
|
26 #include <browsercontentdll.h> |
|
27 #include <QAction> |
|
28 |
|
29 class ActionJSObject; |
|
30 |
|
31 namespace WRT { |
|
32 class BookmarksManager; |
|
33 class BookmarkNode; |
|
34 class BookmarksManagerPrivate |
|
35 { |
|
36 public: |
|
37 BookmarksManagerPrivate(BookmarksManager * qq); |
|
38 ~BookmarksManagerPrivate(); |
|
39 |
|
40 public: // public actions available for this manager |
|
41 |
|
42 public: |
|
43 BookmarksManager * const q; |
|
44 //! flag to indicate was able to connect to book marks |
|
45 bool m_connectedToBookmarks; |
|
46 //! flag to indicate bookmarks are loaded from data base |
|
47 int m_maxUrls; |
|
48 BrowserContent* m_bookmarkSession; |
|
49 |
|
50 #ifdef Q_WS_MAEMO_5 |
|
51 //flag to indicate importing bookmarks |
|
52 bool m_import; |
|
53 #endif |
|
54 |
|
55 QAction * m_actionClearHistory; |
|
56 QObject* m_actionsParent; |
|
57 ActionJSObject *m_actionClearJSO; |
|
58 }; |
|
59 } |
|
60 #endif //BOOKMARKS_MANAGER_P_H |
|