File indexing completed on 2024-04-28 05:47:44
0001 /* 0002 SPDX-FileCopyrightText: 2007 Henrique Pinto <henrique.pinto@kdemail.net> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef INTERFACE_H 0007 #define INTERFACE_H 0008 0009 #include <QStringList> 0010 #include <QtPlugin> 0011 0012 namespace Kerfuffle 0013 { 0014 class SettingsPage; 0015 } 0016 0017 class KConfigSkeleton; 0018 0019 class Interface 0020 { 0021 public: 0022 virtual ~Interface() 0023 { 0024 } 0025 0026 virtual bool isBusy() const = 0; 0027 virtual KConfigSkeleton *config() const = 0; 0028 virtual QList<Kerfuffle::SettingsPage *> settingsPages(QWidget *parent) const = 0; 0029 virtual QWidget *infoPanel() const = 0; 0030 }; 0031 0032 Q_DECLARE_INTERFACE(Interface, "org.kde.kerfuffle.partinterface/0.43") 0033 0034 #endif // INTERFACE_H