diff options
Diffstat (limited to 'languages/ruby/rubysupport_part.cpp')
-rw-r--r-- | languages/ruby/rubysupport_part.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/ruby/rubysupport_part.cpp b/languages/ruby/rubysupport_part.cpp index cc895770..0cee14b2 100644 --- a/languages/ruby/rubysupport_part.cpp +++ b/languages/ruby/rubysupport_part.cpp @@ -41,8 +41,8 @@ typedef KDevGenericFactory<RubySupportPart> RubySupportFactory; static const KDevPluginInfo data("kdevrubysupport"); K_EXPORT_COMPONENT_FACTORY( libkdevrubysupport, RubySupportFactory( data ) ) -RubySupportPart::RubySupportPart(TQObject *tqparent, const char *name, const TQStringList& ) - : KDevLanguageSupport (&data, tqparent, name ? name : "RubySupportPart" ) +RubySupportPart::RubySupportPart(TQObject *parent, const char *name, const TQStringList& ) + : KDevLanguageSupport (&data, parent, name ? name : "RubySupportPart" ) { setInstance(RubySupportFactory::instance()); setXMLFile("kdevrubysupport.rc"); @@ -261,11 +261,11 @@ void RubySupportPart::parse(const TQString &fileName) m_file->addClass( lastClass ); } - TQString tqparent = classre.cap(5); - if (!tqparent.isEmpty()) + TQString parent = classre.cap(5); + if (!parent.isEmpty()) { - kdDebug() << "Add tqparent " << tqparent << endl; - lastClass->addBaseClass( tqparent ); + kdDebug() << "Add parent " << parent << endl; + lastClass->addBaseClass( parent ); } lastAccess = CodeModelItem::Public; |