File indexing completed on 2024-11-17 05:01:16
0001 /* 0002 SPDX-FileCopyrightText: 2022 Thiago Sueto <herzenschein@gmail.com> 0003 SPDX-FileCopyrightText: 2022 Méven Car <meven@kde.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #include "componentchooserpdfviewer.h" 0009 0010 ComponentChooserPdfViewer::ComponentChooserPdfViewer(QObject *parent) 0011 : ComponentChooser(parent, QStringLiteral("application/pdf"), QString(), QStringLiteral("okularApplication_pdf.desktop"), i18n("Select default PDF viewer")) 0012 { 0013 } 0014 0015 static const QStringList pdfMimetypes{"application/pdf"}; 0016 0017 QStringList ComponentChooserPdfViewer::mimeTypes() const 0018 { 0019 return pdfMimetypes; 0020 }