summaryrefslogtreecommitdiffstats
path: root/examples/activeqt/webbrowser/webaxwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/activeqt/webbrowser/webaxwidget.h')
-rw-r--r--examples/activeqt/webbrowser/webaxwidget.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/examples/activeqt/webbrowser/webaxwidget.h b/examples/activeqt/webbrowser/webaxwidget.h
index acb936e..9a15a72 100644
--- a/examples/activeqt/webbrowser/webaxwidget.h
+++ b/examples/activeqt/webbrowser/webaxwidget.h
@@ -6,7 +6,17 @@
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
-** You may use this file under the terms of the BSD license as follows:
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see https://www.qt.io/terms-conditions. For further
+** information use the contact form at https://www.qt.io/contact-us.
+**
+** BSD License Usage
+** Alternatively, you may use this file under the terms of the BSD license
+** as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
@@ -48,7 +58,7 @@ class WebAxWidget : public QAxWidget
{
public:
- WebAxWidget(QWidget* parent = 0, Qt::WindowFlags f = 0)
+ WebAxWidget(QWidget *parent = nullptr, Qt::WindowFlags f = 0)
: QAxWidget(parent, f)
{
}
@@ -57,8 +67,7 @@ protected:
{
if (message >= WM_KEYFIRST && message <= WM_KEYLAST)
return true;
- else
- return QAxWidget::translateKeyEvent(message, keycode);
+ return QAxWidget::translateKeyEvent(message, keycode);
}
};