summaryrefslogtreecommitdiffstats
path: root/tdecore/kgenericfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/kgenericfactory.h')
-rw-r--r--tdecore/kgenericfactory.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/tdecore/kgenericfactory.h b/tdecore/kgenericfactory.h
index 7f2b7b453..1ed1b41ee 100644
--- a/tdecore/kgenericfactory.h
+++ b/tdecore/kgenericfactory.h
@@ -21,7 +21,7 @@
#include <klibloader.h>
#include <ktypelist.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <kgenericfactory.tcc>
#include <tdeglobal.h>
#include <tdelocale.h>
@@ -190,8 +190,8 @@ protected:
const char *className, const TQStringList &args )
{
KGenericFactoryBase<Product>::initializeMessageCatalogue();
- return TQT_TQOBJECT((KDEPrivate::ConcreteFactory<Product, ParentType>
- ::create( 0, 0, parent, name, className, args )));
+ return (KDEPrivate::ConcreteFactory<Product, ParentType>
+ ::create( 0, 0, parent, name, className, args ));
}
};
@@ -388,10 +388,4 @@ protected:
}
};
-
-/*
- * vim: et sw=4
- */
-
#endif
-