mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Fix typo changeOcurred -> changeOccurred
This commit is contained in:
parent
447ea76321
commit
f46364bc55
|
@ -1,6 +1,6 @@
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* 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
|
* 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
|
* 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()) {
|
if (!m_timer.isActive()) {
|
||||||
m_timer.start(SAVE_DELAY, this);
|
m_timer.start(SAVE_DELAY, this);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -35,7 +35,7 @@ public:
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
// Tells AutoSaver that change occurred. Signal save() will be emitted after a delay
|
// Tells AutoSaver that change occurred. Signal save() will be emitted after a delay
|
||||||
void changeOcurred();
|
void changeOccurred();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void save();
|
void save();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -626,9 +626,9 @@ void MainApplication::restoreOverrideCursor()
|
||||||
QApplication::restoreOverrideCursor();
|
QApplication::restoreOverrideCursor();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainApplication::changeOcurred()
|
void MainApplication::changeOccurred()
|
||||||
{
|
{
|
||||||
m_autoSaver->changeOcurred();
|
m_autoSaver->changeOccurred();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainApplication::quitApplication()
|
void MainApplication::quitApplication()
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -114,7 +114,7 @@ public slots:
|
||||||
void reloadUserStyleSheet();
|
void reloadUserStyleSheet();
|
||||||
void restoreOverrideCursor();
|
void restoreOverrideCursor();
|
||||||
|
|
||||||
void changeOcurred();
|
void changeOccurred();
|
||||||
void quitApplication();
|
void quitApplication();
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* 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
|
* 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
|
* 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);
|
m_model->addBookmark(parent, row, item);
|
||||||
emit bookmarkAdded(item);
|
emit bookmarkAdded(item);
|
||||||
|
|
||||||
m_autoSaver->changeOcurred();
|
m_autoSaver->changeOccurred();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Bookmarks::removeBookmark(BookmarkItem* item)
|
bool Bookmarks::removeBookmark(BookmarkItem* item)
|
||||||
|
@ -160,7 +160,7 @@ bool Bookmarks::removeBookmark(BookmarkItem* item)
|
||||||
m_model->removeBookmark(item);
|
m_model->removeBookmark(item);
|
||||||
emit bookmarkRemoved(item);
|
emit bookmarkRemoved(item);
|
||||||
|
|
||||||
m_autoSaver->changeOcurred();
|
m_autoSaver->changeOccurred();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,21 +169,21 @@ void Bookmarks::changeBookmark(BookmarkItem* item)
|
||||||
Q_ASSERT(item);
|
Q_ASSERT(item);
|
||||||
emit bookmarkChanged(item);
|
emit bookmarkChanged(item);
|
||||||
|
|
||||||
m_autoSaver->changeOcurred();
|
m_autoSaver->changeOccurred();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Bookmarks::setShowOnlyIconsInToolbar(bool state)
|
void Bookmarks::setShowOnlyIconsInToolbar(bool state)
|
||||||
{
|
{
|
||||||
m_showOnlyIconsInToolbar = state;
|
m_showOnlyIconsInToolbar = state;
|
||||||
emit showOnlyIconsInToolbarChanged(state);
|
emit showOnlyIconsInToolbarChanged(state);
|
||||||
m_autoSaver->changeOcurred();
|
m_autoSaver->changeOccurred();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Bookmarks::setShowOnlyTextInToolbar(bool state)
|
void Bookmarks::setShowOnlyTextInToolbar(bool state)
|
||||||
{
|
{
|
||||||
m_showOnlyTextInToolbar = state;
|
m_showOnlyTextInToolbar = state;
|
||||||
emit showOnlyTextInToolbarChanged(state);
|
emit showOnlyTextInToolbarChanged(state);
|
||||||
m_autoSaver->changeOcurred();
|
m_autoSaver->changeOccurred();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Bookmarks::saveSettings()
|
void Bookmarks::saveSettings()
|
||||||
|
@ -255,7 +255,7 @@ void Bookmarks::loadBookmarks()
|
||||||
loadBookmarksFromMap(data.toMap().value("roots").toMap());
|
loadBookmarksFromMap(data.toMap().value("roots").toMap());
|
||||||
|
|
||||||
// Don't forget to save the bookmarks
|
// Don't forget to save the bookmarks
|
||||||
m_autoSaver->changeOcurred();
|
m_autoSaver->changeOccurred();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
loadBookmarksFromMap(res.toMap().value("roots").toMap());
|
loadBookmarksFromMap(res.toMap().value("roots").toMap());
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* 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
|
* 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
|
* 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);
|
m_autoSaver = new AutoSaver(this);
|
||||||
connect(m_autoSaver, SIGNAL(save()), this, SLOT(saveSettings()));
|
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()
|
SpeedDial::~SpeedDial()
|
||||||
|
@ -326,7 +326,7 @@ void SpeedDial::setSdCentered(bool centered)
|
||||||
{
|
{
|
||||||
m_sdcentered = centered;
|
m_sdcentered = centered;
|
||||||
|
|
||||||
m_autoSaver->changeOcurred();
|
m_autoSaver->changeOccurred();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SpeedDial::thumbnailCreated(const QPixmap &pixmap)
|
void SpeedDial::thumbnailCreated(const QPixmap &pixmap)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* 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
|
* 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
|
* 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);
|
setTabBar(m_tabBar);
|
||||||
|
|
||||||
connect(this, SIGNAL(currentChanged(int)), m_window, SLOT(refreshHistory()));
|
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(tabCloseRequested(int)), this, SLOT(requestCloseTab(int)));
|
||||||
connect(m_tabBar, SIGNAL(reloadTab(int)), this, SLOT(reloadTab(int)));
|
connect(m_tabBar, SIGNAL(reloadTab(int)), this, SLOT(reloadTab(int)));
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
* QupZilla - WebKit based browser
|
* 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
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -59,7 +59,7 @@ void IconProvider::saveIcon(WebView* view)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_autoSaver->changeOcurred();
|
m_autoSaver->changeOccurred();
|
||||||
m_iconBuffer.append(item);
|
m_iconBuffer.append(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user