summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
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))