From 6390d8ea58021f67257527cf98af5074656e0838 Mon Sep 17 00:00:00 2001 From: Johannes Troscher Date: Sun, 27 Nov 2011 12:18:33 +0100 Subject: Unifies macro style REVIEW: 103242 REVIEWED-BY: adjam --- src/history/autosaver.h | 4 ++-- src/history/historymanager.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/history') 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 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)) -- cgit v1.2.1