blob: 70f77c964967ed16b8428ceae76ee02124aaaae7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
#ifndef CONFIGPLUGINSPAGE_H
#define CONFIGPLUGINSPAGE_H
#include <configpagebase.h>
#include <tdeio/jobclasses.h>
class Config;
class KPushButton;
class KListBox;
class TQCheckBox;
/**
* @short The page for configuring the plugins
* @author Daniel Faust <[email protected]>
* @version 0.3
*/
class ConfigPluginsPage : public ConfigPageBase
{
Q_OBJECT
public:
/**
* Default Constructor
*/
ConfigPluginsPage( Config*, TQWidget *parent=0, const char *name=0 );
/**
* Default Destructor
*/
virtual ~ConfigPluginsPage();
private:
KListBox* lPlugins;
KPushButton* pAddPlugin;
TDEIO::FileCopyJob* getPluginJob;
KPushButton* pRemovePlugin;
KPushButton* pAboutPlugin;
KListBox* lOnlinePlugins;
KPushButton* pRefreshOnlinePlugins;
TDEIO::FileCopyJob* refreshOnlinePluginsJob;
KPushButton* pInstallOnlinePlugin;
TDEIO::FileCopyJob* getOnlinePluginJob;
KPushButton* pUpgradeOnlinePlugins;
KPushButton* pAboutOnlinePlugin;
TDEIO::FileCopyJob* aboutOnlinePluginJob;
TQCheckBox* cCheckOnlinePlugins;
TQString getPluginFilePathName;
Config* config;
public slots:
void resetDefaults();
void saveSettings();
// signals:
// void configChanged();
// void recalcEnDecoderPage();
// void reloadEnDecoderPage();
// void rescanForBackends();
private slots:
void pluginsSelectionChanged( int );
void refreshPlugins();
void getPlugin();
void getPluginFinished( TDEIO::Job* );
void removePlugin();
void aboutPlugin();
void onlinePluginsSelectionChanged( int );
void refreshOnlinePlugins();
void refreshOnlinePluginsFinished( TDEIO::Job* );
void getOnlinePlugin();
void getOnlinePluginFinished( TDEIO::Job* );
void aboutOnlinePlugin();
void aboutOnlinePluginFinished( TDEIO::Job* );
};
#endif // CONFIGPLUGINSPAGE_H
|