summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kdevlang/kdevlang_part.cpp')
-rw-r--r--languages/cpp/app_templates/kdevlang/kdevlang_part.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp b/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp
index 364ec0d7..e6b82e21 100644
--- a/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp
+++ b/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp
@@ -21,8 +21,8 @@ typedef KGenericFactory<%{APPNAME}Part> %{APPNAME}Factory;
K_EXPORT_COMPONENT_FACTORY( libkdev%{APPNAMELC}, %{APPNAME}Factory( "kdev%{APPNAMELC}" ) );
static const KDevPluginInfo data("kdev%{APPNAMELC}");
-%{APPNAME}Part::%{APPNAME}Part(TQObject *parent, const char *name, const TQStringList& )
-: KDevLanguageSupport(&data, parent, name ? name : "%{APPNAME}Part" )
+%{APPNAME}Part::%{APPNAME}Part(TQObject *tqparent, const char *name, const TQStringList& )
+: KDevLanguageSupport(&data, tqparent, name ? name : "%{APPNAME}Part" )
{
setInstance(%{APPNAME}Factory::instance());
setXMLFile("kdevlang_%{APPNAMELC}.rc");
@@ -91,7 +91,7 @@ void %{APPNAME}Part::savedFile(const KURL &fileName)
{
- if (project()->allFiles().contains(fileName.path().mid ( project()->projectDirectory().length() + 1 )))
+ if (project()->allFiles().tqcontains(fileName.path().mid ( project()->projectDirectory().length() + 1 )))
{
kdDebug(9014) << "parse file " << fileName.path() << endl;
emit addedSourceInfo( fileName.path() );