summaryrefslogtreecommitdiff
path: root/flashplayer_part.h
blob: ca1f010727e666cd5beeb6e3c52d4de4bce062fb (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
#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