File indexing completed on 2024-05-12 17:08:56
0001 /* 0002 SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #include "kpackageinterface.h" 0008 0009 KPackageInterface::KPackageInterface(const KPackage::Package &package) 0010 : m_package(package) 0011 { 0012 Q_ASSERT(m_package.isValid()); 0013 } 0014 0015 QUrl KPackageInterface::fileUrl(const QByteArray &key) const 0016 { 0017 return m_package.fileUrl(key); 0018 }