|
|
|
@ -62,17 +62,17 @@ public:
|
|
|
|
|
virtual KParts::Part *createPartObject
|
|
|
|
|
(TQWidget *wparent, const char *wname, TQObject *parent, const char *name,
|
|
|
|
|
const char *className, const TQStringList &args);
|
|
|
|
|
static KInstance * instance () { return s_instance; }
|
|
|
|
|
static TDEInstance * instance () { return s_instance; }
|
|
|
|
|
private:
|
|
|
|
|
static KInstance * s_instance;
|
|
|
|
|
static TDEInstance * s_instance;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
K_EXPORT_COMPONENT_FACTORY (libkmplayerkofficepart, KMPlayerFactory)
|
|
|
|
|
|
|
|
|
|
KInstance *KMPlayerFactory::s_instance = 0;
|
|
|
|
|
TDEInstance *KMPlayerFactory::s_instance = 0;
|
|
|
|
|
|
|
|
|
|
KMPlayerFactory::KMPlayerFactory () {
|
|
|
|
|
s_instance = new KInstance ("KMPlayerKofficePart");
|
|
|
|
|
s_instance = new TDEInstance ("KMPlayerKofficePart");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KMPlayerFactory::~KMPlayerFactory () {
|
|
|
|
|