File indexing completed on 2024-12-22 05:15:48

0001 #pragma once
0002 
0003 /*
0004  * SPDX-FileCopyrightText: 2003-2007 Craig Drummond <craig@kde.org>
0005  * SPDX-License-Identifier: GPL-2.0-or-later
0006  */
0007 
0008 #include <QSet>
0009 #include <QUrl>
0010 
0011 class QWidget;
0012 class QTemporaryDir;
0013 
0014 namespace KFI
0015 {
0016 class CInstaller
0017 {
0018 public:
0019     CInstaller(QWidget *p)
0020         : m_parent(p)
0021         , m_tempDir(nullptr)
0022     {
0023     }
0024     ~CInstaller();
0025 
0026     int install(const QSet<QUrl> &urls);
0027 
0028 private:
0029     QWidget *m_parent;
0030     QTemporaryDir *m_tempDir;
0031 };
0032 
0033 }