summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarksmanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-04 23:21:46 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-05 00:49:37 +0200
commitdeab0dd37edbc4007a3c2cf32d31811aff0e7e2d (patch)
treeb2a2884a69dd03428cdb9bcf15150a17ebbff867 /src/bookmarks/bookmarksmanager.h
parentThis should fix the Ctrl+w bug. Anyway, it really doesn't solve it: there is ... (diff)
downloadrekonq-deab0dd37edbc4007a3c2cf32d31811aff0e7e2d.tar.xz
Awesome bar speed up
This commit introduces notable changes and needs a lot of tests Courtesy patch from Mathias Kraus. Thanks :) BUG: 237390
Diffstat (limited to 'src/bookmarks/bookmarksmanager.h')
-rw-r--r--src/bookmarks/bookmarksmanager.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/bookmarks/bookmarksmanager.h b/src/bookmarks/bookmarksmanager.h
index ae12280b..dfebebd2 100644
--- a/src/bookmarks/bookmarksmanager.h
+++ b/src/bookmarks/bookmarksmanager.h
@@ -36,13 +36,13 @@
// Local Includes
#include "application.h"
+#include "urlresolver.h"
// Qt Includes
#include <QWidget>
// KDE Includes
#include <KBookmarkOwner>
-#include <KCompletion>
// Forward Declarations
class BookmarkProvider;
@@ -226,19 +226,14 @@ public:
*/
KBookmarkGroup rootGroup();
- KBookmarkManager *bookmarkManager()
- {
- return m_manager;
- }
- BookmarkOwner *bookmarkOwner()
- {
- return m_owner;
- }
+ inline KBookmarkManager *bookmarkManager() { return m_manager; }
+
+ inline BookmarkOwner *bookmarkOwner() { return m_owner; }
/**
- * @returns the KCompletion object.
+ * @returns the AwesomeUrlCompletion object.
*/
- KCompletion *completionObject() const;
+ AwesomeUrlCompletion *completionObject() const;
QString titleForBookmarkUrl(QString url);
@@ -278,7 +273,7 @@ private:
KActionCollection *m_actionCollection;
BookmarkMenu *m_bookmarkMenu;
QList<KToolBar*> m_bookmarkToolBars;
- KCompletion *m_completion;
+ AwesomeUrlCompletion *m_completion;
};