X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fuisupport%2Faboutdata.h;h=ea5e88f521a4bdd6f462dcb3ff0eb7193007b93a;hb=a95ad2de573027f9bee36db972bcae4195168d0c;hp=072bcb7d86df79955def1fe85a9d40923957457c;hpb=3a3e844f9fcfd12235a0086af75ecd503b621ef4;p=quassel.git diff --git a/src/uisupport/aboutdata.h b/src/uisupport/aboutdata.h index 072bcb7d..ea5e88f5 100644 --- a/src/uisupport/aboutdata.h +++ b/src/uisupport/aboutdata.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -27,10 +27,9 @@ #include #ifdef HAVE_KF5 -# include +# include #endif - /** * Represents a contributor or author for Quassel. * @@ -93,14 +92,13 @@ public: QString prettyName() const; private: - QString _name; ///< The person's name - QString _nick; ///< The person's nick - QString _task; ///< The person's task - QString _emailAddress; ///< The person's email address - QLocale::Language _language; ///< The language the person helps translate + QString _name; ///< The person's name + QString _nick; ///< The person's nick + QString _task; ///< The person's task + QString _emailAddress; ///< The person's email address + QLocale::Language _language; ///< The language the person helps translate }; - /** * Holds a list of authors, contributors and translators. * @@ -117,7 +115,7 @@ public: * * @param[in] parent The parent object, if applicable */ - AboutData(QObject *parent = nullptr); + AboutData(QObject* parent = nullptr); /** * Adds an author to the list of contributors. @@ -127,7 +125,7 @@ public: * @param[in] author The author to add * @returns A reference to this AboutData instance */ - AboutData &addAuthor(const AboutPerson &author); + AboutData& addAuthor(const AboutPerson& author); /** * Adds a list of authors to the list of contributors. @@ -138,7 +136,7 @@ public: * @param[in] authors A list of authors to add * @returns A reference to this AboutData instance */ - AboutData &addAuthors(std::initializer_list authors); + AboutData& addAuthors(std::initializer_list authors); /** * Adds a contributor. @@ -146,7 +144,7 @@ public: * @param[in] author The contributor to add * @returns A reference to this AboutData instance */ - AboutData &addCredit(const AboutPerson &credit); + AboutData& addCredit(const AboutPerson& credit); /** * Adds a list of contributors. @@ -157,7 +155,7 @@ public: * @param[in] authors A list of contributors to add * @returns A reference to this AboutData instance */ - AboutData &addCredits(std::initializer_list credits); + AboutData& addCredits(std::initializer_list credits); /** * Gets the list of authors stored in this AboutData instance. @@ -190,7 +188,7 @@ public: * * @param[in,out] aboutData An existing AboutData instance to add Quassel's contributors to */ - static void setQuasselPersons(AboutData *aboutData); + static void setQuasselPersons(AboutData* aboutData); private: QList _authors; ///< The list of authors