Warning, file /network/alligator/src/author.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /** 0002 * SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 class Author : public QObject 0012 { 0013 Q_OBJECT 0014 0015 Q_PROPERTY(QString name READ name CONSTANT) 0016 Q_PROPERTY(QString email READ email CONSTANT) 0017 Q_PROPERTY(QString url READ url CONSTANT) 0018 0019 public: 0020 Author(const QString &name, const QString &email, const QString &url, QObject *parent = nullptr); 0021 ~Author(); 0022 0023 QString name() const; 0024 QString email() const; 0025 QString url() const; 0026 0027 private: 0028 QString m_name; 0029 QString m_email; 0030 QString m_url; 0031 };