kasts/src/author.h

35 lines
685 B
C
Raw Normal View History

2020-05-26 16:32:07 +02:00
/**
2020-08-14 20:56:04 +02:00
* SPDX-FileCopyrightText: 2020 Tobias Fella <fella@posteo.de>
2020-05-26 16:32:07 +02:00
*
2020-08-14 20:56:04 +02:00
* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
2020-05-26 16:32:07 +02:00
*/
#ifndef AUTHOR_H
#define AUTHOR_H
#include <QObject>
class Author : public QObject
{
Q_OBJECT
Q_PROPERTY(QString name READ name CONSTANT)
Q_PROPERTY(QString email READ email CONSTANT)
Q_PROPERTY(QString url READ url CONSTANT)
public:
Author(QString name, QString email, QString url, QObject *parent = nullptr);
~Author();
QString name() const;
QString email() const;
QString url() const;
private:
QString m_name;
QString m_email;
QString m_url;
};
#endif // AUTHOR_H