summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/kdevgenericfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/kdevgenericfactory.h')
-rw-r--r--lib/interfaces/kdevgenericfactory.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/interfaces/kdevgenericfactory.h b/lib/interfaces/kdevgenericfactory.h
index c705e9cd..24e3204a 100644
--- a/lib/interfaces/kdevgenericfactory.h
+++ b/lib/interfaces/kdevgenericfactory.h
@@ -39,7 +39,7 @@ Data should be a const static object. This way it complies with the requirements
for data objecs of KDevGenericFactory constructor.
<b>Important:</b><br>
-There is no need to create @ref KAboutData objects. It is more useful to create
+There is no need to create @ref TDEAboutData objects. It is more useful to create
a static const @ref KDevPluginInfo object which can be used also in the constructor
of a plugin.
@@ -59,33 +59,33 @@ DummyPlugin::DummyPlugin(TQObject *parent, const char *name, const TQStringList
In the example above the duplication of information is avoided as same @ref KDevPluginInfo
objects are used for plugin and for plugin factory. This is possible because @ref KDevPluginInfo
-class has an operator to cast @ref KDevPluginInfo to @ref KAboutData.
+class has an operator to cast @ref KDevPluginInfo to @ref TDEAboutData.
*/
template <class T, class ParentType = TQObject>
class KDevGenericFactory: public KGenericFactory<T, ParentType>
{
public:
/**Constructor.
- @param data A reference to KAboutData with an information about the plugin.
+ @param data A reference to TDEAboutData with an information about the plugin.
Data should have:
- plugin name as an application name;
- untranslated plugin generic name as a product name;
- license type number.
.
data object should live as long as factory lives.*/
- KDevGenericFactory(KAboutData *data)
+ KDevGenericFactory(TDEAboutData *data)
:KGenericFactory<T, ParentType>(data->appName()), aboutData(data)
{
}
/**Creates an instance.*/
- KInstance *createInstance()
+ TDEInstance *createInstance()
{
- return new KInstance(aboutData);
+ return new TDEInstance(aboutData);
}
private:
- KAboutData *aboutData;
+ TDEAboutData *aboutData;
};