00001 /*************************************************************************** 00002 pluginmanager-configuration.h - description 00003 ------------------- 00004 begin : Thu Sep 30 2004 00005 copyright : (C) 2004 by Martin Witte 00006 email : witte@kawo1.rwth-aachen.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef KRADIO_PLUGINMANAGER_CONFIGURATION_H 00019 #define KRADIO_PLUGINMANAGER_CONFIGURATION_H 00020 00021 #ifdef HAVE_CONFIG_H 00022 #include <config.h> 00023 #endif 00024 00025 #include <pluginmanager-configuration-ui.h> 00026 00027 class QWidget; 00028 class KRadioApp; 00029 class PluginManager; 00030 00031 class PluginManagerConfiguration : public PluginManagerConfigurationUI 00032 { 00033 Q_OBJECT 00034 public : 00035 PluginManagerConfiguration (QWidget *parent, KRadioApp *app, PluginManager *pm); 00036 ~PluginManagerConfiguration (); 00037 00038 void noticePluginLibrariesChanged(); 00039 void noticePluginsChanged(); 00040 00041 protected slots: 00042 00043 void slotOK(); 00044 void slotCancel(); 00045 00046 void slotAddLibrary(); 00047 void slotRemoveLibrary(); 00048 void slotNewPluginInstance(); 00049 void slotRemovePluginInstance(); 00050 void slotSetDirty(); 00051 00052 protected: 00053 00054 KRadioApp *m_Application; 00055 PluginManager *m_PluginManager; 00056 bool m_dirty; 00057 00058 }; 00059 00060 #endif