mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-30 00:04:11 -04:00
Run clang-tidy modernize-use-override to remove all the redundant virtual keywords from overridden methods, and add some missing overrides. Another benefit is that this has also added the overrides on destructors, which will cause a build failure if a base class is missing a virtual destructor.
70 lines
2.0 KiB
Plaintext
70 lines
2.0 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsbrowsertreeview.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsBrowserTreeView : QTreeView
|
|
{
|
|
%Docstring
|
|
The QgsBrowserTreeView class extends QTreeView with save/restore tree state functionality.
|
|
|
|
.. seealso:: :py:class:`QgsBrowserModel`
|
|
|
|
.. versionadded:: 2.8
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsbrowsertreeview.h"
|
|
%End
|
|
public:
|
|
|
|
QgsBrowserTreeView( QWidget *parent /TransferThis/ = 0 );
|
|
%Docstring
|
|
Constructor for QgsBrowserTreeView
|
|
%End
|
|
|
|
virtual void setModel( QAbstractItemModel *model );
|
|
|
|
void setBrowserModel( QgsBrowserModel *model );
|
|
%Docstring
|
|
Set the browser model
|
|
%End
|
|
QgsBrowserModel *browserModel();
|
|
%Docstring
|
|
Return the browser model
|
|
|
|
:rtype: QgsBrowserModel
|
|
%End
|
|
virtual void showEvent( QShowEvent *e );
|
|
|
|
virtual void hideEvent( QHideEvent *e );
|
|
|
|
|
|
bool hasExpandedDescendant( const QModelIndex &index ) const;
|
|
%Docstring
|
|
|
|
:rtype: bool
|
|
%End
|
|
|
|
void setSettingsSection( const QString §ion );
|
|
|
|
protected slots:
|
|
virtual void rowsInserted( const QModelIndex &parentIndex, int start, int end );
|
|
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsbrowsertreeview.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|