Skip to content
Permalink
Browse files

[auth] Strip translated display name from auth method plugins

  • Loading branch information
dakcarto committed Sep 24, 2015
1 parent 264d2eb commit ee5e12062760da1dc73faac1f6bb8813f6096989
@@ -22,8 +22,6 @@ class QgsAuthMethod : QObject

virtual QString description() const = 0;

virtual QString displayName() const = 0;

virtual QString displayDescription() const = 0;

int version() const;
@@ -53,11 +53,6 @@ QString QgsAuthBasicMethod::description() const
return AUTH_METHOD_DESCRIPTION;
}

QString QgsAuthBasicMethod::displayName() const
{
return tr( "Basic" );
}

QString QgsAuthBasicMethod::displayDescription() const
{
return tr( "Basic authentication" );
@@ -36,8 +36,6 @@ class QgsAuthBasicMethod : public QgsAuthMethod

QString description() const override;

QString displayName() const override;

QString displayDescription() const override;

bool updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
@@ -62,11 +62,6 @@ QString QgsAuthIdentCertMethod::description() const
return AUTH_METHOD_DESCRIPTION;
}

QString QgsAuthIdentCertMethod::displayName() const
{
return tr( "Identity-Cert" );
}

QString QgsAuthIdentCertMethod::displayDescription() const
{
return tr( "PKI stored identity certificate" );
@@ -36,8 +36,6 @@ class QgsAuthIdentCertMethod : public QgsAuthMethod

QString description() const override;

QString displayName() const override;

QString displayDescription() const override;

bool updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
@@ -62,11 +62,6 @@ QString QgsAuthPkiPathsMethod::description() const
return AUTH_METHOD_DESCRIPTION;
}

QString QgsAuthPkiPathsMethod::displayName() const
{
return tr( "PKI-Paths" );
}

QString QgsAuthPkiPathsMethod::displayDescription() const
{
return tr( "PKI paths authentication" );
@@ -36,8 +36,6 @@ class QgsAuthPkiPathsMethod : public QgsAuthMethod

QString description() const override;

QString displayName() const override;

QString displayDescription() const override;

bool updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
@@ -62,11 +62,6 @@ QString QgsAuthPkcs12Method::description() const
return AUTH_METHOD_DESCRIPTION;
}

QString QgsAuthPkcs12Method::displayName() const
{
return tr( "PKI-PKCS#12" );
}

QString QgsAuthPkcs12Method::displayDescription() const
{
return tr( "PKI PKCS#12 authentication" );
@@ -36,8 +36,6 @@ class QgsAuthPkcs12Method : public QgsAuthMethod

QString description() const override;

QString displayName() const override;

QString displayDescription() const override;

bool updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
@@ -62,9 +62,6 @@ class CORE_EXPORT QgsAuthMethod : public QObject
/** A non-translated short description representing the auth method for use in debug output and About dialog */
virtual QString description() const = 0;

/** Translatable display version of the 'key()' */
virtual QString displayName() const = 0;

/** Translatable display version of the 'description()' */
virtual QString displayDescription() const = 0;

0 comments on commit ee5e120

Please sign in to comment.
You can’t perform that action at this time.