summaryrefslogtreecommitdiffstats
path: root/src/configpluginspage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 19:09:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 19:09:31 +0000
commitf2cfda2a54780868dfe0af7bd652fcd4906547da (patch)
treec6ac23545528f5701818424f2af5f79ce3665e6c /src/configpluginspage.h
downloadsoundkonverter-f2cfda2a54780868dfe0af7bd652fcd4906547da.tar.gz
soundkonverter-f2cfda2a54780868dfe0af7bd652fcd4906547da.zip
Added KDE3 version of SoundKonverter
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1097614 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/configpluginspage.h')
-rwxr-xr-xsrc/configpluginspage.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/src/configpluginspage.h b/src/configpluginspage.h
new file mode 100755
index 0000000..2cca5ed
--- /dev/null
+++ b/src/configpluginspage.h
@@ -0,0 +1,82 @@
+
+#ifndef CONFIGPLUGINSPAGE_H
+#define CONFIGPLUGINSPAGE_H
+
+#include <configpagebase.h>
+
+#include <kio/jobclasses.h>
+
+class Config;
+class KPushButton;
+class KListBox;
+class QCheckBox;
+
+/**
+ * @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*, QWidget *parent=0, const char *name=0 );
+
+ /**
+ * Default Destructor
+ */
+ virtual ~ConfigPluginsPage();
+
+private:
+ KListBox* lPlugins;
+ KPushButton* pAddPlugin;
+ KIO::FileCopyJob* getPluginJob;
+ KPushButton* pRemovePlugin;
+ KPushButton* pAboutPlugin;
+ KListBox* lOnlinePlugins;
+ KPushButton* pRefreshOnlinePlugins;
+ KIO::FileCopyJob* refreshOnlinePluginsJob;
+ KPushButton* pInstallOnlinePlugin;
+ KIO::FileCopyJob* getOnlinePluginJob;
+ KPushButton* pUpgradeOnlinePlugins;
+ KPushButton* pAboutOnlinePlugin;
+ KIO::FileCopyJob* aboutOnlinePluginJob;
+ QCheckBox* cCheckOnlinePlugins;
+
+ QString 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( KIO::Job* );
+ void removePlugin();
+ void aboutPlugin();
+
+ void onlinePluginsSelectionChanged( int );
+ void refreshOnlinePlugins();
+ void refreshOnlinePluginsFinished( KIO::Job* );
+ void getOnlinePlugin();
+ void getOnlinePluginFinished( KIO::Job* );
+ void aboutOnlinePlugin();
+ void aboutOnlinePluginFinished( KIO::Job* );
+
+};
+
+#endif // CONFIGPLUGINSPAGE_H
+