mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fix typo changeOcurred -> changeOccurred
This commit is contained in:
parent
447ea76321
commit
f46364bc55
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* 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);
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* 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();
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2015 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* 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()
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2015 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* 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:
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* 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());
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* 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)
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* 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)));
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2016 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* 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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user