mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -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.
82 lines
2.2 KiB
Plaintext
82 lines
2.2 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/auth/qgsauthmethodedit.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsAuthMethodEdit : QWidget
|
|
{
|
|
%Docstring
|
|
Abstract base class for the edit widget of authentication method plugins
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsauthmethodedit.h"
|
|
%End
|
|
public:
|
|
virtual bool validateConfig() = 0;
|
|
%Docstring
|
|
Validate the configuration of subclasses
|
|
|
|
:rtype: bool
|
|
%End
|
|
|
|
virtual QgsStringMap configMap() const = 0;
|
|
%Docstring
|
|
The configuration key-vale map of subclasses
|
|
|
|
:rtype: QgsStringMap
|
|
%End
|
|
|
|
signals:
|
|
void validityChanged( bool valid );
|
|
%Docstring
|
|
Emitted when the configuration validatity changes
|
|
%End
|
|
|
|
public slots:
|
|
|
|
virtual void loadConfig( const QgsStringMap &configmap ) = 0;
|
|
%Docstring
|
|
Load an existing config map into subclassed widget
|
|
:param configmap:
|
|
%End
|
|
|
|
virtual void resetConfig() = 0;
|
|
%Docstring
|
|
Clear GUI controls in subclassed widget, optionally reloading any previously loaded config map
|
|
%End
|
|
|
|
virtual void clearConfig() = 0;
|
|
%Docstring
|
|
Clear GUI controls in subclassed widget
|
|
%End
|
|
|
|
protected:
|
|
|
|
explicit QgsAuthMethodEdit( QWidget *parent = 0 );
|
|
%Docstring
|
|
Construct widget to edit an authentication method configuration
|
|
|
|
.. note::
|
|
|
|
Non-public since this is an abstract base class
|
|
:param parent: Parent widget
|
|
%End
|
|
|
|
~QgsAuthMethodEdit();
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/auth/qgsauthmethodedit.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|