kradio4
r778
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
src
pluginmanager-configuration.h
Go to the documentation of this file.
1
/***************************************************************************
2
pluginmanager-configuration.h - description
3
-------------------
4
begin : Thu Sep 30 2004
5
copyright : (C) 2004 by Martin Witte
6
email : emw-kradio@nocabal.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef KRADIO_PLUGINMANAGER_CONFIGURATION_H
19
#define KRADIO_PLUGINMANAGER_CONFIGURATION_H
20
21
#ifdef HAVE_CONFIG_H
22
#include <config.h>
23
#endif
24
25
#include "ui_pluginmanager-configuration-ui.h"
26
27
QT_BEGIN_NAMESPACE
28
29
class
QWidget;
30
class
KRadioApp
;
31
class
PluginManager
;
32
class
PluginBase
;
33
34
class
PluginManagerConfiguration
:
public
QWidget,
35
public
Ui_PluginManagerConfigurationUI
36
{
37
Q_OBJECT
38
public
:
39
PluginManagerConfiguration
(QWidget *parent,
KRadioApp
*app,
PluginManager
*pm);
40
~PluginManagerConfiguration
();
41
42
void
noticePluginLibrariesChanged
();
43
void
noticePluginsChanged
();
44
void
noticePluginRenamed
(
PluginBase
*p,
const
QString &name);
45
46
public
slots:
47
48
void
slotOK
();
49
void
slotCancel
();
50
void
slotSetDirty
();
51
52
protected
slots:
53
54
void
slotAddLibrary
();
55
void
slotRemoveLibrary
();
56
void
slotNewPluginInstance
();
57
void
slotRemovePluginInstance
();
58
void
slotPluginRenamed
(Q3ListViewItem *item,
int
col,
const
QString &name);
59
60
protected
:
61
62
KRadioApp
*
m_Application
;
63
PluginManager
*
m_PluginManager
;
64
bool
m_dirty
;
65
66
QMap<Q3ListViewItem*, PluginBase*>
m_pluginItems
;
// listviewitem => instanceID
67
};
68
69
#endif
Generated by
1.8.4