summaryrefslogtreecommitdiff
path: root/src/bookmarks
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-20 18:32:52 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-20 18:32:52 +0200
commit78047f4e1024d0d4fd27b53c8b2ec29ff04afba6 (patch)
treeaf684203e2959c8f71bc2c2ad0a88a5d22b5f80b /src/bookmarks
parentAdd a "show main toolbar" action in the empty tabbar contextual menu (diff)
downloadrekonq-78047f4e1024d0d4fd27b53c8b2ec29ff04afba6.tar.xz
Krazy fixes, first bunch
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/bookmarkowner.cpp2
-rw-r--r--src/bookmarks/bookmarkscontextmenu.h6
-rw-r--r--src/bookmarks/bookmarkstoolbar.h10
3 files changed, 7 insertions, 11 deletions
diff --git a/src/bookmarks/bookmarkowner.cpp b/src/bookmarks/bookmarkowner.cpp
index fb7c737e..09d615d1 100644
--- a/src/bookmarks/bookmarkowner.cpp
+++ b/src/bookmarks/bookmarkowner.cpp
@@ -161,7 +161,7 @@ void BookmarkOwner::openBookmarkFolder()
return;
}
- foreach (KUrl url, urlList)
+ Q_FOREACH(const KUrl &url, urlList)
{
emit openUrl(url, Rekonq::NewFocusedTab);
}
diff --git a/src/bookmarks/bookmarkscontextmenu.h b/src/bookmarks/bookmarkscontextmenu.h
index 424f8da4..a6691fdd 100644
--- a/src/bookmarks/bookmarkscontextmenu.h
+++ b/src/bookmarks/bookmarkscontextmenu.h
@@ -24,8 +24,8 @@
* ============================================================ */
-#ifndef BOOKMARKCONTEXTMENU_H
-#define BOOKMARKCONTEXTMENU_H
+#ifndef BOOKMARKS_CONTEXT_MENU_H
+#define BOOKMARKS_CONTEXT_MENU_H
// KDE Includes
#include <KBookmarkMenu>
@@ -50,4 +50,4 @@ private:
BookmarkOwner *bmOwner;
};
-#endif // BOOKMARKCONTEXTMENU_H
+#endif // BOOKMARKS_CONTEXT_MENU_H
diff --git a/src/bookmarks/bookmarkstoolbar.h b/src/bookmarks/bookmarkstoolbar.h
index cf7b62cc..92a56749 100644
--- a/src/bookmarks/bookmarkstoolbar.h
+++ b/src/bookmarks/bookmarkstoolbar.h
@@ -27,16 +27,9 @@
#ifndef BOOKMARKSTOOLBAR_H
#define BOOKMARKSTOOLBAR_H
-// Local Includes
-
-
-// Qt Includes
-
// KDE Includes
#include <KBookmarkMenu>
-#include <KToolBar>
-
/**
@@ -75,8 +68,11 @@ private:
// ------------------------------------------------------------------------------
+
+// KDE Includes
#include <KToolBar>
+
class BookmarkToolBar : public KToolBar
{
Q_OBJECT