Skip to content

Commit

Permalink
[auth] Strip translated display name from auth method plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Sep 24, 2015
1 parent 264d2eb commit ee5e120
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 33 deletions.
2 changes: 0 additions & 2 deletions python/core/auth/qgsauthmethod.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 0 additions & 5 deletions src/auth/basic/qgsauthbasicmethod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down
2 changes: 0 additions & 2 deletions src/auth/basic/qgsauthbasicmethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 0 additions & 5 deletions src/auth/identcert/qgsauthidentcertmethod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down
2 changes: 0 additions & 2 deletions src/auth/identcert/qgsauthidentcertmethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 0 additions & 5 deletions src/auth/pkipaths/qgsauthpkipathsmethod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down
2 changes: 0 additions & 2 deletions src/auth/pkipaths/qgsauthpkipathsmethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 0 additions & 5 deletions src/auth/pkipkcs12/qgsauthpkcs12method.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down
2 changes: 0 additions & 2 deletions src/auth/pkipkcs12/qgsauthpkcs12method.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions src/core/auth/qgsauthmethod.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ee5e120

Please sign in to comment.