summaryrefslogtreecommitdiffstats
path: root/example/example_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'example/example_factory.h')
-rw-r--r--example/example_factory.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/example/example_factory.h b/example/example_factory.h
index 6b618216..791f4043 100644
--- a/example/example_factory.h
+++ b/example/example_factory.h
@@ -22,8 +22,8 @@
#include <KoFactory.h>
-class KInstance;
-class KAboutData;
+class TDEInstance;
+class TDEAboutData;
class ExampleFactory : public KoFactory
{
@@ -35,14 +35,14 @@ public:
virtual KParts::Part *createPartObject( TQWidget *parentWidget = 0, const char *widgetName = 0, TQObject *parent = 0, const char *name = 0, const char *classname = "KoDocument", const TQStringList &args = TQStringList() );
- static KInstance* global();
+ static TDEInstance* global();
- // _Creates_ a KAboutData but doesn't keep ownership
- static KAboutData* aboutData();
+ // _Creates_ a TDEAboutData but doesn't keep ownership
+ static TDEAboutData* aboutData();
private:
- static KInstance* s_global;
- static KAboutData* s_aboutData;
+ static TDEInstance* s_global;
+ static TDEAboutData* s_aboutData;
};
#endif