diff options
Diffstat (limited to 'examples/activeqt/menus/menus.h')
-rw-r--r-- | examples/activeqt/menus/menus.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/examples/activeqt/menus/menus.h b/examples/activeqt/menus/menus.h index 480a367..efc6cca 100644 --- a/examples/activeqt/menus/menus.h +++ b/examples/activeqt/menus/menus.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 @@ -55,7 +65,7 @@ class QMenus : public QMainWindow Q_CLASSINFO("EventsID", "{13eca64b-ee2a-4f3c-aa04-5d9d975979a7}") public: - QMenus(QWidget *parent = 0); + explicit QMenus(QWidget *parent = nullptr); public slots: void fileOpen(); @@ -72,7 +82,7 @@ public slots: void helpAboutQt(); private: - QTextEdit *editor; + QTextEdit *m_editor; }; #endif // MENUS_H |