summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkprovider.cpp
diff options
context:
space:
mode:
authorJohannes Troscher <fritz_van_tom@hotmail.com>2011-11-27 12:18:33 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-11-27 12:18:33 +0100
commit6390d8ea58021f67257527cf98af5074656e0838 (patch)
tree2defdd7055541f41da100a81aa715bfb10ce8cc9 /src/bookmarks/bookmarkprovider.cpp
parentMerge branch 'bkGroupMidClick' (diff)
downloadrekonq-6390d8ea58021f67257527cf98af5074656e0838.tar.xz
Unifies macro style
REVIEW: 103242 REVIEWED-BY: adjam
Diffstat (limited to 'src/bookmarks/bookmarkprovider.cpp')
-rw-r--r--src/bookmarks/bookmarkprovider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks/bookmarkprovider.cpp b/src/bookmarks/bookmarkprovider.cpp
index 9b4be96f..ca705715 100644
--- a/src/bookmarks/bookmarkprovider.cpp
+++ b/src/bookmarks/bookmarkprovider.cpp
@@ -179,7 +179,7 @@ KBookmark BookmarkProvider::bookmarkForUrl(const KUrl &url)
void BookmarkProvider::slotBookmarksChanged()
{
- foreach(BookmarkToolBar * bookmarkToolBar, m_bookmarkToolBars)
+ Q_FOREACH(BookmarkToolBar * bookmarkToolBar, m_bookmarkToolBars)
{
if (bookmarkToolBar)
{
@@ -231,7 +231,7 @@ void BookmarkProvider::fillBookmarkBar(BookmarkToolBar *toolBar)
void BookmarkProvider::slotPanelChanged()
{
- foreach(BookmarksPanel * panel, m_bookmarkPanels)
+ Q_FOREACH(BookmarksPanel * panel, m_bookmarkPanels)
{
if (panel && panel != sender())
panel->loadFoldedState();
@@ -253,7 +253,7 @@ void BookmarkProvider::find(QList<KBookmark> *list, const KBookmark &bookmark, c
{
QStringList words = text.split(' ');
bool matches = true;
- foreach(const QString & word, words)
+ Q_FOREACH(const QString & word, words)
{
if (!bookmark.url().url().contains(word, Qt::CaseInsensitive)
&& !bookmark.fullText().contains(word, Qt::CaseInsensitive))