mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-03 00:14:12 -05:00
65 lines
2.2 KiB
Plaintext
65 lines
2.2 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/auth/qgsauthcerttrustpolicycombobox.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsAuthCertTrustPolicyComboBox : QComboBox
|
|
{
|
|
%Docstring(signature="appended")
|
|
Widget for editing the trust policy associated with a Certificate
|
|
(Intermediate) Authority.
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsauthcerttrustpolicycombobox.h"
|
|
%End
|
|
public:
|
|
explicit QgsAuthCertTrustPolicyComboBox(
|
|
QWidget *parent /TransferThis/ = 0,
|
|
QgsAuthCertUtils::CertTrustPolicy policy = QgsAuthCertUtils::DefaultTrust,
|
|
QgsAuthCertUtils::CertTrustPolicy defaultpolicy = QgsAuthCertUtils::DefaultTrust
|
|
);
|
|
%Docstring
|
|
Construct a combo box for defining certificate trust policy
|
|
|
|
:param parent: Parent widget
|
|
:param policy: Defined trust policy
|
|
:param defaultpolicy: Default trust policy
|
|
%End
|
|
|
|
QgsAuthCertUtils::CertTrustPolicy trustPolicy();
|
|
%Docstring
|
|
Gets currently set trust policy
|
|
%End
|
|
|
|
QgsAuthCertUtils::CertTrustPolicy trustPolicyForIndex( int indx );
|
|
%Docstring
|
|
Gets trust policy for a given index of combobox
|
|
%End
|
|
|
|
public slots:
|
|
void setTrustPolicy( QgsAuthCertUtils::CertTrustPolicy policy );
|
|
%Docstring
|
|
Sets current trust policy
|
|
%End
|
|
|
|
void setDefaultTrustPolicy( QgsAuthCertUtils::CertTrustPolicy defaultpolicy );
|
|
%Docstring
|
|
Sets default trust policy
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/auth/qgsauthcerttrustpolicycombobox.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|