summaryrefslogtreecommitdiffstats
path: root/kmid/kmid_part.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmid/kmid_part.h')
-rw-r--r--kmid/kmid_part.h66
1 files changed, 0 insertions, 66 deletions
diff --git a/kmid/kmid_part.h b/kmid/kmid_part.h
deleted file mode 100644
index 7e26ae14..00000000
--- a/kmid/kmid_part.h
+++ /dev/null
@@ -1,66 +0,0 @@
-#ifndef __KMIDPART_H__
-#define __KMIDPART_H__
-
-#include <kparts/browserextension.h>
-#include <kparts/factory.h>
-#include <tdelibs_export.h>
-class TDEAboutData;
-class TDEInstance;
-class KMidBrowserExtension;
-class kmidClient;
-
-class KDE_EXPORT KMidFactory : public KParts::Factory
-{
- Q_OBJECT
-
- public:
- KMidFactory();
- virtual ~KMidFactory();
-
- virtual KParts::Part* createPartObject(TQWidget *parentWidget, const char *widgetName,
- TQObject* parent = 0, const char* name = 0,
- const char* classname = TQOBJECT_OBJECT_NAME_STRING,
- const TQStringList &args = TQStringList());
-
- static TDEInstance *instance();
-
- static TDEAboutData *aboutData();
- private:
- static TDEInstance *s_instance;
-};
-
-class KMidPart: public KParts::ReadOnlyPart
-{
- Q_OBJECT
-
- public:
- KMidPart(TQWidget *parentWidget, const char *widgetName,
- TQObject *parent, const char *name);
- virtual ~KMidPart();
-
-
- virtual bool closeURL();
-
- protected:
- virtual bool openFile();
-
- protected slots:
- void slotPlay();
- void slotStop();
-
- private:
- kmidClient *widget;
- KMidBrowserExtension *m_extension;
-};
-
-class KMidBrowserExtension : public KParts::BrowserExtension
-{
- Q_OBJECT
-
- friend class KMidPart;
- public:
- KMidBrowserExtension(KMidPart *parent);
- virtual ~KMidBrowserExtension();
-};
-
-#endif