1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

[Code] Little cleanups after rename QupZilla -> BrowserWindow

This commit is contained in:
nowrep 2014-02-26 19:55:49 +01:00
parent 84ef3e9fda
commit 3650aac9ff
3 changed files with 6 additions and 6 deletions

View File

@ -1881,7 +1881,7 @@ void BrowserWindow::resizeEvent(QResizeEvent* event)
void BrowserWindow::keyPressEvent(QKeyEvent* event) void BrowserWindow::keyPressEvent(QKeyEvent* event)
{ {
if (mApp->plugins()->processKeyPress(Qz::ON_QupZilla, this, event)) { if (mApp->plugins()->processKeyPress(Qz::ON_BrowserWindow, this, event)) {
return; return;
} }
@ -2061,7 +2061,7 @@ void BrowserWindow::keyPressEvent(QKeyEvent* event)
void BrowserWindow::keyReleaseEvent(QKeyEvent* event) void BrowserWindow::keyReleaseEvent(QKeyEvent* event)
{ {
if (mApp->plugins()->processKeyRelease(Qz::ON_QupZilla, this, event)) { if (mApp->plugins()->processKeyRelease(Qz::ON_BrowserWindow, this, event)) {
return; return;
} }

View File

@ -90,7 +90,7 @@ enum CommandLineAction {
enum ObjectName { enum ObjectName {
ON_WebView, ON_WebView,
ON_TabBar, ON_TabBar,
ON_QupZilla ON_BrowserWindow
}; };
enum NewTabPositionFlag { enum NewTabPositionFlag {

View File

@ -15,8 +15,8 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* ============================================================ */ * ============================================================ */
#ifndef AUTOFILLMODEL_H #ifndef AUTOFILL_H
#define AUTOFILLMODEL_H #define AUTOFILL_H
#include <QObject> #include <QObject>
@ -72,4 +72,4 @@ private:
}; };
#endif // AUTOFILLMODEL_H #endif // AUTOFILL_H