summaryrefslogtreecommitdiff
path: root/src/history
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/history
parentMerge branch 'bkGroupMidClick' (diff)
downloadrekonq-6390d8ea58021f67257527cf98af5074656e0838.tar.xz
Unifies macro style
REVIEW: 103242 REVIEWED-BY: adjam
Diffstat (limited to 'src/history')
-rw-r--r--src/history/autosaver.h4
-rw-r--r--src/history/historymanager.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/history/autosaver.h b/src/history/autosaver.h
index 70511d36..f165377c 100644
--- a/src/history/autosaver.h
+++ b/src/history/autosaver.h
@@ -56,10 +56,10 @@ public:
*/
void saveIfNeccessary();
-signals:
+Q_SIGNALS:
void saveNeeded();
-public slots:
+public Q_SLOTS:
void changeOccurred();
protected:
diff --git a/src/history/historymanager.cpp b/src/history/historymanager.cpp
index a5cd29e3..d9d6a93b 100644
--- a/src/history/historymanager.cpp
+++ b/src/history/historymanager.cpp
@@ -255,7 +255,7 @@ QList<HistoryItem> HistoryManager::find(const QString &text)
QStringList words = text.split(' ');
bool matches = true;
- foreach(const QString & word, words)
+ Q_FOREACH(const QString & word, words)
{
if (!url.contains(word, Qt::CaseInsensitive)
&& !item.title.contains(word, Qt::CaseInsensitive))