#include <paboutdata.h>
Public Types | |
| typedef std::pair< std::string, std::string > | author_t |
| Type used to store authors name & email address. | |
| typedef std::pair< std::string, std::string > | credit_t |
| Type used to store name & email address for credits. | |
| enum | license_t { GPL, LGPL, QPL, Custom } |
| Distribution license type. More... | |
Public Member Functions | |
| AboutData (const std::string &appName, const std::string &appDesc, const std::string &version, const std::string ©right, license_t lic) | |
| Construct about data. | |
| ~AboutData () | |
| const std::string & | name () const |
| Returns the application name. | |
| const std::string & | description () const |
| Returns the applications short description. | |
| const std::string & | version () const |
| Returns the application version. | |
| const std::string & | copyright () const |
| Returns the application copyright. | |
| license_t | license () const |
| Returns the distribution license. | |
| void | addAuthor (const std::string &name, const std::string &email) |
| Add an author to the list of authors. | |
| const std::list< author_t > & | authors () const |
| Returns the list of authors. | |
| void | addCredit (const std::string &name, const std::string &email) |
| Add a credit to the list of authors. | |
| const std::list< credit_t > & | credits () const |
| Returns the list of credits. | |
This class is used to store data about the application itself.
Definition at line 40 of file paboutdata.h.
|
|
Type used to store authors name & email address.
Definition at line 52 of file paboutdata.h. |
|
|
Type used to store name & email address for credits.
Definition at line 55 of file paboutdata.h. |
|
|
Distribution license type.
Definition at line 44 of file paboutdata.h. |
|
||||||||||||||||||||||||
|
Construct about data. Constructs the about data object with the given values.
|
|
|
|
|
||||||||||||
|
Add an author to the list of authors.
|
|
||||||||||||
|
Add a credit to the list of authors.
|
|
|
Returns the list of authors.
Definition at line 94 of file paboutdata.h. |
|
|
Returns the application copyright.
Definition at line 83 of file paboutdata.h. |
|
|
Returns the list of credits.
Definition at line 101 of file paboutdata.h. |
|
|
Returns the applications short description.
Definition at line 75 of file paboutdata.h. |
|
|
Returns the distribution license.
Definition at line 87 of file paboutdata.h. |
|
|
Returns the application name.
Definition at line 71 of file paboutdata.h. |
|
|
Returns the application version.
Definition at line 79 of file paboutdata.h. |
1.3.3