modernize: Pass arguments by value and move in constructors
[quassel.git] / src / uisupport / aboutdata.h
index bfbe39c..072bcb7 100644 (file)
@@ -20,6 +20,8 @@
 
 #pragma once
 
+#include "uisupport-export.h"
+
 #include <QList>
 #include <QLocale>
 #include <QString>
@@ -34,7 +36,7 @@
  *
  * This is used to show a list of contributors in the About Quassel dialog.
  */
-class AboutPerson
+class UISUPPORT_EXPORT AboutPerson
 {
 public:
     /**
@@ -46,7 +48,7 @@ public:
      * @param[in] emailAddress The person's email address, if applicable
      * @param[in] translatedLanguage The language the person helped translate (only applicable for translators)
      */
-    AboutPerson(const QString &name, const QString &nick, const QString &task, const QString &emailAddress = QString(), QLocale::Language translatedLanguage = QLocale::C);
+    AboutPerson(QString name, QString nick, QString task, QString emailAddress = QString(), QLocale::Language translatedLanguage = QLocale::C);
 
     /**
      * Gets the person's name.
@@ -106,7 +108,7 @@ private:
  * the About Quassel dialog. Additionally, this class can provide a KAboutData object to be shown
  * if KDE integration is enabled.
  */
-class AboutData : public QObject
+class UISUPPORT_EXPORT AboutData : public QObject
 {
     Q_OBJECT
 public: