diff options
author | Benjamin Otte <otte@gnome.org> | 2007-07-21 13:46:02 +0100 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2007-07-21 13:46:02 +0100 |
commit | 928c322a8a92100c147d4c68712e0ad2e0f50aa8 (patch) | |
tree | d162d4c79e77f1526c9373b18690f1982485cc39 /flashplayer_part.h |
Diffstat (limited to 'flashplayer_part.h')
-rw-r--r-- | flashplayer_part.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/flashplayer_part.h b/flashplayer_part.h new file mode 100644 index 0000000..ca1f010 --- /dev/null +++ b/flashplayer_part.h @@ -0,0 +1,44 @@ +#ifndef FLASHPLAYER_PART_H +#define FLASHPLAYER_PART_H + +// KDE +#include <kparts/factory.h> +#include <kparts/part.h> + + +class QStringList; + +namespace FlashPlayer +{ + +class PartFactory : public KParts::Factory +{ +protected: + /** Reimplemented to create Konsole parts. */ + virtual KParts::Part* createPartObject(QWidget* parentWidget = 0, + const char* something = 0, + QObject* parent = 0, + const char* classname = "KParts::Part", + const char* something_2 = 0, + const QStringList& args = QStringList()); +}; + +class Part : public KParts::ReadOnlyPart +{ +Q_OBJECT + +public: + Part(QWidget* parentWidget , QObject* parent = 0); + +protected: + /** Reimplemented from KParts::PartBase. */ + virtual bool openFile(); + +private: + class Private; + Private* d; +}; + +} + +#endif // FLASHPLAYER_PART_H |