File indexing completed on 2022-09-27 16:24:38

0001 /***************************************************************************
0002  *   Copyright (C) 2009-2011 by Daniel Nicoletti                           *
0003  *   dantti12@gmail.com                                                    *
0004  *   Copyright (C) 2011 Kevin Kofler <kevin.kofler@chello.at>              *
0005  *                                                                         *
0006  *   This program is free software; you can redistribute it and/or modify  *
0007  *   it under the terms of the GNU General Public License as published by  *
0008  *   the Free Software Foundation; either version 2 of the License, or     *
0009  *   (at your option) any later version.                                   *
0010  *                                                                         *
0011  *   This program is distributed in the hope that it will be useful,       *
0012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
0013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
0014  *   GNU General Public License for more details.                          *
0015  *                                                                         *
0016  *   You should have received a copy of the GNU General Public License     *
0017  *   along with this program; see the file COPYING. If not, write to       *
0018  *   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,  *
0019  *   Boston, MA 02110-1301, USA.                                           *
0020  ***************************************************************************/
0021 
0022 #ifndef PK_INSTALL_PLASMA_RESOURCES_H
0023 #define PK_INSTALL_PLASMA_RESOURCES_H
0024 
0025 #include "SessionTask.h"
0026 
0027 class PkInstallPlasmaResources : public SessionTask
0028 {
0029     Q_OBJECT
0030 public:
0031     PkInstallPlasmaResources(uint xid,
0032                              const QStringList &resources,
0033                              const QString &interaction,
0034                              const QDBusMessage &message,
0035                              QWidget *parent = nullptr);
0036     ~PkInstallPlasmaResources() override;
0037 
0038 protected:
0039     void search() override;
0040     void notFound() override;
0041 
0042 private:
0043     QStringList m_resources;
0044 };
0045 
0046 #endif