digiKam
dpluginauthor.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2018-07-30
7  * Description : author data container for external plugin
8  *
9  * Copyright (C) 2018-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_DPLUGIN_AUTHOR_H
25 #define DIGIKAM_DPLUGIN_AUTHOR_H
26 
27 // Qt includes
28 
29 #include <QString>
30 
31 // Local includes
32 
33 #include "digikam_export.h"
34 
35 namespace Digikam
36 {
37 
38 class DIGIKAM_EXPORT DPluginAuthor
39 {
40 public:
41 
42  DPluginAuthor(const QString& _nane,
43  const QString& _email,
44  const QString& _year);
45 
46  DPluginAuthor(const QString& _name,
47  const QString& _email,
48  const QString& _year,
49  const QString& _role);
50 
51  ~DPluginAuthor();
52 
57  QString toString() const;
58 
59 public:
60 
61  QString name;
62  QString email;
63  QString years;
64  QString roles;
65 };
66 
67 } // namespace Digikam
68 
69 #endif // DIGIKAM_DPLUGIN_AUTHOR_H
Definition: dpluginauthor.h:39
QString years
Copyrights years.
Definition: dpluginauthor.h:63
QString name
Author name and surname.
Definition: dpluginauthor.h:61
QString roles
Author roles, as "Developer", "Designer", "Translator", etc.
Definition: dpluginauthor.h:64
QString email
Email anti-spammed.
Definition: dpluginauthor.h:62
Definition: datefolderview.cpp:43