QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
qgsauthmethodmetadata.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgsauthmethodmetadata.cpp
3  ---------------------
4  begin : September 1, 2015
5  copyright : (C) 2015 by Boundless Spatial, Inc. USA
6  author : Larry Shaffer
7  email : lshaffer at boundlessgeo dot com
8  ***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 
18 #include "qgsauthmethodmetadata.h"
19 
20 
22  QString const & _description,
23  QString const & _library )
24  : key_( _key )
25  , description_( _description )
26  , library_( _library )
27 {}
28 
30 {
31  return key_;
32 }
33 
35 {
36  return description_;
37 }
38 
40 {
41  return library_;
42 }
43 
QString description() const
This returns descriptive text for the method.
QgsAuthMethodMetadata(const QString &_key, const QString &_description, const QString &_library)
Construct an authentication method metadata container.
QString library() const
This returns the library file name.
QString key() const
This returns the unique key associated with the method.