/* This file is part of the KDE libraries SPDX-FileCopyrightText: 2019 Friedrich W. H. Kossebau SPDX-License-Identifier: LGPL-2.0-only */ #ifndef KABSTRACTABOUTDIALOG_P_H #define KABSTRACTABOUTDIALOG_P_H #include class QDialog; class QWidget; class QIcon; /** * @internal * * Private base class implementing util methods for assembling an About dialog. */ class KAbstractAboutDialogPrivate { public: KAbstractAboutDialogPrivate() = default; ~KAbstractAboutDialogPrivate() = default; public: QWidget *createTitleWidget(const QIcon &icon, const QString &displayName, const QString &version, QWidget *parent); QWidget *createAboutWidget(const QString &shortDescription, const QString &otherText, const QString ©rightStatement, const QString &homepage, const QList &licenses, QWidget *parent); QWidget *createComponentWidget(const QList &components, QWidget *parent); QWidget *createAuthorsWidget(const QList &authors, bool customAuthorTextEnabled, const QString &customAuthorRichText, const QString &bugAddress, QWidget *parent); QWidget *createCreditWidget(const QList &credits, QWidget *parent); QWidget *createTranslatorsWidget(const QList &translators, QWidget *parent); void createForm(QWidget *titleWidget, QWidget *tabWidget, QDialog *dialog); }; #endif