diff --git a/src/lib/app/autosaver.cpp b/src/lib/app/autosaver.cpp index 7c28ac2e6..24f38e78c 100644 --- a/src/lib/app/autosaver.cpp +++ b/src/lib/app/autosaver.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -34,7 +34,7 @@ void AutoSaver::saveIfNecessary() } } -void AutoSaver::changeOcurred() +void AutoSaver::changeOccurred() { if (!m_timer.isActive()) { m_timer.start(SAVE_DELAY, this); diff --git a/src/lib/app/autosaver.h b/src/lib/app/autosaver.h index c72c6e259..bf9ec32b8 100644 --- a/src/lib/app/autosaver.h +++ b/src/lib/app/autosaver.h @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,7 +35,7 @@ public: public slots: // Tells AutoSaver that change occurred. Signal save() will be emitted after a delay - void changeOcurred(); + void changeOccurred(); signals: void save(); diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp index 80d58a994..0431e5a29 100644 --- a/src/lib/app/mainapplication.cpp +++ b/src/lib/app/mainapplication.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2015 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -626,9 +626,9 @@ void MainApplication::restoreOverrideCursor() QApplication::restoreOverrideCursor(); } -void MainApplication::changeOcurred() +void MainApplication::changeOccurred() { - m_autoSaver->changeOcurred(); + m_autoSaver->changeOccurred(); } void MainApplication::quitApplication() diff --git a/src/lib/app/mainapplication.h b/src/lib/app/mainapplication.h index 52aa44c0f..7393f464c 100644 --- a/src/lib/app/mainapplication.h +++ b/src/lib/app/mainapplication.h @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2015 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -114,7 +114,7 @@ public slots: void reloadUserStyleSheet(); void restoreOverrideCursor(); - void changeOcurred(); + void changeOccurred(); void quitApplication(); signals: diff --git a/src/lib/bookmarks/bookmarks.cpp b/src/lib/bookmarks/bookmarks.cpp index 8ce4841b4..f8a3277f3 100644 --- a/src/lib/bookmarks/bookmarks.cpp +++ b/src/lib/bookmarks/bookmarks.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -148,7 +148,7 @@ void Bookmarks::insertBookmark(BookmarkItem* parent, int row, BookmarkItem* item m_model->addBookmark(parent, row, item); emit bookmarkAdded(item); - m_autoSaver->changeOcurred(); + m_autoSaver->changeOccurred(); } bool Bookmarks::removeBookmark(BookmarkItem* item) @@ -160,7 +160,7 @@ bool Bookmarks::removeBookmark(BookmarkItem* item) m_model->removeBookmark(item); emit bookmarkRemoved(item); - m_autoSaver->changeOcurred(); + m_autoSaver->changeOccurred(); return true; } @@ -169,21 +169,21 @@ void Bookmarks::changeBookmark(BookmarkItem* item) Q_ASSERT(item); emit bookmarkChanged(item); - m_autoSaver->changeOcurred(); + m_autoSaver->changeOccurred(); } void Bookmarks::setShowOnlyIconsInToolbar(bool state) { m_showOnlyIconsInToolbar = state; emit showOnlyIconsInToolbarChanged(state); - m_autoSaver->changeOcurred(); + m_autoSaver->changeOccurred(); } void Bookmarks::setShowOnlyTextInToolbar(bool state) { m_showOnlyTextInToolbar = state; emit showOnlyTextInToolbarChanged(state); - m_autoSaver->changeOcurred(); + m_autoSaver->changeOccurred(); } void Bookmarks::saveSettings() @@ -255,7 +255,7 @@ void Bookmarks::loadBookmarks() loadBookmarksFromMap(data.toMap().value("roots").toMap()); // Don't forget to save the bookmarks - m_autoSaver->changeOcurred(); + m_autoSaver->changeOccurred(); } else { loadBookmarksFromMap(res.toMap().value("roots").toMap()); diff --git a/src/lib/plugins/speeddial.cpp b/src/lib/plugins/speeddial.cpp index d436cc932..93f74fe1b 100644 --- a/src/lib/plugins/speeddial.cpp +++ b/src/lib/plugins/speeddial.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,7 +40,7 @@ SpeedDial::SpeedDial(QObject* parent) { m_autoSaver = new AutoSaver(this); connect(m_autoSaver, SIGNAL(save()), this, SLOT(saveSettings())); - connect(this, SIGNAL(pagesChanged()), m_autoSaver, SLOT(changeOcurred())); + connect(this, SIGNAL(pagesChanged()), m_autoSaver, SLOT(changeOccurred())); } SpeedDial::~SpeedDial() @@ -326,7 +326,7 @@ void SpeedDial::setSdCentered(bool centered) { m_sdcentered = centered; - m_autoSaver->changeOcurred(); + m_autoSaver->changeOccurred(); } void SpeedDial::thumbnailCreated(const QPixmap &pixmap) diff --git a/src/lib/tabwidget/tabwidget.cpp b/src/lib/tabwidget/tabwidget.cpp index b6b3ffcfc..bfdcb8e8a 100644 --- a/src/lib/tabwidget/tabwidget.cpp +++ b/src/lib/tabwidget/tabwidget.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -122,7 +122,7 @@ TabWidget::TabWidget(BrowserWindow* window, QWidget* parent) setTabBar(m_tabBar); connect(this, SIGNAL(currentChanged(int)), m_window, SLOT(refreshHistory())); - connect(this, SIGNAL(changed()), mApp, SLOT(changeOcurred())); + connect(this, SIGNAL(changed()), mApp, SLOT(changeOccurred())); connect(m_tabBar, SIGNAL(tabCloseRequested(int)), this, SLOT(requestCloseTab(int))); connect(m_tabBar, SIGNAL(reloadTab(int)), this, SLOT(reloadTab(int))); diff --git a/src/lib/tools/iconprovider.cpp b/src/lib/tools/iconprovider.cpp index 84d260b64..2bf80e045 100644 --- a/src/lib/tools/iconprovider.cpp +++ b/src/lib/tools/iconprovider.cpp @@ -1,6 +1,6 @@ /* ============================================================ * QupZilla - WebKit based browser -* Copyright (C) 2010-2014 David Rosca +* Copyright (C) 2010-2016 David Rosca * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -59,7 +59,7 @@ void IconProvider::saveIcon(WebView* view) return; } - m_autoSaver->changeOcurred(); + m_autoSaver->changeOccurred(); m_iconBuffer.append(item); }