From 32b67ac0690de411b26b1d5e715b188c27442248 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/cppsupportpart.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'languages/cpp/cppsupportpart.cpp') diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp index 204195aa..9cae9c77 100644 --- a/languages/cpp/cppsupportpart.cpp +++ b/languages/cpp/cppsupportpart.cpp @@ -191,8 +191,8 @@ public: }; -CppSupportPart::CppSupportPart( TQObject *tqparent, const char *name, const TQStringList &args ) -: KDevLanguageSupport( CppSupportFactory::info(), tqparent, name ? name : "KDevCppSupport" ), m_backgroundParser(0), +CppSupportPart::CppSupportPart( TQObject *parent, const char *name, const TQStringList &args ) +: KDevLanguageSupport( CppSupportFactory::info(), parent, name ? name : "KDevCppSupport" ), m_backgroundParser(0), m_activeDocument( 0 ), m_activeView( 0 ), m_activeSelection( 0 ), m_activeEditor( 0 ), m_activeViewCursor( 0 ), m_projectClosed( true ), m_projectClosing( false ), m_valid( false ), m_isTyping( false ), m_hadErrors( false ), _jd(0) @@ -1705,7 +1705,7 @@ void CppSupportPart::slotNeedTextHint( int line, int column, TQString& textHint { while ( node && node->nodeType() != NodeType_FunctionDefinition ) - node = node->tqparent(); + node = node->parent(); if ( node ) { @@ -1747,7 +1747,7 @@ void CppSupportPart::MakeMemberHelper( TQString& text, int& atLine, int& atColum { if ( currentNode->nodeType() == NodeType_Declarator ) declarator = ( DeclaratorAST* ) currentNode; - currentNode = currentNode->tqparent(); + currentNode = currentNode->parent(); } SimpleDeclarationAST* decl = currentNode ? ( SimpleDeclarationAST* ) currentNode : 0; @@ -3136,7 +3136,7 @@ TQString CppSupportPart::findHeaderSimple( const TQString &header ) return TQString(); } -UIBlockTester::UIBlockTesterThread::UIBlockTesterThread( UIBlockTester& tqparent ) : TQThread(), m_parent( tqparent ), m_stop(false) { +UIBlockTester::UIBlockTesterThread::UIBlockTesterThread( UIBlockTester& parent ) : TQThread(), m_parent( parent ), m_stop(false) { } void UIBlockTester::UIBlockTesterThread::run() { -- cgit v1.2.3