Mercurial > octave
view libgui/src/release-notes.h @ 31625:b26b768f23a4
eliminate base_qobject argument from release_notes constructor
* release-notes.h, release-notes.cc (release_notes::release_notes):
Eliminate unused base_qobject argument from constructor. Change all uses.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 03 Dec 2022 00:52:02 -0500 |
parents | 04601f6c47f4 |
children | 431f80aba37a |
line wrap: on
line source
//////////////////////////////////////////////////////////////////////// // // Copyright (C) 2011-2022 The Octave Project Developers // // See the file COPYRIGHT.md in the top-level directory of this // distribution or <https://octave.org/copyright/>. // // This file is part of Octave. // // Octave is free software: you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Octave is distributed in the hope that it will be useful, but // WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Octave; see the file COPYING. If not, see // <https://www.gnu.org/licenses/>. // //////////////////////////////////////////////////////////////////////// #if ! defined (octave_release_notes_h) #define octave_release_notes_h 1 #include <QString> #include <QWidget> class QTextBrowser; namespace octave { class release_notes : public QWidget { Q_OBJECT public: release_notes (void); ~release_notes (void) = default; public slots: void display (void); private: QTextBrowser *m_browser; QString m_release_notes_icon; }; } #endif